|
-
September 12th, 1999, 05:08 PM
#1
Something that will prevent user from loading my program twice
ok look, if i run my program once, it shows up, but if i run it again it shows up again and again and again, finally i can have 100s of same program running...how do I make it so that if my program had been loaded, user can't load it again, unless he closes the original (1st one)
-
September 13th, 1999, 01:27 AM
#2
Re: Something that will prevent user from loading my program twice
if App.PrevInstance then
end
end if
... ends the current instance if another instance is already running.
-
September 13th, 1999, 02:34 AM
#3
Re: Something that will prevent user from loading my program twice
AndyK-
The App.PrevInstance tells if there is already a copy of the program running.
Use it like:
If App.PrevInstance then
End
End If
I am not sure if this works properly on NT.
Kevin
-
September 13th, 1999, 02:34 AM
#4
Re: Something that will prevent user from loading my program twice
AndyK-
The App.PrevInstance tells if there is already a copy of the program running.
Use it like:
If App.PrevInstance then
End
End If
I am not sure if this works properly on NT.
Kevin
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
|