|
-
December 7th, 1999, 10:32 AM
#1
How do you read from a file?
how do you read a file? say a .txt file. thanks
PanasonicSubz
-
December 7th, 1999, 10:50 AM
#2
Re: How do you read from a file?
dim h as integer
h = freefile
dim strLine as string
open "yourfile.txt" for input as #h
do while not eof( h)
line input #h, strLine
' do something with strLline
Loop
close #h
-
December 10th, 1999, 09:13 AM
#3
Re: How do you read from a file?
Look also follow sample about file:
How to load a text file into a textbox in one call.
http://vbcode.webhostme.com/en/code.asp?id=57
[email protected]
http://vbcode.webhostme.com/
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|