Using the Process and ProcessStartInfo classes in System.Diagnostics you can
retrieve the process id after you are done, and you can monitor that process to
see when it has closed using the same classes. Specifically there is an Exited
event that you can hook.
--
Justin Rogers
DigiTec Web Consultants, LLC.
Blog:
http://weblogs.asp.net/justin_rogers
"Ruslan" <ru*********@hotmail.com> wrote in message
news:%2****************@TK2MSFTNGP14.phx.gbl...
Hi,
I open a word file using ShellExecute. But I have to know when the open file
is closed. How could I know this? Is it possible or not?
Thanks in advance,
Ruslan