single instance tray app

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Ratnesh Raval

    #1

    single instance tray app

    hi all,

    i've a tray app. that runs in a tray with no forms. when a user clicks on
    the trayicon i show main form.
    my question is, can i make it like the messenger applications.. so if user
    trys to run second instance it will show the form of the already running
    instance.
    the problem is if there is any form already running i can show it ( i found
    some solutions for that) but what in my case?

    thnx


  • Jim Wooley

    #2
    Re: single instance tray app

    Search on Single Instance Winform applications. This is relatively easy to
    do with 2005. A bit more complex in 2003. I have a write-up at http://devauthority.com/blogs/jwoole...07/28/318.aspx.

    Jim Wooley

    hi all,
    >
    i've a tray app. that runs in a tray with no forms. when a user clicks
    on
    the trayicon i show main form.
    my question is, can i make it like the messenger applications.. so if
    user
    trys to run second instance it will show the form of the already
    running
    instance.
    the problem is if there is any form already running i can show it ( i
    found
    some solutions for that) but what in my case?
    thnx
    >

    Comment

    Working...