Rank: Newbie
Groups: Member
Joined: 6/21/2011(UTC) Posts: 5
Thanks: 1 times
|
Hello All,
is there a way in JS to tell if Aurigma has actually been installed on the users machine. I have seen a few JS examples but none of them seem to work properly, just wondering if you had anything in your bag of tricks that would accomplish this task.
Thank-You Fade
|
|
|
|
Rank: Advanced Member
Groups: Joined: 5/29/2010(UTC) Posts: 1,310
Thanks: 8 times Was thanked: 111 time(s) in 111 post(s)
|
Hi Fade, Please add this JS method to your project to check whether ActiveX control has been already installed or not: Code:
getActiveXInstalled: function() {
/// <summary>Verifies whether ActiveX control is installed. If yes, it returns true; otherwise it returns false.</summary>
/// <returns type="Boolean" />
var u = $au.uploader('UploaderID');
if (u.activeXControl().progId()) {
try {
var a = new ActiveXObject(u.activeXControl().progId());
return true;
}
catch (e) {
return false;
}
}
return false;
}
If you have additional questions or problems, feel free to post them here. Edited by user Monday, August 29, 2011 8:10:32 PM(UTC)
| Reason: Not specified |
Best regards, Dmitry Obukhov
Technical Support. Aurigma, Inc.
|
|
|
|
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.