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
Printable View
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
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