CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4
  1. #1
    Join Date
    Aug 2001
    Location
    Leeds, England
    Posts
    3

    Out Of Process COM ActiveX Control?

    Anyone done anything with out-of-process ActiveX (if there is such a thing)? I and a C++ colleague are trying to get a COM .EXE (in C++) accessible from VB. The activeX test container allows it, but VB doesn't appear to. We need separate thread of execution, hence not a normal OCX/DLL, and need to generate events within VB from the separate "control".
    We also want to do this via VBScript on a web page eventually.
    Anyone got any ideas?

    Keith Fearnley, Trackit Systems Ltd, England

  2. #2

    Re: Out Of Process COM ActiveX Control?

    U can call an activex exe as a normal dll library.
    but ASP / IIS has not prmission to create an out-of-process. U must has a intemediate com DLL running in MTS with permission of some user witch has permission to lanch EXE...

    sorry.. can U exaplain your project better...
    I have develops some activex.... so i can try to help U...

    hi,brt

    <center>
    <HR width=80%>
    <img src='http://web.tiscali.it/bertaplanet/im...ertaplanet.gif'>
    </center>

  3. #3
    Join Date
    Jul 2000
    Location
    Hawaii
    Posts
    281

    Re: Out Of Process COM ActiveX Control?

    some general info to create a DLL in C that a VB client can use - should be a simple step to compile as EXE instead
    http://www.vbexplorer.com/show.asp?id=195

    some general info about out of process VB at
    http://pages.about.com/vbmakai/minidb3.htm


  4. #4
    Join Date
    Aug 2001
    Location
    Leeds, England
    Posts
    3

    Re: Out Of Process COM ActiveX Control?

    Thanks for the replies folks. I parallel-posted onto the C++ forum too, and the final answer came from a combination of a reply there and the information links that 'makai' responded with.
    Seems to need to be aggregated within the COM object - ActiveX and COM together. Now have a working C++ test control that can sit in VB or on a web page in its own thread and display a continuously updating counter - not rocket science perhaps, but a step towards what we need!
    Thanks again,
    Keith

    Keith Fearnley, Trackit Systems Ltd, England

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