Click to See Complete Forum and Search --> : Instancing ActiveX Control using DCOM


September 9th, 1999, 12:18 PM
Is there anyway I can show an activex control(placed on server) on a clients form using DCOM. I tried createobject function, it instantiates it , but doesn't give me visible interface of the control .

Please Help
-Ankur

jp-mattenet
September 10th, 1999, 04:12 AM
I do not think so... Dcom is for calling Ole automation servers, but not controls. They provide services accross the network, but they can't be used for user interfece.

Regards,
JP

Juan Pablo Mattenet
http://wwp.icq.com/scripts/online.dll?icq=5754694&img=3

Vinayak Sapre
September 12th, 1999, 01:18 PM
OCX is a DLL, an inproc server. I haven't tried it but try registering it from a remote machine before displaying. You will not be using DCOM as you may not be able to set DCOM access permissions for inproc server. But if you have read access to the directory on remote machine where OCX is located I think you can do it.