Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

codeBase property

[This documentation is preliminary and is subject to change.]

Sets or retrieves the URL of the component.

Syntax

HRESULT value = object.put_codeBase(BSTR v);HRESULT value = object.get_codeBase(BSTR* p);

Property values

Type: BSTR

the URL of the component, which can be appended with a version string of the form #Version=a,b,c,d, as described in the Remarks section. If the client computer has a later version installed, no download occurs.

ValueCondition
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.

 

Remarks

Applets do not support version information supplied as part of the URL.

If a, b, c, and d are all set to -1 (#Version=-1,-1,-1,-1), the component is downloaded from the server if the release date is later than the installation date on the client computer. If the component is installed on the client computer and the release date is the same or earlier than the installation date, only an HTTP header transaction occurs.

The URL of the component cannot be a local path.

See also

Managing Versions of a Component

 

 

Build date: 6/6/2012

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft. All rights reserved.