Hi,
I am currently detecting for Shockwave within IE by doing the following:
This works as expected and if it fails to detect Shockwave I tell the user to install Shockwave.Code:var isInstalled = false; if (window.ActiveXObject) { var control = null; try { control = new ActiveXObject('SWCtl.SWCtl'); } catch (e) { return; } if (control) { isInstalled = true; } }
The problem comes when AcitveX is disabled as it still returns the same message that it's not installed. I would prefer to be able to include an extra step to detect if ActiveX is disabled, in which case I can tell the user to enable it rather than giving them false advice.
My only idea would be to detect for an ActiveX Object that every IE user should have installed.
Any ideas on what that ActiveX Object could be or any ideas on how I could tackle this problem are greatly appreciated.
Thanks


Reply With Quote
Bookmarks