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

Thread: Activex

  1. #1
    Join Date
    Jun 2001
    Posts
    17

    Activex

    Can anybody detail me about the practical differences between
    1) activeX dll and activeX exe
    2)activex document dll and activex document exe
    thank you in advance...


  2. #2
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Activex

    The mayor difference between a anxtivex dll and activex exe is that the exe can run both as a standalone application or as a component in another program, where the dll can only run as a component.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

  3. #3
    Join Date
    Jun 2001
    Posts
    17

    Re: Activex

    well thankyou for u r reply.But ,I think we need to include either dll or activeX exe from Project->references in a new exe.Or does the activex exe has a standalone existence.

    Can u please get me a simple piece of code by which I can diferentiate between dll,exe and
    activeX document dll and exe..
    thank you


  4. #4
    Join Date
    Jan 2000
    Location
    Olen, Belgium
    Posts
    2,477

    Re: Activex

    In both cases, a refference is required. What I meant was that if you double-click the exe, it will run as a standalone application. Take Word for instance, Word is an ActiveX exe. You can run word by doubleclikking the exe, or you can start it from VB using ActiveX (Set obj = New Word.Application).

    One other thing I forgot to mention, is that an activex exe has it's own thread, meaning that it can do things while you are doping other things in your program. However, this requires some programming techniques, but is still way easier than all the other 'multithreading' experiments i've seen in VB.

    Tom Cannaerts
    [email protected]

    Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to produce bigger and better idiots. So far, the universe is winning -- Rich Cook
    Tom Cannaerts
    email: [email protected]
    www.tom.be (dutch site)

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