Results 1 to 17 of 17

Thread: [2005] Single Instance Application

Hybrid View

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2005] Single Instance Application

    nbrege, that only works when you checkoff the "Single Instance Application" checkbox in the project, which is exactly what I can not do because of the mentioned bug. StartupNextInstance is a product of TCP remoting and the single instance application framework.

  2. #2
    Fanatic Member
    Join Date
    Aug 2006
    Location
    In my head
    Posts
    913

    Re: [2005] Single Instance Application

    How about this? In your Sub Main, get the current list of processes running on that machine, if your application is in there then bring that app to the forefront and call the close on the current instance.

    Untested, but my random thought for the day.....and you help me so much I figure I should at least throw my 2 cents at ya!!!


    Good Luck!

    D
    Platforms of choice: Visual Studio 2005/2008 Professional : Visual Studio 2010 Enterprise : PHP - Notepad++/WAMP

    Please Rate If I helped you.
    Please remember to mark threads as closed if your issue has been resolved.

    Reserved Words in Access | Connection Strings

  3. #3

    Thread Starter
    I'm about to be a PowerPoster! kleinma's Avatar
    Join Date
    Nov 2001
    Location
    NJ - USA (Near NYC)
    Posts
    23,373

    Re: [2005] Single Instance Application

    Quote Originally Posted by dminder
    How about this? In your Sub Main, get the current list of processes running on that machine, if your application is in there then bring that app to the forefront and call the close on the current instance.

    Untested, but my random thought for the day.....and you help me so much I figure I should at least throw my 2 cents at ya!!!


    Good Luck!

    D
    Sure, but if you check my post again, the problem I am stuck on is #4, what you are talking about is #1-3 which I already have resolved.

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