-
Automation
I created an automation server using VC++6.0(NT4.0). The Server's ProgID is "testserver.document". I use VB6.0 code as client to test server. When VB CreateObject("testserver.document") is used, it will create the object, but if I start the server and use VB GetObject(, "testserver.document") function to get a reference of server object, it will always fail.
Does anyone know what is going on?
Thanks
-
Re: Automation
The problem is you are not registering your object with the ROT. Use RegisterActiveObject. Your VB automation controller is not seeing your object.