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..