VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Prevent your program to open more then once.

by _ram (2 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Mon 14th February 2005
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Prevent your program to open more then once.

Rate Prevent your program to open more then once.



 If App.PrevInstance = True Then
  MsgBox "This program is already running!", vbCritical, "Error"
  End
 End if

End Sub

Download this snippet    Add to My Saved Code

Prevent your program to open more then once. Comments

No comments have been posted about Prevent your program to open more then once.. Why not be the first to post a comment about Prevent your program to open more then once..

Post your comment

Subject:
Message:
0/1000 characters