CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Nov 1999
    Posts
    1

    detecting if an app is running

    Does any one know how to detect if an application is already running using VB 6.0. Or how can I prevent from running multiple
    sessions of my applicaiton. Thank you


  2. #2
    Guest

    Re: detecting if an app is running


    If App.PrevInstance = true then Exit Sub



    Use this property of App object and this logic to exit with some message or without it.
    HTH
    Vlad


  3. #3

    Re: detecting if an app is running

    See http://www.freevbcode.com/ShowCode.Asp?ID=71 for a complete solution.




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

Featured