Hey,

Say if i made a program where people could register a account, but if they closed the window, the program would close and not remember passwords yeah? Well if i used the open file etc could i save the password's to a file so it remembered them?

Many Thanks.

PS. DO NOT POST CODE, I AM JUST ASKING

I guess you can write your password into a txt file and then access it when ever you want. But the bad part is that anyone else can directly open up the txt file and know what your password is.

So, what would be the best solution?

Try using a .bin file (binary)... this will make it nearly impossible for the average user to access your password database.

Cool :D.

Thank you.

I kind of said no code, but when opening the file would i just use

myfile.open ("blackmagic.bat");

Many thanks.

So..

myfile.open ("blackmagic.bat");

Is that not any good?

(SORRY FOR DOUBLE POSTING)

I have noticed i kept using "blackmagic.bat" and re-read the posts and i need a bin file, would i just create a file in notebook and save it as blackmagic.bin?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.