It is corrected. If we save the data with textual format, the user can be easily modify them. I said I will store the data in '.dat' or '.txt' file because I have two sample programs that they all are put the data in that file.
Another thing is I am not familiar with OS. If so, I don't know how to use the registry. Do you have a sample code written in Registry?
hello zawpai......look in the attachment.
there is a code for you showing how to read and write using windows registry.
when you run the code the login form opens and it will ask you to enter new username & password. enter those and click save. next time you run the program you can login using the previously stored info. well this is just a sample snippet. this is not all. this code can be made more advanced and secure based on program requirement.
check this out and give me your feedback. if you got any questions ask me here.