Hi, Iam trying to put username and password in some dat file(ADMIN.DAT)from changeLogin page and getting/retreiving username and password from another page from ADMIN.DAT file....
My problem is username and password details are getting stored in dat file in readable text format NOT IN BINARY..
Writing into file part is
dname = My.DataFile("ADMIN.DAT")
fnum = FreeFile
Open dname For Binary Access Write As #fnum
Put #fnum, , uname
Put #fnum, , pwd
Close #fnum
Reading from file part is
dname = My.DataFile("ADMIN.DAT")
fnum = FreeFile
Open dname For Binary Access Read As #fnum
Get #fnum, , uname
Get #fnum, , pwd
Close #fnum
Any suggestions plz...