home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.lang.visual.basic      MS Visual Basic discussions, NOT dot-net      10,840 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 9,901 of 10,840   
   Jason S to All   
   Detect Log Off or Shut Down process (XP)   
   17 Feb 06 22:11:30   
   
   From: jst3712@iprimus.com.au   
      
   Hi there,   
      
   I created a simple VB app that runs in the background that I now need to   
   detect when Windows (XP with SP2) is just about to Shut Down OR the user is   
   Logging Off.  Is this possible?   
   I require my app to either pause the shutdown/log-off process for a few   
   seconds whilst it does something important (it's a security thing).  As soon   
   as its finished, Windows should resume logging off the user and/or shutting   
   down.   
   Thanks in advance.   
      
   Jason.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca