|
-
December 10th, 1999, 04:03 AM
#1
How to read the content of a local file.
Read the content that stored inside a text file.
-
December 10th, 1999, 04:28 AM
#2
Re: How to read the content of a local file.
Hi,
First of all, you have to open the file for reading, with this code
Open "c:\test.txt" for Read as #1
'then do whatever you want, maybe you would like to pass something to a variable
Then you close the file after reading
Close #1
You have to close the file once you are done with it.I think that's about it. If you want to learn more about this, go to Microsoft's MSDN site at
http://www.msdn.microsoft.com
Hope that this helps.
____________________________________
The VB Bugs in my Life...
-
December 10th, 1999, 09:05 AM
#3
Re: How to read the content of a local file.
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
|