B
Bob Trabucco
Hello all,
Here is my delemma...
Dim objProcess as System.Diagnostics.Process =
System.Diagnostics.Process.Start(x)
With objProcess
.WaitForExit()
.Close()
End With
Works great in most cases. It opens up the document in the associated
program and waits for it to exit - just like I need it to.
Now the problem. I try to use this to open up a Microsoft Word Document. I
have Word already running or Outlook or some other program that uses Word.
The Start returns Nothing because it just attached to a running process! My
application really needs to know when the user is done with the document.
Anybody know of a way I could determine they closed the document if the
system just used and existing process?
Thanks in advance,
Bob
Here is my delemma...
Dim objProcess as System.Diagnostics.Process =
System.Diagnostics.Process.Start(x)
With objProcess
.WaitForExit()
.Close()
End With
Works great in most cases. It opens up the document in the associated
program and waits for it to exit - just like I need it to.
Now the problem. I try to use this to open up a Microsoft Word Document. I
have Word already running or Outlook or some other program that uses Word.
The Start returns Nothing because it just attached to a running process! My
application really needs to know when the user is done with the document.
Anybody know of a way I could determine they closed the document if the
system just used and existing process?
Thanks in advance,
Bob