Re:Ask HN: Is there ever a reason to use ActiveX?
by ForHackernews on Friday February 27, 2015 @06:03PM
(#9121936)
Theoretically, in some kind of intranet office application that needed to access Windows or MS Office APIs. I'm having trouble coming up with a hypothetical example, but that's the sort of thing where it might make sense.
[ Parent
| on HN ]
Re:Ask HN: Is there ever a reason to use ActiveX?
by paulmd on Friday February 27, 2015 @08:41PM
(#9122434)
You shouldn't be touching Windows APIs from a browser applet, ever. Period. Whatever system does that should be rebuilt posthaste. With credit to @api - something like that is like driving drunk, an accident is inevitable.
Microsoft makes a C# library that handles MS Office API interop. If that were the task I'd look at a .Net desktop application - or an applet-type arrangement of some kind. Dropper page + .Net application? Dropper page + Applet page that communicates to a .Net wrapper layer? Silverlight maybe? Something like that.