Last post Oct 29, 2013 09:43 AM by Rajat
Oct 29, 2013 06:49 AM|my407sw|LINK
If I use ado.net access large db, the UpdateProgress work find and good, but if I do Process.Start like
Process p = new Process();
p.StartInfo.FileName = "cmd.exe";
string strCmdText = " /C dir c:\\windows /s";
p.StartInfo.Arguments = strCmdText;
p.StartInfo.CreateNoWindow = true;
p.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
p.EnableRaisingEvents = true;
the UpdateProgress will not show anything ! What Can I do ?
Oct 29, 2013 09:43 AM|Rajat|LINK
You need to write p.waitforExit();
I think this may help you.