Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
FADE  
#1 Posted : Monday, August 29, 2011 1:12:57 PM(UTC)
FADE

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

Dmitry.Obukhov  
#2 Posted : Monday, August 29, 2011 8:09:14 PM(UTC)
Dmitry.Obukhov

Rank: Advanced Member

Groups: Member
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.

Users browsing this topic
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.