My company deploys Tablet PCs that use the Microsoft InkEdit ActiveX control, so that our client's web applications can accept pen ink. It's quite snazzy. We've been using the plug-in for hosting ActiveX controls:

http://www.iol.ie/~locka/mozilla/plugin.htm

But here's the catch-- the last version of Mozilla that works this way is Mozilla 1.3. Seriously, we're still deploying with Mozilla 1.3.

I'm crying here. Has anyone successfully enabled *scripting* for ActiveX controls for anything newer than that? If I install the plugin on Firefox 1.5.0.1 and go to the test page, for example:

http://www.iol.ie/~locka/mozilla/calendar_scripted.htm

The calendar shows up just fine-- however, it can't be scripted (the JS console complains that invoke, setProperty, and getProperty are not functions).

I've already tweaked all the security settings files I can find, even setting them to suicidally low values:

defaults/pref/activex.js
pref("security.xpconnect.activex.global.hosting_flags", 31);
pref("security.classID.allowByDefault", true);
/* InkEdit */
pref("capability.policy.default.ClassID.CIDE5CA59F5-57C4-4DD8-9BD6-1DEEEDD27AF4", "AllAccess");

components/nsAxSecurityPolicy.js
const kDefaultGlobalHostingFlags = kNoSecurityHostingFlags;
const kDefaultOtherHostingFlags  = kNoSecurityHostingFlags;

No luck. I'd rather not have to build a custom COM Connect build every time a new version of firefox comes out, and deploy it to thousands of machines each time-- not to mention that you can't use the XPConnect scripting with that, which means applications would have to be rewritten.

Anyone know why I can't script ActiveX controls like I could in Mozilla 1.3, or anything else that I might have missed?

Thanks,

Jason Pettiss
Catalis, Inc
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding

Reply via email to