Results 1 to 2 of 2

Thread: Single Instance

  1. #1

    Thread Starter
    Addicted Member hyousuf2's Avatar
    Join Date
    Dec 2004
    Location
    Dublin
    Posts
    226

    Single Instance

    hi
    i want to restrct my application to jus a single instanec n if the user tries to execute it again, should get an error message

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: Single Instance

    VB Code:
    1. If App.PrevInstance = True Then
    2.     MsgBox "A previous instance of this application is already running"
    3. End If

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width