|
-
Apr 22nd, 2006, 02:27 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Reading from text file
Hi,
I have a text file (Data.dat) containing the following.
MasterFile, Date
c:\kbengg\estimate\database\01122000.dat,"On 01-Dec-2000"
c:\kbengg\estimate\database\01012002.dat,"On 01-Jan-2002"
c:\kbengg\estimate\database\01012006.dat,"On 01-Jan-2006"
In VB 6.0, I have a form; Is it possible to set form.caption to the value read from the text file.
The program should go to the last line of the text file "Data.dat" and read the value in the quotes.
For example form.caption ="On 01-Jan-2006"
The data.dat file is in c:\kbengg\estimate\database\
I will thankful for any help..
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
|