if I write (in IIS 5.1), in an .asp page: <% var flnm="c:\\test.txt"; var fs=Server.CreateObject("Scripting.FileSystemObject"); var strm = fs.OpenTextFile(flnm, 1); .... %> the browser will show: "waiting for [name website]" and do nothing. What is wrong in this code? -- Peter J. Veger, Best Netherlands
Peter J. Veger wrote: > if I write (in IIS 5.1), in an .asp page: > > <% > var flnm="c:\\test.txt"; > var fs=Server.CreateObject("Scripting.FileSystemObject"); > var strm = fs.OpenTextFile(flnm, 1); > ... > %> > > the browser will show: "waiting for [name website]" and do nothing. > > What is wrong in this code? > > Nothing. http://www.aspfaq.com/show.asp?id=2180 -- Microsoft MVP -- ASP/ASP.NET Please reply to the newsgroup. The email account listed in my From header is my spam trap, so I don't check it very often. You will get a quicker response by posting to the newsgroup.