Prevent another instance of the app from opening 
Author Message
 Prevent another instance of the app from opening

Help!  I need an easy way to determine if an app is running and then prevent
another instance from opening.  -  I'm in over my head at work.  thanks,  d


Sun, 28 Jul 2002 03:00:00 GMT  
 Prevent another instance of the app from opening
Are you ready.......

' Make sure the app isn't already running
If App.PrevInstance Then
    MsgBox "Application already running!", vbCritical, App.Title
    End
End If

Dave


Quote:
> Help!  I need an easy way to determine if an app is running and then
prevent
> another instance from opening.  -  I'm in over my head at work.  thanks,
d



Mon, 29 Jul 2002 03:00:00 GMT  
 Prevent another instance of the app from opening
How do you then switch to / set the focus to the initial instance of the
program, to make it seamless to the user?

Declan



Quote:
> Are you ready.......

> ' Make sure the app isn't already running
> If App.PrevInstance Then
>     MsgBox "Application already running!", vbCritical, App.Title
>     End
> End If

> Dave



> > Help!  I need an easy way to determine if an app is running and then
> prevent
> > another instance from opening.  -  I'm in over my head at work.
thanks,
> d



Tue, 30 Jul 2002 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Preventing another instance of the same App from opening

2. Preventing second instance of app. from starting

3. Help preventing Multiple Instances of an App..

4. Prevent 2nd instance of App

5. preventing opening of > 1 exe instance

6. Preventing Multiple Instances, But still opening File? (hard)

7. End 2nd App Instance Passing Focus to 1st App Instance

8. Open file in existing instance of app

9. HELP: Passing a command line from a second instance of an app to the previous instance

10. Reset screen so taskbar app prevents maxed apps from displaying underneath

11. Reset screen so taskbar app prevents maxed apps from displaying underneath

12. Graham Mandeno's code to prevent multiple instances

 

 
Powered by phpBB® Forum Software