HI we are trying to access ActiveX in Netscape through javascript... We have successfully called ActiveX in Netscape but when we are trying to call a method of Activex in javascript, we get the following error "document.<activexCtrlName> has no properties". I am using Esker ActiveX plugin for NetScape. The call to ActiveX method is made in hello() method of javascript(document.Activex.checkVnc())
The code is:
<BODY > <h2>ActiveX</h2><br> <script> if (navigator.appName == "Netscape") { if (npeskp32Installed ()) { document.write ('<embed type="application/x-eskerplus"'); document.write (' id="Activex"'); document.write (' classid="clsid:96A55E21-0766-4AB8-BD87-01DCBF21EB90"'); document.write (' codebase="http://191.55.1.101:8080/gmivnc/VncApplet.ocx"'); document.write (' width=150'); document.write (' height=100'); document.write (' MAYSCRIPT = true>'); } } else { document.write ('<object'); document.write (' id="Activex"'); document.write (' classid="clsid:96A55E21-0766-4AB8-BD87-01DCBF21EB90"'); document.write (' codebase="http://191.55.1.101:8080/gmivnc/VncApplet.ocx"'); document.write (' width=150'); document.write (' height=100'); document.write (' MAYSCRIPT = true>'); document.write ('</object>'); } function hello() { alert("hello active x and aplet"); var flg = document.Activex.checkVnc(); alert(flg); alert("after about box call"); } </script> <form name ="frm"> <input type="button" name="click" value="click" onClick="hello()"> </form> </body> if anybody has idea please help me. Thanks in advance Deepak deepaky@momentum-tech.com
I'm really down on ActiveX in Netscape. The plug-in we used to make our timesheet software package's activeX work torpedoed the Sun Java Plug-In. No Java applets needing the plug-in would run at all.
Customer surveys are for companies who didn't pay proper attention to begin with.
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.