Software Development Network Logo
  • Visual Basic
  • Windows Vista
  • VS Team System
  • Windows Forms
  • Game Technologies
  • Visual Studio
  • Visual FoxPro
  • Visual C#
  • IE Development
  • SQL Server
  • Smart Devicet
  • SharePoint Products
  • Microsoft ISV
  • Visual C++
  • Audio and Video

Software Development Network >> rivers's Q&A profile

rivers

Member List

Gerard Sayers
Ryan G
TheMadMonk
favio
Will8754
I am me
oceanhai
Gamaliel Isaac
Alex Prado Romero
RayRay1039
dakota367
AlucardHellSing
Serge_OD
idoprz
RobertMC
Builty
Pankaj11
songsmyth
ggolub
Mark J.
Only Title

rivers's Q&A profile

  • .NET Development Problem with List<>

    Hi, I have a list of type ParseInfo...it's a class of properites. The List is called PitzuParseInfo. So it's List<ParseInfo> PitzuParseInfo; After every iteration of a loop I add the instance of this class 'm_parseInfo' to the list.... PitzuParseInfo.Add(m_parseInfo). My problem is after every iteraction of the loop ALL my entries in the List are equal to the last iteration...i.e after 6 iteractions PitzuParseInfo[0],[1],[2],[3],[4] are identical to [5]. They should all be unique. It's like they are being added by reference. Can anyone help Hi, Probably you are missing a "m_parseInfo=new ParseInfo();" in your code, resulting in changing the same object instance. ...Show All

  • .NET Development Best/fastest way to save a large DataTable a database?

    Hey, Whats the best way to save a rather large DataTable to a database It consists of roughly 60 columns and 15 thousand records (6MB of raw text). I was thinking of using a stored procedure but would that give any performance increases on an operation like this Thanks! Regards, Weiran. So I can't pass greater than 10MB into the sproc at one time Thats fair enough 10K records roughly equals 10MB and that works fine. Do you have any ideas to my other question Which was how to stop it overwriting on insertion Thanks. ...Show All

  • Game Technologies: DirectX, XNA, XACT, etc. Converting images to Pipeline without XNA Game Studio?

    Is there a tool available to convert / view XNA Pipeline files Reason being, is that the person doing the art would generally want to try changes images etc.. without having to have Express installed etc... I'm probably beating him to the punch but Shawn Hargreaves wrote a wonderful blog piece about just this idea last night. Basically, there is an MSBUILD task to convert images to the XNB format. Therefore, you could write a converter or content builder to provide a GUID for your content developers or you could just have them monkey with XML MSBUILD Files.... Here's the full post: http://blogs.msdn.com/shawnhar/archive/2006/11/07/build-it-ahead-of-time.aspx Here's what an example XML MSBuild file wo ...Show All

  • .NET Development Concurrency Violation When Updating MS Access Db

    I am working on a VB .Net 2005 application with a MS Access database backend. I am able to add a new row to a datatable via a DataGridView control. After invoking the Update method on the TableAdapter, I have verified the new row is written to the Access database with the values I've entered. This problem is I get a concurrency violation error when attempting to save (update) a subsequent edit of the newly added row. I am the only person making edits to this database. This row does contain an autonumber field. Making the TableAdapter.Fill call again to refresh the datatable after initially adding the row corrects the problem, but seems inefficient and causes the selected item in the grid control to be reset. I suspect I need to refresh my ...Show All

  • Visual Basic How do I format user input (1 shows up as 001)

    I need to know how to convert numerical data so it always shows up in the format of 001,002, 003, 004, etc. when a user enters 1, 2, 3, 4, etc. Using VB.NET 2003, how do I write the code to convert it like this Thanks. Hi Irishman, Did the posts resolve the problem If so mark the post(s) that helped you as the answer(s), so when others search the forums, they might be more inclined to look at a successful post than a non successful one... Or post why it failed for you. Thanks. ...Show All

  • .NET Development vfpoledb & cdx > dbf problems

    When I try to open, (i.e. join), .dbf files using vfpoledb and there are .cdx files present in the free table directory. It will not work. I get a prompt for a 'convcpp.prg'. This must be a run-time expression compiler or something. I am using C# over FoxPro and VFP tables. When I copy the .dbf and .fpt files to another directory, then I have no problem with the vfpoledb data access. I don't get these prompts with the ODBC drivers. Is there a way to specify in a connection string for vfpoledb to ignore .cdx files A read-only scenario for my vfpoledb connection would suffice for now... and what are those prompts for .prg I've never used FoxPro or VFP. My problems show when I try to query with joins, which is what the .cdx files concern t ...Show All

  • Windows Forms Windows Error while running under ClickOnce - runs fine as stand alone app

    Hello, I have developed an application that I deploy using ClickOnce, and it works great everywhere, except on one machine. In that machine, if I try to run the ClickOnce-installed app, it starts and suddenly I get a Windows error dialog and my app ends. I have checked the event log and there is an error on the .NET Runtime 2.0 Error Reporting, with event ID 5000 and the following details: EventType clr20r3, P1 sic.client.exe, P2 1.0.0.313, P3 44ebbbab, P4 system, P5 2.0.0.0, P6 4333ae87, P7 575, P8 1d, P9 n3ctrye2kn3c34sgl4zqyrbfte4m13nb, P10 NIL. If I go and look for the Sic.Client.exe file in C:\Documents and Settings\User\Local Settings\Apps\2.0\...... and run it, my app works just fine, but if I run it through the .ap ...Show All

  • SQL Server print version

    I have created a report which contains grouping.  Yesterday I learnt how to add a boolean paramter to expandAll.  Now in my ASP.Net front end I am using ReportViewer to retrieve the report... Now I want to introduce a "Print Version" and "Normal Version" (print version being all rows showing (expanding all grouping) and normal being groups showing.... Will this work Use javascript to create to div... 1 showing ReportViewer1 where expandAll parameter is true and div 2 containing ReportViewer2 where parameter is false...a radiobutton conrolled by javascript code will hide 1 div and show the other !  For some reason it doesnt load the report in ReportViewer2 !   Please help! Thanks!!! ...Show All

  • Visual Studio Express Editions Installing VB+

    When I try to install it it says there is an error in downloading the Network thingy. Ive done everything the trouble shooting has told me to do and also has not network thing or I have downloaded that uninstall thing Please help dragonkai2000@hotmail.com Can you try installing from the manual download and see if that fixes your error http://msdn.microsoft.com/vstudio/express/support/install/default.aspx ...Show All

  • Visual Studio Team System Custom or third party project-types in Team System

    Hi, I ran into the following on CodePlex: I have a WiX project in my solution to create an MSI setup for my product. I am using Votive which adds an extra project type to VS. Codeplex does not accept this project. Is there any way to get this project in to the CodePlex repository Thanks This is an open issue on the CodePlex issue tracker: http://www.codeplex.com/WorkItem/View.aspx ProjectName=CodePlex&WorkItemId=3251 You can add a comment this this issue to voice your requirements. Jim Lamb Team Build PM ...Show All

  • Visual C++ ConnectEx (WinSock) question

    I can't seem to find an appropriate forum for my question, this ones description indicates that libraries are "on topic", so I hope that a WinSock related question is appropriate here. If not, my apologies. I am using the WinSock extension function ConnectEx in my networking service application that I have written. I recently ran into a situation in which the asynchronous ConnectEx was not completing (I'm using i/o completion ports) in a reasonable amount of time because the remote machine had a firewall enabled that was blocking my attempted connection. The question I have is, what failure condition should I expect in this case When I use normal sockets "connect", I can make it non-blocking and then time out after som ...Show All

  • .NET Development Missing msvcr.dll -- FOUND!

    Greetings! I got tired of seeing the "missing msvcr.dll" for 10 files when I scanned Norton's WinDoctor & One Button Checkup.  www.dll-files.com   doesn't have, as recommended by other posts --  -- So, I decided to run SEARCH to see if it was on my computer -- somewhere else.  And, IT WAS!  I found in  c:\WINDOWS\WinSxS\..... folder So, I copied & dropped into the c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727 NOW, NO MORE ERRORS OF MISSING FILES !! My question is -- WHY CAN'T MICROSOFT POST THIS MISSING .DLL FILE SO PEOPLE CAN INSTALL IT People are posting all over these boards about this missing file !!  They are having to go all over the internet to get a file tha ...Show All

  • Visual Basic Commanding a Click Event

    I have a windows form application developed in vb.net 2003. The application uses a mainmenu and contextmenus. I am interested in how to expand one of my mainmenu menuitems by command rather than physically clicking it. For example, if I have a mainmenu control on my form with 5 menuitems: item1, item2, ---,item5 across the top of my form. How can I from a botton click event, command the item2 menu items to automatically expand and show the available submenu items as if I had clicked on item2 on the form Thanks, I don't know an easy way to expand a menu... You can use SendKeys to simulate the key press action and expand menus... so SendKeys.Send( "%" ) <--- Simulate ALT key that activ ...Show All

  • Visual Studio Tools for Office Delete a range in VSO

    I would like to delte a range of a certain column. What is wrong with this code The Delete method takes an optional parameter according to MSDN documentation but in this case it is mandatory. Any ideas Thanks ! Excel. Range col; Object skift= null ; Object ret = null ; col = range.Columns[1, Constants .missing] as Excel. Range ; ret = col.Delete(skift); As Misha replied C# does not support optional paramentrs. Instead, in C# you need to pass System.Type.Missing. VSTO projects already create for you the 'missing' object which you can use. e.g ret = col.Delete(missing); Thanks, Mei ...Show All

  • SQL Server Convert from Number to Text- Exporting to Excel from SQL Reporting services 2000

    I was trying to export a report which contains a number format. When I do that, all the numbers in excel will have a green small tag beside it saying "Convert from Number to Text". Is there anyway that I can change the format to a number when I export it to excel Set the Format of TextBox as C2. Where C2: convert to Currency with 2 decimal places. If some of column has Percentage so u can use for this is P2. Where P2: convert percentage sign with 2 decimal place. This is work definately!!! thanks ...Show All

©2008 Software Development Network