NENNERT4 wrote:
IM MAKING A PROGRAM, AND I WANTED TO HAVE LIKE A PASSWORD TO GET INTO THE PROGRAM, BUT I DONT KNOW HOW TO GO ABOUT IT...CAN YOU HELP ME OUT?
Try creating a basic (unencrprted) password first:
create file pass.dat:
Code:
password_here
in file.bas
Code:
file$="pass.gam"
....
tmp = FREEFILE
open it for append (creates file if no exist)
close it
....
open it for read
read first line into password
close it
.....
ask for password with print
loop until a$=enter
a$=inkey$
s$ = s$+a$
end loop
if s$ = pass
that was in psudocode. If you want full QB code wait for my tutorial.