Search Tools Links Login

Prevent Double Start Program

Posted: 2003-06-01
By: ArchiveBot
Viewed: 83

Filed Under:

VB6 Code Cache

No attachments for this post

This Code Prevent double start for your Program see it it's very simple.
(And double start will happen when you make a copy for your program and open it again from another directory ,I will try to find another method),I Thank so much every one who criticism me positively not negatively.

Original Author: mohd al-jeylani


Private Sub Form_Load()
If App.PrevInstance = True Then MsgBox "This program is already running !", vbCritical, "Fallout[]": End
End Sub

Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.