>Hi all!
>
>Is there a way you could run a program when windows first statrt form shutting down or restarting.
>
>If so, How?
>I appreciate your help.
Using NT or Windows 2000 ? Then you can create a service. The service can start when Windows start.
Check this page
www.gvbm.org/historique.htm and search for "service", you'll find a Zip file with a free OCX for creating a service with VB altough I recommend the service creation tool from Desaware :
www.desaware.com