Read the content that stored inside a text file.
Printable View
Read the content that stored inside a text 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...