是的,包括internet和本地的哟。

解决方案 »

  1.   

    我把Intranet和Internet的级别调到最低了
      

  2.   

    自定义设置里面有ActiveX的设置,设为允许即可。这样做小心你的电脑被黑
      

  3.   

    我已经把级别调到最低了,把所有的ActiveX设为启用,还是不行
      

  4.   

    <html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
    <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
    <meta name="ProgId" content="FrontPage.Editor.Document">
    <title>New Page 1</title>
    <script language="JavaScript" type="text/JavaScript">
    function CreateFile()
    {
       var fso, tf;
       fso = new ActiveXObject("Scripting.FileSystemObject");
       tf = fso.CreateTextFile("c:\\testfile.txt", true);
       // 写一行,并且带有新行字符。
       tf.WriteLine("Testing 1, 2, 3.") ;
       // 向文件写三个新行字符。  
       tf.WriteBlankLines(3) ;
       // 写一行。
       tf.Write ("This is a test.");
       tf.Close();
    }
    </script>
    </head>
      <body onload="CreateFile()">   //添加这句就会出错
      </body>
    </html>我找到原因了,但我不知道该怎么改