I have done a windows form application that I have debugged in "Release Mode".
I need to ask 2 questions at the same time because I think they depend on eachother and that is my questionmark:
1. When starting this program, there will be a panel visible where you will enter: UserName and Password and when you write these correct the panel will be panel1->Visible = false; and some other buttons on the form will be ->Enabled = true; etc...
2. Now is the question also when you have written the correct Username and password I would like the panel to never show up again as you have written the correct one, once.
How would this be possible to do ?
I know that I could create a .txt file that contains any information under for example: C:\\Windows\\registerdoc.txt
that the application reads from in order to not show the panel1 but can this really be the correct way to do this and other computers perheps doesn´t use C:\\ but for example G:\\ and so on ?