How to call DLL in Javascript

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi All,

I want to call dll in javascript

I tried the following script, but i got the error message 'ActiveXObject is undefined'
(Note : i have the feedback.dll in the same path only)


<HTML>
<HEAD>
<script type='text/javascript' language='javascript'>
function comEventOccured()
{

   try{
       var myobject;
       myobject = new ActiveXObject("feedback.dll");
   }catch(e){
       alert(e.description);
       return false;
   }

}
</script></head>
<body>
<input  type=button value="Call the DLL"  onClick="comEventOccured()">
</body>
</html>



Regards
Peter.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux