Do you have a long processing loop that you call Application.DoEvents in?
I've made this mistake in the past. What I've done is in the form's close is
set a flag that the form is closing and break out of the loop when the flag
is true.
--
Thanks
Wayne Sepega
Jacksonville, Fl
Enterprise Library Configuration Console Module Generator
http://workspaces.gotdotnet.com/elccmg
"When a man sits with a pretty girl for an hour, it seems like a minute. But
let him sit on a hot stove for a minute and it's longer than any hour.
That's relativity." - Albert Einstein
"emr" <em********@ultratv.net> wrote in message
news:us**************@TK2MSFTNGP15.phx.gbl...
Hi, after pressing the close button of the form, it disseapers but when i
look in task manager its still there. Any ideas? Thanks