[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 466
  • Last Modified:

Open one instance only of exe file

How would one make a VB6 exe open only one instance?

   - Marc
0
MarcGraff
Asked:
MarcGraff
2 Solutions
 
bobbit31Commented:
if app.PrevInstance = true then
  msgbox "application already open"
end if
0
 
JonothanTompsonCommented:
Private Sub Form_Load()
If App.PrevInstance = True Then
    End
End If
End Sub


Jonothan
0
 
MarcGraffAuthor Commented:
Thank you!

   - Marc
0

Featured Post

Prep for the ITIL® Foundation Certification Exam

December’s Course of the Month is now available! Enroll to learn ITIL® Foundation best practices for delivering IT services effectively and efficiently.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now