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,741 of 10,840   
   Frank Adam to nicoglycerine@tlb.sympatico.ca   
   Re: Info with system tray apps   
   10 Nov 05 10:27:46   
   
   XPost: comp.lang.basic.visual, comp.lang.basic.visual.misc, micr   
   soft.public.vb.general.discussion   
   From: fajp@xxxxoptushome.com.au   
      
   On Wed, 9 Nov 2005 18:08:18 -0500, "Nicolas Poirier"   
    wrote:   
      
   >I successfully made a system tray application.   
   >When I do shut down the computer, how does the computer can instruct my   
   >application to shut down?   
   >For the moment, if I don't quit my application, system asks to kill an   
   >unresponsive task before shut sown.   
   >How does I make shut down run more correctly?   
   >   
   >Thank you   
   >Nicolas Poirier   
   >   
   Are you cancelling your program's shut down in any way ? Perhaps in   
   QueryUnlaod ?   
   If so, make sure that you trap the system shutdown. Look in the help   
   file for the UnloadMode passed into that event and it's meanings.   
   You should yield when the request comes from task manager and system   
   shut down; clean up, unload all your Forms, trayicon, objects, timers,   
   etc.. and finally your main form.   
      
   --   
      
   Regards, Frank   
      
   --- 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