F
fniles
We created an ActiveX control and marked it as safe for scripting using
Implements IObjectSafety. We then created a CAB file and signed it using
Verisign.
We also created a license file (LPK file) for it.
We use this control on an ASP page.
We put the CAB file for the AX control and VBRun60.CAB in the same folder
with all the ASP files.
When we call the ASP page using any machine with IE 6 SP2 (we tried it with
multiple IE6 SP2 machines), it prompted you to download the control and it
got downloaded fine, and the ASP page works fine.
But, when we call the ASP page using a machine with IE 6 SP1 (we tried it
with multiple IE6 SP1 machines), it did not even prompt you to download the
control even though the control does not exist in the machine. Because of
this, the ASP page does not work because the AX control does not exist.
The IE setting is such that we either enable or prompt downloading a control
and initialize and script AX control.
Here is the codes for the control in the ASP page:
<OBJECT CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331"
id="Microsoft_Licensed_Class_Manager_1_0"1 VIEWASTEXT><PARAM
NAME="LPKPath" VALUE="BControl.lpk"></OBJECT>
<OBJECT id="bcontrol2" height=0 width=0
classid=clsid:CAC161FD-C2F9-4F0F-95F3-A3D4E5D465CD
codeBase="BControl.CAB#version=1,0,0,0" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="873">
<PARAM NAME="_ExtentY" VALUE="847">
</OBJECT>
Why in IE 6 SP1 it did not even prompt me to download the AX control even
though it does not exist?
Thank you very much.
Implements IObjectSafety. We then created a CAB file and signed it using
Verisign.
We also created a license file (LPK file) for it.
We use this control on an ASP page.
We put the CAB file for the AX control and VBRun60.CAB in the same folder
with all the ASP files.
When we call the ASP page using any machine with IE 6 SP2 (we tried it with
multiple IE6 SP2 machines), it prompted you to download the control and it
got downloaded fine, and the ASP page works fine.
But, when we call the ASP page using a machine with IE 6 SP1 (we tried it
with multiple IE6 SP1 machines), it did not even prompt you to download the
control even though the control does not exist in the machine. Because of
this, the ASP page does not work because the AX control does not exist.
The IE setting is such that we either enable or prompt downloading a control
and initialize and script AX control.
Here is the codes for the control in the ASP page:
<OBJECT CLASSID="clsid:5220cb21-c88d-11cf-b347-00aa00a28331"
id="Microsoft_Licensed_Class_Manager_1_0"1 VIEWASTEXT><PARAM
NAME="LPKPath" VALUE="BControl.lpk"></OBJECT>
<OBJECT id="bcontrol2" height=0 width=0
classid=clsid:CAC161FD-C2F9-4F0F-95F3-A3D4E5D465CD
codeBase="BControl.CAB#version=1,0,0,0" VIEWASTEXT>
<PARAM NAME="_ExtentX" VALUE="873">
<PARAM NAME="_ExtentY" VALUE="847">
</OBJECT>
Why in IE 6 SP1 it did not even prompt me to download the AX control even
though it does not exist?
Thank you very much.