Environment.Exit will terminate the app in a manner the runtime considers to
be graceful. Process.Kill() will terminate the associated app (usually a
different app) instantly and not gracefully. There are side-effects to
exiting the app by using one of the APIs that directly command the runtime
to terminate the app. Finalizers will run but finally blocks will not.
"Peter Schmitz" <Pe**********@discussions.microsoft.com> wrote in message
news:9D**********************************@microsof t.com...
Hi
how can I kill my own process out of a VB.NET machine (in another way than
Application.Exit())?
Thanks
Peter