用FSO,就是判断那个文件是否存在.

解决方案 »

  1.   

    用xmldom还是xmlhttp去load一个过来,要是抛出了异常就是空的咯。
      

  2.   

    there is no general way to do it on the client side, although people use onerror event on <IMG>, <LINK> or <OBJECT> to test if a site is available (you have to add the right url for an image, css file or class/ocx file)but you can do it on the server, but sending a "HEAD" request with the URL to the remote site, if you get a status of 404, you know the link is bad
      

  3.   

    还有一个问题,怎么设置ActiveX控件的安全性
      

  4.   

    you need to change registry settings