Results 1 to 12 of 12

Thread: Detect disabled ActiveX settings in IE

  1. #1

    Thread Starter
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165

    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.

  2. #2
    Addicted Member csammis's Avatar
    Join Date
    Mar 2001
    Location
    /dev/null
    Posts
    226
    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!"

  3. #3
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..

  4. #4
    Black Cat JoshT's Avatar
    Join Date
    Nov 2000
    Location
    WNY, USA
    Posts
    4,032
    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.

  5. #5

    Thread Starter
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165
    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.

  6. #6
    Frenzied Member monte96's Avatar
    Join Date
    Sep 2000
    Location
    Somewhere in AZ
    Posts
    1,379
    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..

  7. #7

    Thread Starter
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165

    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.

  8. #8
    Jethro
    Guest

    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

  9. #9

    Thread Starter
    Addicted Member eer3's Avatar
    Join Date
    Sep 2000
    Location
    Ca
    Posts
    165

    A bit over the top Jethro...

    Katie... I think they may be on to me!

  10. #10
    Jethro
    Guest

    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

  11. #11
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274

    Re: Re: I should have given more background...

    Originally posted by Jethro


    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
    Ed, you've been rumbled...

    Jethro:
    Never have I seen a more blatant attempt to "illegally" boost the post count by posting nonsense in a post counting forum.....

  12. #12
    Jethro
    Guest

    Re: Re: Re: I should have given more background...

    Originally posted by barrk


    Ed, you've been rumbled...

    Jethro:
    Never have I seen a more blatant attempt to "illegally" boost the post count by posting nonsense in a post counting forum.....
    OMG...............katie has escaped from her natural habitat. PS, Chris rumble him so thought the game was up.

    Hey, l got 1500 posts doing this sort of thing, and the only thirty or so through abusing people

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width