you need to lower the ActiveX security settings in the browser on the 客户机
Tools->Internet Options->Security, select Internet Zone or Intranet Zone (if you are using it on LAN), click on Custom Level.. button, set those settings about ActiveX to be "Enable"by the way, doing this is bad

解决方案 »

  1.   

    这和用delphi调用ActiveForm一样的原理,要设置浏览器的安全级别,在浏览器的“工具”中点“Internet选项"-"安全”,启用Active控件。
    为了你的安全起见,用完之后,建议再设回来,知道麻烦了吧?看你还敢不敢用这个方法编程。
      

  2.   

    没有,如果这么容易调用客户端程序,设想一下会发生什么事情:可能你打开某网页,它就调用你机器上的Format.com程序,那时你就向你的硬盘默哀吧。
      

  3.   

    那我把这个程序放在服务器上,在客户端可以有什么方法运行它呢?ASP.NET中服务器控件可做到吗?