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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have a CAB file that I use the Pa

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a CAB file that I use the Package and Deployment Wizard to make the ActiveX component safe for initialization and safe for scripting.I then use VeriSign Products to create the digital certificate.Everything works as long as the ASP page doesn't pass the variables to it.
The ActiveX component uses PropertyBags to obtain the 2 variables information from within the ASP page. (This portion of collecting the data for LangID and UserID is not shown in my snippets below.)
I get the following dialog box "This page provides potentially unsafe information to an ActiveX control. Your current security settings prohibit running controls in this manner. As a result, this page may not display
correctly." when the ASP page doesn't function.

For example this snippet functions (i.e. I don't receive the warning
message) with I.E. settings at Low:

<object ID=&quot;ucExplorer&quot; HEIGHT=&quot;73&quot; WIDTH=&quot;80&quot;
CLASSID=&quot;CLSID:3F98FC22-C74F-11D2-8355-00C04FB9F6F7&quot;
CODEBASE=&quot;NNExWrap.CAB#version=2,0,1,2&quot; VIEWASTEXT>
</object>


The following snippet fails with IE settings at Low. I have to go to Custom
and Enable Safe for initialization and scripting.

<object ID=&quot;ucExplorer&quot; HEIGHT=&quot;73&quot; WIDTH=&quot;80&quot;
CLASSID=&quot;CLSID:3F98FC22-C74F-11D2-8355-00C04FB9F6F7&quot;
CODEBASE=&quot;NNExWrap.CAB#version=2,0,1,2&quot; VIEWASTEXT>
<PARAM NAME=&quot;LangID&quot; VALUE=&quot;<%=LangID%>&quot;>
<PARAM NAME=&quot;UserID&quot; VALUE=&quot;<%=UID%>&quot;>
</object>

What am I not doing properly that prevents me from passing the parameters to
my ActiveX control from my web page?

Any ideas would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top