Search Tools Links Login

Prevent Double Start Program


Visual Basic 6, or VB Classic

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

Code

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

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 127 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.