<html> <head> <script type="text/javascript"> function runXActive(){ var reg = new ActiveXObject("LQQTEST.AutoActiveXCase"); reg.Hello(); } </script> </head> <body> <input type="button" onclick="runXActive()"/> </body> </html>