I want to call a method from an activeX control from another layer object. A script attached of the activeX control does list me the methods, but externally it says unknown method. var activeX = DesktopX.Object("myUsedActiveX"); if(activeX) { Script.MsgBox(activeX.name); //activeX.Control.DoCommand(cmd); // doesnt work activeX.DoCommand(cmd); // doesnt work either } else Script.MsgBox("activeX not found"); // thats not c
2 Replies
2,290 Views