starting a process and monitoring that process

  • Thread starter Thread starter Mike Fellows
  • Start date Start date
M

Mike Fellows

Hi,

If i start a process using
System.Diagnostics.Process.Start(myprog.exe, myattributes)
is it possible to monitor that process from code so that i know when it has
completed/closed?

Thanks

Mike
 
Mike Fellows said:
Hi,

If i start a process using
System.Diagnostics.Process.Start(myprog.exe, myattributes)
is it possible to monitor that process from code so that i know when it has
completed/closed?

Dim PRC as System.Diagnostics.Process

PRC = PRC.Start(myprog.exe, myattributes)



prc.HasExited when is true the process i terminated ...


--
Ciao

::M:a:r:c:o:::P:e:s:c:e::
(e-mail address removed)
per contatti PVT elinimare NOSPAM
 
Worked Perfectly

Thanks


::P:e:s:c:e:::M:a:r:c:o:: said:
Dim PRC as System.Diagnostics.Process

PRC = PRC.Start(myprog.exe, myattributes)



prc.HasExited when is true the process i terminated ...


--
Ciao

::M:a:r:c:o:::P:e:s:c:e::
(e-mail address removed)
per contatti PVT elinimare NOSPAM
 
Back
Top