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

Single user EXE

Status
Not open for further replies.

DaveJohnson

Technical User
Feb 13, 2005
13
GB
Can a compiled Exe be set to only allow a single user and if anther user loads gets an error message.

I have an EXE which add records to a database and dont want it open more than once.

Thanks
 
You need to do some code around that yourself, or buy one of the commercial tools that allow user count restrictions.


One way is to create a small client/server tcp/ip program that listens to a particular port. Whenever you load the program you browse the network to see if you already have your program loaded on that port in another/same computer, and if so just issue a message and exit.



Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top