ATL/COM – Checking to see if Contained within Web Browser

There are two possible ways to create an ActiveX within HTML.  The first is via an Object HTML tag: <object name=”crypt2″ width=0 height=0 classid=”clsid:3352B5B9-82E8-4FFD-9EB1-1A3E60056904″ standby=”Loading Chilkat Crypt2…” type=”application/x-oleobject” codebase=”http://www.chilkatsoft.com/download/ChilkatCrypt2.cab”> </object> The 2nd way is to dynamically instantiate it within Javascript: var crypt; crypt = new ActiveXObject(“Chilkat.Crypt2”); If the object is created from within Javascript (via CreateObject), then the ActiveX has […]