Click to return to the Content     
CLASS Element     ICON Element     Microsoft Internet Compon...    
Web Workshop  |  Content & Component Delivery

CODE Element


Describes a specific instance of native code.

Syntax

<CODE
    CLASSID="id"
    NAME="classname"
    VERSION="a,b,c,d"
>

Attributes

CLASSID
Hexadecimal value, in globally unique identifier (GUID) format, that uniquely identifies the component.
NAME
Required. String value name of the file that contains the native code. The file name, usually an *.ocx or a *.dll file, should be specified without the full path.
VERSION
String value that identifies major, minor, custom, and build version numbers. The default value is "0,0,0,0".

Element Information

Number of occurrences

Any number

Parent elements NATIVECODE
Child elements IMPLEMENTATIONSYSTEM
File formats supported OSD
Requires closing tag Yes

Example

This example shows how to use the CLASSID, NAME, and VERSION attributes to describe an instance of native code.

<CODE NAME="mycontrol.ocx" 
CLASSID="{01234567-89AB-CDEF-0123-456789ABCDEF}"
    VERSION="1,1,1,0">
    .
    .
    .
</CODE>


Back to topBack to top

Did you find this topic useful? Suggestions for other topics? Write us!

© 1999 Microsoft Corporation. All rights reserved. Terms of use.