If there are threads running you have to close them all properly.
Maybe you have a socket open?
Make sure you hae something like
Socket.close()
Thread.abort()
before you close your app.
M.
"wanwan" <er*******@yahoo.comwrote in message
news:11*********************@a75g2000cwd.googlegro ups.com...
>I have a few programs written that can't be closed completely.
I click on the 'x' and the form closes, but the program still shows
in task manager. I tried using Application.exit() in form_closing
event and it didn't work.
any suggestion please