|
-
Jun 19th, 2001, 03:57 PM
#1
Thread Starter
Addicted Member
Detect disabled ActiveX settings in IE
Is there a way to detect if a users IE ActiveX Settings are enabled? I'd like to be able to redirect them to another page if they are disabled.
-
Jun 20th, 2001, 12:57 AM
#2
Addicted Member
This is going to sound really stupid, but can you look for errors in starting an ActiveX control? It wouldn't be a sure thing, but for a simple ActiveX control an error would *probably* signify that it couldn't start due to policies in place
Things I've Said:
"Life's funny like that...elephants can wear frilly lace panties, and Dubya still looks like a monkey in a big chair"
"Take four goats and strap one to each foot of a llama. Presto, goat-powered llama!"
"You want to get me to work more, get me a Coke. No? Then deal with inferior garbage, I'm not coding another line and your clients can go to......thanks, I'd love a Coke right about now!"
-
Jun 20th, 2001, 01:45 AM
#3
Frenzied Member
Take a look at the Browser Capabilities component that is included with IIS.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Jun 20th, 2001, 06:22 AM
#4
Black Cat
I believe if you put an ActiveX Control on a web page, you could use a <noobject> tag or whatever to put code to display if they don't have activex. You might not be able to directly redirect, but you could put a link there.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 20th, 2001, 10:29 AM
#5
Thread Starter
Addicted Member
Thanks JoshT, monte96, and csammis...
I checked into the Browser Capabilities component, seems like the closest you can get is whether Java is enabled. Go figure??? Maybe I missed the ActiveX enabled method though, so if I did, could you point it out for me please? Thanks.
The answer I came up with (and I don't much care for it) is a cross between csammis and JoshT's answer. I supplied alternate text for the object - which will only appear if ActiveX is disabled in IE, then test the innerText of the body for the existence of my "ActiveX not enabled flag" (alternate text). From there I can issue a window.open command.
Again, I think this is a really messy solution, so if anyone has more info, I'm all ears.
Thanks again.
-
Jun 20th, 2001, 04:14 PM
#6
Frenzied Member
My suggestion is that unless you are developing an Intranet application where you have some control over the browsers that hit the app, avoid using ActiveX objects on the page. There are usually alternatives that are much more lightweight than an ActiveX control.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Jun 20th, 2001, 04:24 PM
#7
Thread Starter
Addicted Member
I should have given more background...
Actually this is for an intranet project, and all users are using IE 5 or better. So the browser type is really not an issue. What I was attempting to do is redirect new users to a page that explains how to enable ActiveX controls in the IE browser, as IE comes preconfigured with tighter security. (Our intranet has no link to the outside world)
I do appreciate your response though, thanks again.
-
Jun 20th, 2001, 10:07 PM
#8
Re: I should have given more background...
Originally posted by eer3
Actually this is for an intranet project, and all users are using IE 5 or better. So the browser type is really not an issue. What I was attempting to do is redirect new users to a page that explains how to enable ActiveX controls in the IE browser, as IE comes preconfigured with tighter security. (Our intranet has no link to the outside world)
I do appreciate your response though, thanks again.
Damn fine definition. Champagne posting there eer3 Has to be one of the best postings yet seen on this site.....or any site on the www for that matter. Am standing and applauding this one. Good one big guy, superb, fantastic.
And l don't care what stevess claims about it either
-
Jun 21st, 2001, 12:21 AM
#9
Thread Starter
Addicted Member
A bit over the top Jethro...
Katie... I think they may be on to me!
-
Jun 21st, 2001, 12:29 AM
#10
Re: A bit over the top Jethro...
Originally posted by eer3
Katie... I think they may be on to me!
Sorry eer3, it only took a couple of days Will try to avoid this sort of post in the future...................unless you don't regularly post in chit chat of course
-
Jun 21st, 2001, 11:06 AM
#11
Hyperactive Member
Re: Re: I should have given more background...
-
Jun 21st, 2001, 05:05 PM
#12
Re: Re: Re: I should have given more background...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|