Retrieves the URL referencing where to find the implementation of the object.
Syntax
HTML <ELEMENT CODEBASE = sURL[#version= a, b, c, d] ... > Scripting [ sURL = ] object. codeBase
Possible Values
sUrl URL from which the component should be downloaded. a High-order word of the major version of the component available at the specified URL. b Low-order word of the major version of the component available at the specified URL. c High-order word of the minor version of the component available at the specified URL. d Low-order word of the minor version of the component available at the specified URL. -1,-1,-1,-1Values for a,b,c,d indicating that the component should be downloaded from the server if the release date is later than the installation date on the client machine. If the component is installed on the client machine, and the release date is the same or earlier than the installation date, only an http header transaction occurs. The property is read-only with no default value.
Remarks
Applets do not support versioning information supplied as part of the URL.
Example
The code below specifies the download location for the Common Dialog control using the CODEBASE attribute.
Sample Code
<OBJECT ID="CommonDialog1" WIDTH=32 HEIGHT=32 CLASSID="CLSID:F9043C85-F6F2-101A-A3C9-08002B2F49FB" CODEBASE="http://activex.microsoft.com/controls/vb5/comdlg32.cab #version=1,0,0,0"> </OBJECT>
Applies To
APPLET, OBJECT