WinForm App seems to prevent logoff and shutdown

C

Chris Newby

I wrote a small winform app that is designed to launch at startup and be
accessed via a system tray icon (notify icon). The application is fairly
small and simple ... it connects to a database and moves files around the
local network.

Running on Windows XP, if my app is running and I choose either shutdown,
restart, or logoff Windows doesn't appear to be doing anything. If I close
my application and then choose shutdown, restart, or logoff everything works
as normal.

I haven't a clue what to look at or what might be going wrong ... so any
help is apreciated.

TIA//
 
L

Lloyd Dupont

It looks like your application doesn't want to quit.
We need more info to be able to give some tips...
 
G

Guest

Does you application use app domains as when they are asked to close and
dont, they are given 40 seconds to shutdown or be terminated. Maybe they
arent closing thats delay the shutdown rather than preventing it.
 

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

Top