Guys i have problem about fle handling..
i dont know howto update the text in the file.. or in the NOTEPAD
this is my code..
Private Sub cmdUpdate_Click()
Dim ndx As Byte
Dim tmp As String
Open App.Path & "\data.txt" For Output As #1
Write #1, txtname, txtaddress, txtphone.Text
lstcontact.AddItem (Chr(34) & txtname & Chr(34) & "," & Chr(34) & txtaddress & Chr(34) & "," & Chr(34) & txtphone & Chr(34))
that's the code guys.. when i run the program.. never be update at
the text file... it will Rewrite all in side the text file all datea will replace a new data...
hope some one help me thanks ^^:icon_smile: