CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    Instancing ActiveX Control using DCOM

    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


  2. #2
    Join Date
    May 1999
    Location
    Braine L'Alleud, Belgium
    Posts
    10

    Re: Instancing ActiveX Control using DCOM

    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

  3. #3
    Join Date
    May 1999
    Posts
    45

    Re: Instancing ActiveX Control using DCOM

    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.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured