Using GetObject to get instance of running COM Server



I have a class within a class library that I have exposed as a COM Server.
The library is used by a a win forms app written in C# .NET 2 that creates
an instance of the class when it starts. I want to be able to use GetObject
from a VBS script to get a reference to the instance of the class that is
already created, but it always seems to create a new instance instead. How
can I acheive this? I have tried using CreateObject as well but that seems
to do exactly the same thing. Do I need to do something extra within the
win forms apps to tell it that the class instance it creates should be
available to COM?

TIA.


.



Relevant Pages

  • Re: DNS Ports
    ... Thanks so much - I'm having trouble getting this server to respond to ... requests - is there a white paper setup someplace that I could reference? ... >> I am attempting to set up a standalone DNS server for external ... >> TIA ...
    (microsoft.public.win2000.dns)
  • Re: 4-way Opteron vs. Xeon-IBM X3 architecture
    ... >>>The point here is that the issue concerns both speed AND capacity. ... >As to the reference, the message header points right back in this thread, ... >>>As you may suspect, I read plenty about memory systems, and I would ... >>>from the enthusiast market and assumed that it would work in the server ...
    (comp.sys.ibm.pc.hardware.chips)
  • Re: Web part development environment
    ... Just to verify: is the config you describe how you are set up? ... To create a Web Part, you need to add a reference to the ... you will need access to a server running Windows SharePoint Services. ... > from Microsoft and installed on the Dev machine. ...
    (microsoft.public.sharepoint.portalserver.development)
  • Re: Isolated Network Drift Problem
    ... they need some type of time reference if the master server becomes ... without a local clock reference will be able to provide time to NTP ... Isn't having an "apparently" synchronized NTP server better than ...
    (comp.protocols.time.ntp)
  • Re: Class object creation and managing automation references
    ... > commands between xl and a third party software via an automation server ... > class is initialised it automatically creates a reference to the server ... As I read the documentation on GetObject, it would return an error when the path ... instance of the object is created, no matter how many times CreateObject is ...
    (comp.lang.basic.visual.misc)