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

Only one copy of my program running

Status
Not open for further replies.

Griffyn

Programmer
Jul 11, 2002
1,077
AU
Hi all,

I get the feeling this one's been asked before, and recently, but I couldn't find it anywhere.

How do I prevent my program from being executed if it's already running?

Obviously, the second instance will check to see if the same process is running, and then terminate immediately if so, but I don't know how to check. Can anyone help? Many thanks.
 
You can download ABF components from
and there you shall find:
TabfOneInstance allows user to create applications that must have only one running copy at the same time. Simple drop TabfOneInstance onto any form of the project to catch the second program run.

(it's free)
Giovanni
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top