PM2k's Q&A profile
.NET Development Inserting large amount of rows using ADO.NET
Hi , I have a requirement to read rows from Table A on Server A and insert into Table B on Server B. Unfortunatley, Server A and B are not linked , so i can't use a Insert SQL to do the inserts. I am thinking of reading rows from Table A and inserting into Table B using ADO.NET. My question is : 1) Is there a way in ADO.NET 1.1 to do bulk inserts The insert will be done by a stored procedure , but I don't want this Stored proc to be ca ...Show All
Visual Studio Team System Tesing non-web applications
Hi, I am new to VS2005 Team Edition and my company has a non-web application, say a windows application. How do I test that kind of application Thanks in advance, Netra. See the following post http://forums.microsoft.com/MSDN/ShowPost.aspx PostID=116087&SiteID=1 Thanks, Rick ...Show All
Windows Forms Signing the Assembly Manifests
I am getting this error at Install time: PLATFORM VERSION INFO Windows : 5.1.2600.131072 (Win32NT) Common Language Runtime : 2.0.50215.44 System.Deployment.dll : 2.0.50215.44 (beta2.050215-4400) mscorwks.dll : 2.0.50215.44 (beta2.050215-4400) dfdll.dll : 8.0.50215.44 (beta2.050215-4400) dfshim.dll : 2.0.50215.44 (beta2.05 ...Show All
SQL Server FOREACH Loop Container: Continue ?
With a ForEach container, configured to loop through files in a directory, if I have a problem with a file.. can I direct the loop to skip on to the next file I'm processing structured files, first record of each is some header info, body records are in the middle, and then the last record is a trailer containg a checksum So, for each file in the directory, I split the records into three raw files, one for header rec(s) , one for ...Show All
SQL Server Certificate creation problem
Hello to all I have two SQL 2005 server and I want to start mirroring a database. Since there's no windows domain I'm trying to use certificates to grant connection between servers. At this point I find some difficulties... I've read on MSDN that 'active FOR begin_dialog = ON ' option must be specified; look at the code below, when I execute I get following error: Msg 156, Level 15, State 1, Line 8 Incorrect syntax near the keyword 'FOR'. ...Show All
Visual Studio Crystal Reports XI and Visual Studios 2005 Questions?
OK I have read a lot of post here that lead me to believe CRXI is not compatible with Visual Studio 2005. Or should I say not till CRXI r2 comes out in which case it will support VS2005 .net Framework 2.0. On a Project that is updated to VS2005 from VS2003 and CRXI for the most part went very smooth. Except and for me this is major CR Version is 10.2.3600.0 in VS2005 where as it was VS2003 it is Version 11.0.3300.0 for me. Ok fr ...Show All
Game Technologies: DirectX, XNA, XACT, etc. Pass int array to the pixel shader
I want to pass an int array to the pixel shader. I used SetIntArray(name, val)..the problem is that in the shader I do not know the exact size of the array, therefore in declaring it i am trying to use an int *. It seems as if the compiler does not like this. Is is it possible to use pointers in the shader If not how can I pass a variable length array to the shader can someone give me an example of the usage of this function ...Show All
.NET Development How to publish website created using Visual Web Developer 2005 Express Edition
Hi Everybody! I created my website using Visual Web developer 2005 Express Edition on my local machine.My database stored on Sql Server 2000 and My web site stored on another Server. Now i like to publish my website.I also have one server having IIS. Any one can please help me how to publish my website for intranet purpose.This web site is used by internal staff within one building. Thank you Kirti email:kirtimistry2001@hotmail.co ...Show All
Smart Device Development Emulator is infact X86 for VS2003?
Could anyone confirm that the emulator in VS2003 isn't actually emulating an ARM processor, but infact emulating the PPC environment on an x86 This would mean if I am running platform specific code (dll) that I must have a specific version compiled for the emulator as well as for the ARM. What's the best way to handle deployment of these different versions at the time of DEBUG/BUIlD. Is there a technique to handle this Thanks. ...Show All
Windows Forms getting windows xp app close buttons...
Hi, Is there any way I can show the windows xp maximize, minimize and close buttons, any other place inside my form Thanks ...Show All
SQL Server Matrix report; how can I repeat the rows items values?
Hi, I cannot find a way to repeat the rows items values. My matrix report is pretty much like a pivot table however, I need the rows items to be repeated. I need to use the matrix report since I do not know in advance the number of quarters. the real life report has 24 columns and will be used to create a pivot in Excel. Thanks Philippe example: Quarters Region Country Q1 Q2 Q3 Americas USA 44 55 66 Americ ...Show All
SQL Server DTS - Invalid Pointer
How can I debug this issue since the SP works ok but when it tries to send out to a text file (using the Text Destination) I gety this I have tried this also and sometimes get the same results. Do we have to create the file beforehand in Notepad with no content Does it have to be deleted each time before running the package to force the package to create it each time Do we need to create a share on the drive and ...Show All
Smart Device Development FillMethod Problems With SQL Mobile
Hey Everyone, I'm having some major issues with a FillMethod I am using. I have a VB2005 project with a SQL Mobile datasource. I am trying to fill a grid with a list of customers by last name. There is a button on the form for each letter of the alphabet. The click event code is below: ********************************************************************************************* Private Sub btnA_Click( ByVal sender As System.Object, By ...Show All
Smart Device Development .NET Conversion problem
Hi. I have a .NET 1.1 project which works great. I want to convert this to .NET 2.0 (both CF) I have a UI problem here. In my project I have events and delegates on the main UI. in .NET 1.1 I get no errors, everything works fine - I also get no errors from the UI Designer in VS2003 When converted to .NET 2.0 in VS2005 (yes I did update the framework/platform in the project after the VS2003 project conversion to VS2005) - I get ...Show All
Smart Device Development Updating UI from thread: Control.invoke()?
Hi, I'm experiencing some difficulties writing my first application for pocketPc. The program should run on a dell axim x51v with windows mobile 5.0. (I'm using vs2005 professional.) The application uses threads to write messages (from the program itself and streams) to the screen in a listbox (lstStatus). I know how to add items to a listbox (which is quite trivial), but I can't figure out how to do this from within a subthread. Here's some cod ...Show All
