App not closing

  • Thread starter Thread starter Kevin Hood
  • Start date Start date
K

Kevin Hood

Drew:

I don't know if this will help but if you have your main
Form's "ControlBox" property set to "true" but
the "MinimizeBox" property set to "false" (default
is "true") then the top left "X" icon is replaced by
an "OK" icon which shuts down the application when
clicked instead of just minimizing it and leaving it
running.

Kevin
 
You must stop the background thread. Threads manually started will keep the
process alive.

Rather then try and kill the thread you would be better off using a boolean
field to signal that the background thread shut itself down.

Jim Wilson
http://www.develop.com
http://www.jwhh.com
 
Yes, that was it. I killed the background thread and it's closing cleanly
now.

Thanks.

Drew
 

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