CLASSID Attribute | classid Property Home
CLASSID Attribute | classid Property

Sets or retrieves the class identifier for the object.

Syntax

HTML<ELEMENT CLASSID = sID... >
Scripting[ sID = ] object.classid [ = v ]

Possible Values

sIDString that specifies or receives the class identifier for the object.

The property is read/write. The property has no default value.

DHTML expressions can be used in place of the preceding value(s). As of Internet Explorer 8, expressions are not supported in IE8 mode. For more information, see About Dynamic Properties.

Remarks

The format the classid string is "clsid:XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX" for registered Microsoft ActiveX Controls.

Standards Information

This property is defined in HTML 4.0 World Wide Web link.

Applies To

OBJECT, HTMLObjectElement Constructor
Community Content

.net control
Added by:nagual

The following is possible for .net controls:

classid="Assembly.dll#Full.Namespace.ControlName"

list of classids
Added by:southern
"Well Known" CLSIDs include:

Set Program Access and Defaults {2559a1f7-21d7-11d4-bdaf-00c04f60b9f0}
Windows Media Player 6.4 {22D6F312-B0F6-11D0-94AB-0080C74C7E95}


© 2009 Microsoft Corporation. All rights reserved.   Terms of Use | Trademarks | Privacy Statement
Page view tracker
Rate the Lightweight library
x
Lightweight builds on ScriptFree (loband) by adding features you've requested: a SearchBox and default code language selection.
Do you like the SearchBox?
Do you like the tabbed code blocks?
How useful is this topic?
Tell us more.
Thanks
x
You're helping to improve MSDN Online.
Feedback
Switch View
Classic
Lightweight Beta
ScriptFree
Switch View