Force unloading

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

Is there any way to force my VB.NET application to unload itself regardless of any running threads? Of course, this can mean data loss, but is there any way to kill my own process immediately

Thank
Sam
 
I don't know if that's what you're looking for but there is :

Form app :
Application.Exit() : shut down the message pump
Console app :
Process p = Process.GetCurrentProcess();
p.Kill();

Yves

Sam Johnson said:
Hi,

Is there any way to force my VB.NET application to unload itself
regardless of any running threads? Of course, this can mean data loss, but
is there any way to kill my own process immediately?
 
Back
Top