Basically, right now I'm trying to open up Adobe Acrobat
Reader from a Windows App but if one is already open an
execption is thrown so in order to get around this I check
if the process is already running and if so tell the user
to close the app. I should be able to just add another
thread to the process to overcome this right?
This is the current code I have for opening the app:
System.Diagnostics.Process myProcess = new
System.Diagnostics.Process();
myProcess.StartInfo.FileName = System.IO.Path.Combine
(System.IO.Path.GetTempPath(),
objSelectedDocument.DiskFileName);
myProcess.StartInfo.WindowStyle =
System.Diagnostics.ProcessWindowStyle.Maximized;
myProcess.Start();
Any help would be appreciated,
Joe