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 Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

scheduling a program 2

Status
Not open for further replies.

shaminda

Programmer
Jun 9, 2000
170
US
How do you automate a VB program? Basically there is a VB program that runs every morning. All I do is run the exe and click two buttons to load some data. It takes about 40 minutes to run it. How do I schedule it run every morning and press the two buttons automatically?
 
Most versions of windows have a built in task scheduler. Check in the bottom right side of your task bar for the "Task Scheduler" Program...then simply place the program in the scheduler and edit your program to contain an OnLoad function to preform the same actions the buttons would have...Hope I helped ;)

rob
 
If you don't see it the task bar look in control panel.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top