Question : proc.WaitForExit quit working

I have a c# windows application written in VS2005 that has worked fine for years.
When a person clicks a fax in the grid, the following code runs and opens the fax in Adobe Professional.  Nothing else happens until the user closes Adobe.

I upgraded one user from Adobe Prof. 6 to Adob Prof. 8 yesterday and for some reason after the pdf opens now, it does not WaitForExit on this machine.  It just keeps going thru the code. I have Adobe 8 on a few other computers and they have not had this problem.  Any ideas???

System.Diagnostics.Process proc = new System.Diagnostics.Process();
proc.EnableRaisingEvents=false;
proc.StartInfo.FileName="c:\\temp\\temp.pdf";;
proc.Start();
proc.WaitForExit();

Answer : proc.WaitForExit quit working

its not the code... Your adobe install did not complete properly. you need to un-install and re-install
 
Random Solutions  
 
programming4us programming4us