reading and inputing .dat file data 
Author Message
 reading and inputing .dat file data

I have a file called userinfo.dat and I have my program write to it now I
want it to read and show that data in two text boxes called txtUserName and
txtPassword. This is what is in the userinfo.dat file:

I want the "hello" to be in the txtUserName and the "world" in the
txtPassword feild.
Can anyone help me out here??


P.S. I'm using VB 6

Thu, 05 May 2005 11:21:07 GMT  
 reading and inputing .dat file data
Dim ss As String

Open "d:\tfile.txt" For Input As #1

Input #1, ss

Input #1, ss

Close #1


(This posting is provided "AS IS", with no warranties, and confers no

Sat, 07 May 2005 18:21:36 GMT  
 [ 2 post ] 

 Relevant Pages 

1. inputing data from a file

2. HELP : read C-ISAM files (.dat) with Visual Basic

3. qbasic problem with reading .dat files

4. Reading DAT and IDX files.

5. Program to read DAT files

6. Reading IDX and DAT files

7. Who knows how to read a .Dat file in vb

8. Reading IE's index.dat files

9. Reading a record from a .dat file

10. Reading REG.DAT file

11. HELP : read C-ISAM files (.dat) with Visual Basic

12. Read Btrieve .DAT and .REF files from VB5


Powered by phpBB® Forum Software