Bahadır EKİCİ
Bahadır EKİCİ

Reputation: 1059

IE is activex control installed?

simple question:How I control my activex is installed on the client?

Upvotes: 0

Views: 697

Answers (2)

Bahadır EKİCİ
Bahadır EKİCİ

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

Tommy Hui
Tommy Hui

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

Related Questions