|
OK, first of all, when you build an exe, it's NOT called a service pack.
Second, if it doesn't run in vista, you need to work out at what point it fails, and then you can work out why.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
hi wen i ran that application ..its showing one dialog msg.actually this was partially developed C++.
Debug Error!
Program: C:\program files\driv\j21.4.2\bin\javaw.exe
Module :\citi\apps\EDCJNI.dll
File:
Run-Time Check Failure #0-The value of ESP was not properly saved across a function call. This is usually a result of calling a function declared with one calling convention with a function pointer with a different calling conversion.
what kind of error this!!please tell me how to solve it!!?
*****THANKS N ADVANCE****
Mathen.K
(I WILL TRY MY LEVEL BEST )
|
|
|
|
|
Read this[^] to understand how I found answers here[^].
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi,
I am using client server architecture. I want to stop or start some process which is running on Client Machine.
How can I do this?
Regards,
sjs4u
|
|
|
|
|
Server should send messages to client. Client should listen on some port for the messages. Client can interpret the messages and start/stop respective processes. Alternatively, you can use remoting, AFAIK.
|
|
|
|
|
hi
how can i load 1,000,000 records to access in the fastest way ?
i'll try:
int End = dsView.Tables["BarcodTbl"].Rows.Count;
int i;
for (i = 0; i < End; i++)
{
Cmd.CommandText = "INSERT INTO BarcodTbl(Code,Barcode,numH) VALUES('" + dsView.Tables["BarcodTbl"].Rows[i][0].ToString() + "','" + dsView.Tables["BarcodTbl"].Rows[i][1].ToString() + "','" + dsView.Tables["BarcodTbl"].Rows[i][2].ToString() + "')";
Cmd.ExecuteNonQuery();
}
but it take over 20 minutes
thanks
|
|
|
|
|
I am not sure, but try creating insert statements inside the loop and execute it after the loop finishes. So you are opening only one connection and doing bulk insert.
|
|
|
|
|
thanks for the help
can i get any sample code for this ?
|
|
|
|
|
E_Gold wrote: can i get any sample code for this ?
StringBuilder sb = new StringBuilder();
for (i = 0; i < End; i++)
{
sb.Append("INSERT INTO BarcodTbl(Code,Barcode,numH) VALUES('" + dsView.Tables["BarcodTbl"].Rows[i][0].ToString() + "','" + dsView.Tables["BarcodTbl"].Rows[i][1].ToString() + "','" + dsView.Tables["BarcodTbl"].Rows[i][2].ToString() + "')");
}
Cmd.CommandText = sb.ToString();
Cmd.ExecuteNonQuery();
|
|
|
|
|
The Sample Code is not working, whay ?
|
|
|
|
|
Do it once, then copy the Access file. If you have to insert a million records into Access regularly, then something is seriously wrong with your design.
|
|
|
|
|
I think this is impossible to solve. Access is not built to handle this amount of data. You might get it to work slightly slower, but don't expect miracles.
The solution suggested using bulk adding will use loads of memory. If you plan to use it, watch the memory usage, or split it up in chunks of 10 000 rows or something.
|
|
|
|
|
In your example the command gets parsed for each row; use a parameterized command.
Before the loop, set the command and add the parameters.
Inside the loop, set the values of the parameters and execute the command.
This way the command is only parsed once.
I also wonder why you use for rather than foreach .
|
|
|
|
|
Hi,
I am new to crystal reports ...I want to pass a string value to a field
in a report...
and a data bounded value to another field
Please tell me how to do this
Thank You
*** Why EXPERTS behave like a fool ***
|
|
|
|
|
Hi All,
I want to develop ludo board game application with following feature.
It will be a multi user application where user can play from his desktop.
One server multiple user architecture
User can play from his home,cafe or under proxy server(college campus)
whenever user do his part it should be reflected to every user desktop.
Game rules and procedure must be exists on server for security.
Wht is it?
Smart client application
Dot Net Remoting
Web Services
Pl give your comments/suggestions /example
Thanks for everything.
|
|
|
|
|
The answer to this question would be huge. There are quite a few articles available on how to make client server applications for chat etc. Maybe you should consider doing some research on your own before asking?
|
|
|
|
|
is it a bad thing inside a catch block within a while block? an example would be a catch block that skips a counter++ line if it encounters bad data.
TIA!
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
I don't see why, although I'd do the ++ at the end of teh try, and then it gets skipped by the catch
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
thanks. if i widen my try{} block though to include the counter++ i would be including more code than i should? (i.e. i only want to catch exception from the current code block.
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
The try is to protect that other code too; it means "I want to do these things, but not of there's a problem."
So, yeah, putting a continue in a catch is likely to be poor style.
Do it if a really need to, but it should not be your usual tactic.
In the case described, it's simpler to put the increment in the try rather than after.
|
|
|
|
|
It should be ok. I often find that it takes some extra time to catch an error rather than checking the data by other means. This means that if errors are frequent you might be better off checking the data for errors rather than relying on error catching.
|
|
|
|
|
thanks, it is for rare exceptional data. cheers!
I am a SysAdmin, I battle my own daemons.
|
|
|
|
|
im a computer science student, i want to write a program on video conferencing using c# and my C# programming level is very basic. I would like to know if its possible to finish it in a month and i would also like to know what C# topics i should be reading and what other resources i might need for the program.
|
|
|
|
|
Start here[^].
I suspect if you want to write a video conferencing program, you don't know much C#, and you don't know how to do any research, the answer to your question is no, sorry.
Christian Graus - Microsoft MVP - C++
"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )
|
|
|
|
|
Hi i have one doubt regarding creating a object. i refer in google and asked about this from my friends. But i didn't get clear answer from all these sources. I need exact difference between these two. Please can any one can help on this. Dont treat this as a basic question. But it doesn't have exact answers any where.
I have one class name as Employees. Now i want to create an object for this class. what is the difference between the below two?
1. Employees obj;
2. Employees obj = new Employees()
G. Satish
|
|
|
|