Reputation: 1059
simple question:How I control my activex is installed on the client?
Upvotes: 0
Views: 697
Reputation: 1059
var p; try { p = new ActiveXObject('your activex control name'); } catch (e) { alert("not installed"); }
its really simple isnt it? good programming :)
Upvotes: 2
Reputation: 1336
The main way is to try creating an instance of it. If the creation fails, then the activex control is NOT installed or some other error happened.
Upvotes: 0