Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
inet
active_desktop
active_scrptng
asp.components
asp.db
asp.general
comctl32
comp.packaging
components.dev
dbweb
dhtml_editing
docobjects
html_authoring
html_objmodel
iis
iis.ftp
iis.security
iis.smtp_nntp
indexserver
misc
mshtml_hosting
scripting.jscript
scripting.vbscript
sdk_setup
shell_objmodel
urlmonikers
webbrowser_ctl
wininet
  
 
date: Thu, 15 Dec 2005 23:18:27 +0100,    group: microsoft.public.inetsdk.programming.scripting.jscript        back       


Server.CreateObject("Scripting.FileSystemObject")   
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
date: Thu, 15 Dec 2005 23:18:27 +0100   author:   Peter J. Veger

Re: Server.CreateObject("Scripting.FileSystemObject")   
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.
date: Thu, 15 Dec 2005 17:35:10 -0500   author:   Bob Barrows [MVP] com

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us