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

Kicking off scheduled tasks

Status
Not open for further replies.

levinll

Programmer
Oct 29, 2001
65
US
Is there a way to launch a VB application so that only specific code gets run as part of a nightly scheduled job ? I'm coming from a MS Access world where Access had macros that you could launch by making the macro name an argument when you ran Access.

Thanks
 
Compile your VB program to an EXE.

In your code, check the Command$ system variable. This contains any arguments to the program.

Chip H.
 
Sounds good. My only question is how do you check the Command$ system variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top