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

how to test module 1

Status
Not open for further replies.

ksbigfoot

Programmer
Apr 15, 2002
856
CA
I have been asked to write a program that will be called from the windows scheduler every night. How would I test the module I am writing without setting up a windows task scheduler?
 
I might not understand the question completely, but you would just be writing a command line program, and in that case, you would just debug it like normal from within Visual Studio.
 
Howdy RiverGuy,
I gave you a star.
I should of added more detail to my question.
From within Visual Studio, I wanted to run the module without running it from the command line. I didn't see the option of picking the module from the Startup object of my project. I unclicked the Enable application framework and my module name showed up as an option to select for my Startup object. I selected it as an option and now when I run my project, the module is running successfully. I just have to figure out how to call it from the command line now (I am assuming just publish my project and from the command line run the .vb file.
Thanks again,
ksbigfoot
 
Typically, your startup object is Sub Main, which is the Main procedure in your module for a command line program.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top