Discussion Locked

How to schedule tasks in VB?

0 helpful
1 reply
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I want to schedule a task using windows task scheduler in VB6. How do I go about doing it? I want a particular report to be generated at say, 6:00 in the evening. How do I solve this one?

1 reply

by dryflies

If you can determine the command line that runs your report, use the AT command or the scheduled tasks wizard to run the task at a scheduled time. If the program that runs the report has an active X interface you can use VB to set the object properties and then execute the method that triggers report generation. without more info it is difficult to tell which way yu should go.

This discussion is closed to new replies.