closing window out of Main procedure
Posted on 2003-10-23
I need to run a program that I created in VB nightly. What I would like to do is run my Main procedure with the necessary code in it.
I'd like to open up a form that pops up on the screen while the code is running in the background under main and then when the main routine is ended, automatically close the form open and end the program.
Seems like my window pops up, code runs successfully and the window stays up on the screen.
Any ideas how I can auto-end that window when the main procedure ends?
Thanks in advance.