Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using #Version ?

Status
Not open for further replies.

chrisdl

Programmer
Jun 28, 2001
22
0
0
US
How do I use the #Version in an HTML file? Which version is it checking against? The INF file or the OCX file version?

Here is what Microsoft says:

<OBJECT CLASSID=&quot;clsid:dcf0768D-ba7a-101a-b57a-0000c0c3ed5f&quot;
CODEBASE=&quot; ALIGN=&quot;CENTER&quot; WIDTH=&quot;270&quot; HEIGHT=&quot;26&quot; ID=&quot;T1&quot;>
<PARAM NAME=&quot;Interval&quot; VALUE=&quot;1000&quot;>
<PARAM NAME=&quot;Enabled&quot; VALUE=&quot;1&quot;>
</OBJECT>
Note that #Version can be specified in the CODEBASE attribute of the object element to control updates and limit unnecessary downloads. If #Version is not specified and a version of this component is already installed on the user's computer, no download occurs. If #Version is specified and an earlier version of the component is already installed on the user's computer, the object will be downloaded. If the component specified in the object element is not present on the user's computer, the component will be downloaded whether #Version is specified or not.

-Chris (Consultant / Software Engineer)
 
The .ocx version is the one listed in the .inf file that comes in the ActiveX.cab file. Just use the version in the .inf file. Rob
Just my $.02.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top