Library tutorials & articles

ActiveX Documents

Introduction

ActiveX Documents offer a way of using VB to add new features to Web Sites. Anything you can do with VB, you can perform on your web site. ActiveX supports most standard VB functions and methods, while adding a few new ones, like Hyperlink. ActiveX Documents is the VB version of JAVA, allowing for dynamic uses of HTML files, with very little knowledge of the Internet, that HTML or JAVA requires for the same features. ActiveX doesn't come without it's costs, but cab files, or Internet download files, take care of the distribution work for you. Unlike standard VB projects, you'll have to know the Classid of the Document in order to use it, but I'll cover how to get the id from the Registry.

In order for ActiveX to really be effective, you'll have to plan you're ActiveX control just like any program, and just like a normal program, a poorly designed ActiveX control can really affect how people view your work. You'll notice the example I used here could be done with standard HTML and the Command Button OCX, but I kept is simple so the code won't get in the way of how easy it really is to use ActiveX. You can use the ActiveX Document at the left to navigate this tutorial, and use it to download the Project Source and Compiled files, as-well-as a version of this Tutorial for off-line reading.

Comments

  1. 24 Feb 2003 at 00:07

    thank you for this tour , it easy , and provide good knowlege for activeX Documnet
    i need to include a form in activeX documnet project
    and i want this form to change the background color for the activeX document.


    how can i do this ?
    and thank you again

  2. 13 Mar 2002 at 03:54

    Thanks for the tour, it gave some good pointes.
    I might add that a bit of more code can do well to us newbeis.
    I.

  3. 01 Jan 1999 at 00:00

    This thread is for discussions of ActiveX Documents.

Leave a comment

Sign in or Join us (it's free).