Results 1 to 2 of 2

Thread: ActiveX Programs

  1. #1

    Thread Starter
    Lively Member DJ P@CkMaN's Avatar
    Join Date
    Jan 2002
    Location
    Burpengary, Queensland, Australia
    Posts
    95

    ActiveX Programs

    Hi,
    I am new to programming in ActiveX so I have a few questions. What is the best kind to use on a web site, EXE, DLL, or OCX?? Also, how do you load new forms in these formats as the Standard EXE's

    Form2.Show

    doesn't work. Please help.

    Thanks
    There's something I've noticed in the last year or so...
    Australian's are good at EVERYTHING !!!

  2. #2
    Hyperactive Member
    Join Date
    Oct 2000
    Location
    Horst
    Posts
    262
    Hello,

    first of all i'm not an 'official' web-programmer.

    Second you want to use a ActiveX EXE, ActiveX DLL or ocx.

    Very very short summary.

    If you need to create/use a ActiveX or UserControl (ocx) depends if you want to create a kind of grid that needs to display a combox, pictures, html tags etc. you have to create an .ocx and drop this on you're web-page.

    Now, the MAJOR diff between EXE and DLL.

    ActiveEXE => this is out-of-proces. This means that it is not loaded 'IN' the project but in a different MEMORY PAGE. Therefor it is 'slow' but stable! if the ActiveX EXE crashes you're program keeps on running!

    ActiveXDLL => this is in-proces. This means that it is loaded 'IN' the project (in the same MEMORY PAGE). Therefor it is 'fast'. If the ActiveX DLL crashes you're program CRASHES ALSO!!!

    You add a ActiveX EXE or DLL by adding a new project to you're excisting one and then adding the created EXE or DLL.

    You can also set a reference to you're project.

    Hope this helps.

    There is also tons of info on the subject on the msdn.microsoft.com.

    or try:
    http://www.vbworld.com/activex/

    Regards,

    visualsander

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