|
|
|
|
|
| | |
|
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Using WriteLine |
From: |
Terry Fishman |
Date: |
10/7/1999 11:26:47 AM |
IP: |
207.175.224.30 |
Can anybody tell me why the following code does not write to existing text file on the server. The file is always blank.
The paths etc. are correct.
Set Qbooks = CreateObject("Scripting.FileSystemObject")
Set ImportFile = Qbooks.OpenTextFile("D:\wwwroot\e-wat.com\Accounting\ImportFile.iif",8)
MessageLine = ""
MessageLine = "!CUST" & Chr(9) & "NAME" & Chr(9) & "BADDR1" & Chr(9) & "BADDR2"
ImportFile.WriteLine(MessageLine)
MessageLine = ""
MessageLine = "CUST" & Chr(9) & "Peter Knight" & Chr(9) & "123 North St." & Chr(9) & "Moorpark, Ca."
ImportFile.WriteLine(MessageLine)
ImportFile.Close
Thnaks |
Follow Up - Re: Using WriteLine - Darren Menachemson 11/17/1999 9:20:57 AM
|
|
|
|
|
|
|
|
|
|
|
|