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

Program Monitoring (Preventing Multiple Instances)

Status
Not open for further replies.

progolf069

Programmer
Jun 13, 2001
37
US
I was wondering if Visual Basic supports any type of program monitoring. The program that I am developing is a main menu system that shells out (executes or calls) to other programs. What I am wanting to do is prevent two instances of the same program from executing.

Example: One of the menu options is to run a network terminal emulator program. If the user already has a terminal windows running, I do not want the users to be able to open another terminal window. If the program is already running on the computer (in the background or visable) I want to user to be prompted with an error message stating: "That Program is Already Running. Please Close it Before Continuing"

Any help would be greatly appreciated! Thanks for your Contribution!

Ian Wickline
K's Merchandise, Inc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top