Need help with OPC server (COM )

I wrote my first OPC server in VB.net using an OPC toolbox that i bought.
Everything works great but i still need to fix one thing...

As a note, my OPC server doesnt run as a service.

Since DCOM settings has been set to allow remote users to launch and access my OPC server, once a remote OPC client try to connect to my server,
My OPC server Process is started and runs correctly. But if i try to run my OPC server and that the Process is already running, i would like that the GUI part of my OPC server shows up! Can this be done??

Lets say i start my OPC server from the desktop shortcut, my app needs to check if the process is already running and if so, display the GUI interface of my OPC server.

Thanks in advance for any help

Martin
[794 byte] By [Martin_SBT] at [2007-11-20 1:38:48]
# 1 Re: Need help with OPC server (COM )
I hope you're using 2005, because its almost trivial:
http://msdn2.microsoft.com/en-us/library/microsoft.visualbasic.applicationservices.windowsformsapplicationbase.startupnextinstance.aspx

Utilize the StartupNextInstance event.
Craig Gemmill at 2007-11-10 3:12:19 >