General discussion

Locked

disable program from executing twice

By Walkerxp92 ·
I have a few simple VB6 programs but 1 major program that I am needing to make sure it is never running twice.
For some reason randomly it will continue to run in the back ground and the when it is executed again it duplicates everything it is doing.
Also I have some techs that aren't the most efficient and tend to just start up the programs when they are already running.

so all I need is a way that when the program is ran it will check and make sure there is no other instance of it running in the back ground or anywhere.

This conversation is currently closed to new comments.

3 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Comments

Collapse -

by blillie In reply to disable program from exec ...

There is a way to just check windows to see what programs are running using the windows API... wish I could remember the exact syntax, but I know it exists... sorry I couldnt be more helpful...

Collapse -

by Walkerxp92 In reply to

Poster rated this answer.

Collapse -

by Walkerxp92 In reply to disable program from exec ...

This question was closed by the author

Back to Web Development Forum
3 total posts (Page 1 of 1)  

Related Discussions

Related Forums