Process.Exited Event Not Getting Trapped

G

Guest

Is this a known bug?

Sub RunCalc()
dim P as new Process
P = Process.Start("calc.exe")
addhandler P.Exited, Addressof DoneCalculating
End Sub

Sub DoneCalculating(sender as object, e as eventargs)
msgbox "Done"
end Sub

Closing Calc.exe does not fire the DoneCalculating event...?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top