WinForm App seems to prevent logoff and shutdown

  • Thread starter Thread starter Chris Newby
  • Start date Start date
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//
 
It looks like your application doesn't want to quit.
We need more info to be able to give some tips...
 
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.
 
Back
Top