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?
 

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

Back
Top