-
How can I inhibit the openning of a new program instance whenever I double-click on my program exec Icon and one instance of the same program is already running (even if it is minimized in that moment)?
I'd like, instead, to pass the control to the already opened instance...
Could anybody help me ?
Thanks in advance
-
If App.PrevInstance = True Then
with this you can know if a vb instance of a program is already running
-
It works and inhibits the activation of a new instance of the same executable code.
But, as a second step, how can I pass the control to the executable program that is already active and is minimized or lays hidden somewhere in my win95 screen ?
Thanks in advance...
-
Check out http://www.vb-world.net/tips/tip125.html
It's exactly what you're after.
Regards,
------------------
- Chris
[email protected]
If it ain't broke - don't fix it :)