Basic HTML version of Foils prepared 4 May 97

Foil 14 An Example Object Tag

From Introduction to ActiveX, with VBScript CPS616 -- Information Track of CPS -- Spring Semester 97. by Nancy J. McCracken


This creates a "spin button" control on the web page: <object id="SpinButton1" width=16 height=32 classid="CLSID:79176FB0-B7F2-11CE-97EF-00AA006D2776"> <param name="Size" value="423;846"> </object>
The classid says what kind of object it is (CLSID) and enough information for the browser to find the object on the user's Windows system, identify and run the control.
Parameters are used to set properties of the control.
The codebase property can be set to a URL if the control is a custom control that the user may need to download.



© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Apr 4 1998