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!

Is ActiveX enabled

Status
Not open for further replies.
depending on the level of security in IE you can have 3 possible results

1) It could allow any activeX to run without prompting
2) It could deny running any without prompting
3) It could prompt you to run it

to check this goto Tools...Internet options...Security... and click customize. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
programatically through what? ASP Code? there are no System Variables that I know of that would tell ya, you'd probally need to do it through some kind of client side script. Here is a tip tho, you can check to see if the browser is at least IE, then you can use an If..then to write a clientside VBscript, then maybe that'll be able to check and prompt the user to turn it on and reload the page if it isnt enabled. [sig]<p>Karl<br><a href=mailto:kb244@kb244.com>kb244@kb244.com</a><br><a href= </a><br>Experienced in : C++(both VC++ and Borland),VB1(dos) thru VB6, Delphi 3 pro, HTML, Visual InterDev 6(ASP(WebProgramming/Vbscript)<br>
[/sig]
 
There is a component Browser Capabilities, which lets you do it.
<%
dim bc
Set bc = server.createobject(&quot;MSWC.BrowserType&quot;)
Response.write bc.ActiveX
%>
Basically, this component provides you the information from browcap.ini file, which can be found in \system32\inetsrv directory.
I think, you can work with it also.
 
thanks. I'm familiar with both browsecap and browserhawk. however, they only tell me whether the browser is capable of using activex controls. I need to know whether or not the user has enabled this feature in their security settings. [sig]<p>nick bulka<br><a href=mailto: > </a><br><a href= </a><br>Get your technical books at Bulka's Books<br>
[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top