ASP Hosting sale!
Double disk space and transfer for FREE!
Limited time offer! Act Now!

aspdev | articles | tutorials | forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Write a new line to a text file

 
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming
View previous topic :: View next topic  
Author Message
SteveT



Joined: 25 Oct 2004
Posts: 6

PostPosted: Mon Nov 08, 2004 2:07 pm    Post subject: Write a new line to a text file Reply with quote

I'm writing to a text file from ASP page, but I don't know how to tell the ASP script to write a new line to the text file. How can this be done?


Thanks,

Steve
Back to top
View user's profile Send private message
administrator
Site Admin


Joined: 01 Oct 2004
Posts: 183

PostPosted: Tue Nov 09, 2004 9:23 am    Post subject: Reply with quote

Hi Steve,

You can use the VB/VBScript vbCrLf constant which when written to a text file, represents a new line.



Cheers,
_________________
Peter
ASP & ASP.NET Articles and Tutorials
Back to top
View user's profile Send private message
Missie



Joined: 06 Feb 2006
Posts: 25

PostPosted: Tue Feb 07, 2006 8:12 pm    Post subject: Reply with quote

I also was doing this the other day. Smile I found it on another site after a lot of work. I should have just come here. Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    ASPdev.org Forum Index -> ASP programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group

SQL Tutorial