Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Executing VB app when shutting down

Status
Not open for further replies.

Bloobird

Programmer
Oct 23, 2001
49
GB
Hi - I want to be able to run a timesheet application when a user logs off or shutdown down their machine (To remind them to enter details if they forgot) - Is this possible ?

Thanks
 
You could have an App, that starts up with the system and runs as a service in the background. Then when the user logs off it will close or shut down the service. In the services unload procedure have it pop-up a message box that says "Have you done yout timesheet" If they choose Yes, it will close, If they choose no, you will have to enter code so that it stops windows from shutting down and opens the time tracking app. Craig, mailto:sander@cogeco.ca

"Procrastination is the art of keeping up with yesterday."

I hope my post was helpful!!!
 
This sounds good - any ideas how I'd go about doing it ?

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top