Multiple Opening of an Application

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • amitp
    New Member
    • Dec 2006
    • 49

    Multiple Opening of an Application

    I have a vb application where one EXE calls another exe, so that a new application opens. But when i want to open the same application again from the other application it gives an error that the application is already active and the new instance is not opened. I use SHELL function to open the exe. Needs help. Thanks in Advance.
  • danp129
    Recognized Expert Contributor
    • Jul 2006
    • 323

    #2
    Code:
    Private sub Form_Load()
        If App.PrevInstance Then
        msgbox "Already running"
        Unload Me
    End sub
    There are some restrictions, you may find this discussion useful.

    Comment

    Working...