Embedding the Controls in a Web Page

The HTML <OBJECT> tag is used to embed ActiveX controls into a Web page. For controls with a graphical user interface, such as the view controls, the <OBJECT> tag is inserted where you want the control to appear on your page. Controls without a user interface, such as the MediaServer control, can be inserted anywhere within the <BODY> and </BODY> tags.

Following is an example of using the <OBJECT> tag to insert the MediaServer control in a Web page.

<OBJECT CLASSID="clsid:ADB3EC9B-1820-11D1-B062-0000C040BCDB"
             ID=MediaServer 
       CODEBASE="nstadmin.ocx#Version=3.0.0.1330">
</OBJECT>

In this example, the <OBJECT> tag has only three attributes:

Controls with user-interfaces also require HEIGHT and WIDTH attributes to specify dimensions, in pixels, of the controls.


© 1996-1998 Microsoft Corporation. All rights reserved.