I have a winform app in vb.net (studio 2008) and I have defined the app as a single instance application. I need to get access to the StartupNextInstance event so this is important because when it launches for the second time I need to just take action in the running instance. This all works fine and dandy until you publish this on a terminal server. I need for each user to have the same functionality but only within their session.. so what I need is for my appliction to be a single instance within a session application. Is there some way to accomplish this?
SO the appliction launches and does stuff... then it gets called again (from another third party app) and depending on some paramaters passed to it if it already exists it will just change the screen (no relaunch, etc). This works FINE - but not on a terminal server because of the single instnace flag... help.