help with my lock screen system? ( visual basic 2010 ! )

Posts 16 of 6 · Page 1 of 1
help with my lock screen system? ( visual basic 2010 ! )
hey guys,

i have a screen lock system i created, but for some strange reason in the settings the default password is meant to be "1234" so they can login and change it to what the like, but it just isn't working..

any advice?

please add me on skype @ connpressive then i can show you the code and everything else, making it more easy!
mate you have to show us your code if we are to be able to help.
We can't tell you anything unless you give us some code or explain us what you are trying to do.
It's simple really, all you have to do is have the customized password saved in a textfile somewhere, probably appdata.

All you have to do is check if the textfile exists.

So, once the user creates a text file, it will use that password and not the default. Though, I dunno why you need a default password..

Example:

Code:
If My.Computer.FileSystem.FileExists("C:\password.txt") Then
'read the textfile
'see if they typed in the right password
Else
If Textbox1.text = "1234" Then
Msgbox("Welcome! Please create a password.")
'execute a new form to come up for them to enter a password
End If
End If
Quote Originally Posted by Cryptonic View Post
It's simple really, all you have to do is have the customized password saved in a textfile somewhere, probably appdata.

All you have to do is check if the textfile exists.

So, once the user creates a text file, it will use that password and not the default. Though, I dunno why you need a default password..

Example:

Code:
If My.Computer.FileSystem.FileExists("C:\password.txt") Then
'read the textfile
'see if they typed in the right password
Else
If Textbox1.text = "1234" Then
Msgbox("Welcome! Please create a password.")
'execute a new form to come up for them to enter a password
End If
End If
thank you
well its solved!
Posts 16 of 6 · Page 1 of 1

Post a Reply

Similar Threads

Tags for this Thread

None

Need help?