πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1201

Script non funzionante in XP

#1201
From: Walter
Date: Thu, 22 Jul 2004 21:15
44 lines
2033 bytes
Il seguente file ASP mi funziona perfettamente su un server Win2000
Professional, ma se lo eseguo su Win XP Professional NON FUNZIONA,

perchοΏ½?

Walter







<%
Dim objFSO, objTextFile
Dim sRead, sReadLine, sReadAll
Const ForReading = 1, ForWriting = 2, ForAppending = 8

Set objFSO = CreateObject("Scripting.FileSystemObject")
Set objTextFile =
objFSO.CreateTextFile("C:\Inetpub\wwwroot\prova\HowToDemoFile.txt", True)

' Write a line with a newline character.
objTextFile.WriteLine("This line is written using WriteLine().")

' Write a line.
objTextFile.Write ("This line is written using Write().")

' Write three newline characters to the file.
objTextFile.WriteBlankLines(3)

objTextFile.Close

' Open file for reading.
Set objTextFile =
objFSO.OpenTextFile("c:inetpub\wwwroot\prova\HowToDemoFile.txt", ForReading)

' Use different methods to read contents of file.
sReadLine = objTextFile.ReadLine
sRead = objTextFile.Read(4)
sReadAll = objTextFile.ReadAll

objTextFile.Close
%>
Technical Details
Message-ID: <i8WLc.32728$OR2.1717729@news3.tin.it>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,fbb05f6ca1906ac6,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsgate.cistron.nl!newsfeed.nextoneserver.com!news-out.tin.it!news-in.tin.it!news3.tin.it.POSTED!not-for-mail
Reply-To: "Walter" <walter@photos.it>
From: "Walter" <walter@photos.it>
Newsgroups: free.it.visual-basic
Subject: Script non funzionante in XP
Lines: 46
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Message-ID: <i8WLc.32728$OR2.1717729@news3.tin.it>
Date: Thu, 22 Jul 2004 21:15:58 GMT
NNTP-Posting-Host: 80.181.165.68
X-Complaints-To: "Please send abuse reports to abuse@tin.it and technical notifications to newsmaster@tin.it"
X-Trace: news3.tin.it 1090530958 80.181.165.68 (Thu, 22 Jul 2004 23:15:58 MET DST)
NNTP-Posting-Date: Thu, 22 Jul 2004 23:15:58 MET DST
Organization: TIN