|
-
Nov 26th, 1999, 05:06 AM
#1
Thread Starter
New Member
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
-
Nov 26th, 1999, 06:47 AM
#2
Lively Member
If App.PrevInstance = True Then
with this you can know if a vb instance of a program is already running
-
Nov 29th, 1999, 04:57 PM
#3
Thread Starter
New Member
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...
-
Nov 29th, 1999, 05:46 PM
#4
PowerPoster
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 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|