Reputation: 21
I am trying to detect the presence of an ActiveX plugin in my website. I am currently using:
function PrepareForBuyMallMoneyWithFBCredits(){
try {
control = new ActiveXObject('ActiveX name');
} catch (e) {
alert('fail');
}
alert(control);
}
I have confirmed that this code works against more standard ActiveX controls such as Adobe Acrobat Reader but I am trying to detect a custom ActiveX control. Problem is, the name that comes up in the plugin browser doesn't seem to be the one I should be searching for. Is there some way for me to find out what/where this name is? Also, is it possible to use the classid to achieve my desired results? Thanks.
Upvotes: 2
Views: 930
Reputation: 117354
Usually you'll find this name inside the win-registry.
Example for flash:
Upvotes: 2