Automatically close a program after running
Posted on 2004-08-27
I wrote a VB program, and the process goes like this:
Actually after cmdActivate_click I would like the program to just close up, but I realize as I put the click event under the Form_load, although on activate the program it will automatically run the functions under the click event, but after it is comleted, the form will show up in the screen.
I'm planning to put this program in a server and let it automatically run every nite, so nobody will be there to close this program. How can I make it close?