Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Pro VB 6
|
Pro VB 6 For advanced Visual Basic coders working in version 6 (not .NET). Beginning-level questions will be redirected to other forums, including Beginning VB 6.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old April 29th, 2004, 11:52 AM
Authorized User
 
Join Date: Jun 2003
Posts: 71
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to rylemer Send a message via MSN to rylemer Send a message via Yahoo to rylemer
Default Read LF(Line Feed) at the end of the lines

Hi! to all,

I need help on how to read a text file with a LF(line Feed) at the end of the lines.

Thanks,
Elmer
 
Old April 30th, 2004, 02:16 AM
Authorized User
 
Join Date: Aug 2003
Posts: 44
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I don't know what your exact problem is but this might help:

Do While Not EOF(FileNr)

  Line Input #FileNr, strLine
  'do stuff with your line here

Loop

Greetz

Tom





Similar Threads
Thread Thread Starter Forum Replies Last Post
Line feed in plain text email takabyte PHP How-To 1 November 29th, 2007 03:09 PM
Read Excel Lines VBA gbvdh VB How-To 0 February 26th, 2007 08:44 AM
How to read file line by line in EVC++ iriskab Visual C++ 0 September 27th, 2006 01:39 PM
Outputting an end of line y_simonson XSLT 1 February 5th, 2004 05:57 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.