|
-
Jan 20th, 2002, 10:21 PM
#1
Thread Starter
Lively Member
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 !!!
-
Jan 21st, 2002, 02:53 AM
#2
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|