Results 1 to 3 of 3

Thread: ActiveX or UserControl

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2001
    Location
    Southern California
    Posts
    733

    ActiveX or UserControl

    What is the difference between creating an ActiveX DLL/EXE or creating a User Control?

    Thanks,
    Jeff

  2. #2
    Fanatic Member simonm's Avatar
    Join Date
    Sep 2000
    Location
    Devon, England
    Posts
    796

    Smile The Differences

    The differences between the types of ActiveX components you can create are slight.

    DLL's and OCX's (User controls) are in-process where as EXE's are out of process.

    DLL's are faster than EXE's (because their in-process) but if they crash, your calling app will also crash.

    EXE's are slower than DLL's but an EXE crashing will not effect your calling app.

    The only difference between an ActiveX EXE and a standard EXE is that an ActiveX EXE exposes public classes to client projects (that reference it) thus allowing them to instantiate these public classes.

    An OCX is like a DLL but it doesn't (generally) expose instantiatable classes. An instance is created by dropping it on a form. Therefore it may have a visual interface that is contained in a form (and must respond to user interaction).


    Need to know anymore?
    Everything I say is either loose interpretation of dubious facts or idle speculation rooted in irrational sentiment.

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Mar 2001
    Location
    Southern California
    Posts
    733
    Thanks Simonm....that helps alot!!!!

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