Force ActiveX version

It is possible to force IE to use the ActiveX version you want to.

You must allow download of the ActiveX control. To do so, you have to modify the content of the tag <object>

classid: it allows to define the class identifier of the component. The classid does not change from one release to the other (except for versions lower than V3)

codebase: indicates from which localisation (server, internet adress) the navigator can download the component, if the host machine does not already contains one component of similar classid.

The folowing example shows some HTML code integrating ActiveX download:

<object id="SeemageEmbedded" viewastext classid="CLSID:9704E020-445E-41DB-994B-DE07D126D229" codebase="seemage.cab#Version=3,2,0,1085" height="50%" >

The .cab file contains all files necessary for the install (compressed archive). It is autonomeous and does install all necessary files.

If the Standard Toolbar is activated, one can check the version directly within the Seemage Embedded. If not, it still is possible to check the version/clsid either by editing the code or by checking the .inf file contained into the .cab file.

Warning : it is not always enough to indicate that the control can be downloaded. One has to ensure that the security of the navigator does allow download and execution at the client's workstation. The client must have administrator rights on his machine. ... but nothing can prevent one user to edit the html source and to modify the current verion to be V3.

No comments:

Clicky Web Analytics