Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open file problem!

Status
Not open for further replies.

HellishER

Programmer
Jun 10, 2002
4
0
0
SE
Im want to make so when you save a file it save first the password on top in the file then the text from a text box below the first row in the file... How do i do that? I need to now how to load this!!

Here is the load code that dont work. But the save code seams to work!

ff = FreeFile
Open App.Path & "\data.dat" For Input As #ff
Input #ff, sPassword
txt_Depths.Text = Input(LOF(ff), ff)
Close #ff

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top