所有的ActiveX被VBScript调用的时候IE认为是不安全
可以设置ie的安全等级

解决方案 »

  1.   

    我认为不是这样的
    同样的设置,Netants和FlashGet的ActiveX就可以跑
    我的就出提示
    我的Dll是用Delphi写的,有关系吗?
      

  2.   

    我认为关键在于:你没有获得安全性认证,即没有数字证书
    另外
    to dancemaple(枫之舞):好象不是微软的认证,因为我曾经遇到过微软的控件因没有认证而被认为是不安全的。 
      

  3.   

    to qqcxg(爱谁谁) :
    怎么获得安全认证呢?
      

  4.   

    需要数字签名,可以申请一个数字证书,用M$的一个工具加在你要发布的控件上,就可以了.http://ca.pku.edu.cn 可以申请免费的证书.
    再去M$下载这个来制作http://msdn.microsoft.com/MSDN-FILES/027/000/219/codesign.exe下边是说明Authenticode for Internet Explorer 5.0  
    This consists of programs to digitally sign files and programs to check that the files were successfully signed. The programs are: MakeCert—creates a test X.509 certificate.
    Cert2SPC—creates a test SPC.
    SignCode—signs a file.
    ChkTrust—checks the validity of the file.
    MakeCTL—creates a certificate-trust list.
    CertMgr—manages certificates, certificate-trust lists, and certificate-revocation lists.
    SetReg—sets registry keys that control the certificate-verification process.
    MakeCat—creates a combined catalog of files to avoid multiple trust dialogs.
     Authenticode for Internet Explorer 5.0  
      

  5.   

    这要分2步
    1需要数字签名,否则IE不会下载或提示无签名
    2需要实现IObjectSafty接口,否则IE会提示不安全(即使有数字签名),或者在cab中写注册表,若vb的安装程序,见msdn
      

  6.   

    vb安装程序也有问题,建议最好用IObjectSafty接口在控件中实现,这样能彻底摆脱安全提示!