>I was able to prevent multiple instances of my app before. The way I did it was to call the FindWindow API command to see if a window existed.
>
>However, since we added a splash screen, users can now click more than once in the time that it takes before the splash screen appears and multiple apps will load.
>
>The _SCREEN.Caption at the time of the splash screen is what it should be. I have tried to put a DOEVENTS before calling the splash screen. Nothing seems to work.
>
>Any ideas??
>
>Also, does anyone have a better way of preventing multiple instances of an app?
>
>--Shawn
If I remember correctly there is an article in
www.vfug.com FAQ section on this.
HTH,
Tom