[Javascript] Detecting ActiveX control
Mike Dougherty
mdougherty at pbp.com
Wed Jan 3 07:36:42 CST 2007
On Wed, 03 Jan 2007 13:13:46 +0000
Matt Barton <javascript at mattbarton.org> wrote:
> I have a custom ActiveX control which is running in my intranet app (target browser is only Win
>IE5.5+).
>
> Is there any way for me to detect, in javascript, if the control is accessible by the browser?
>
> I find my users often have IE security settings which prevent the control from running, and this
>causes a javascript runtime error: "Object doesn't support this property or method".
try {
var myobj = (your object);
}
catch(e){
//appropriate error response
}
More information about the Javascript
mailing list