Login?

Do you need something made? then ask in here.
Forum rules
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
3 posts Page 1 of 1
Contributors
User avatar
NeedHelp
Member
Member
Posts: 42
Joined: Fri Feb 19, 2010 3:57 pm

Login?
NeedHelp
How can i make a Remember me checkbox?

Which saves Textbox1 and Textbox2 =)?
GoodGuy17
Coding God
Coding God
Posts: 1610
Joined: Mon Sep 07, 2009 12:25 am

Re: Login?
GoodGuy17
Make 3 settings.
One named un
One named p
One named rm(change it to a boolean value.)
Put a check box
On checkbox check Put
Code: Select all
My.settings.rm = true
my.settings.un = textbox1.text
my.settings.p = textbox2.text
my.settings.save
my.settings.reload
Then, in form load put this:
Code: Select all
if my.settings.rm = true then
textbox1.text = my.settings.un
textbox2.text = my.settings.p
checkbox1.checked = true
else
checkbox1.checked = false
end if
tell me if it didnt work, i didnt test it in vb, dont have the time.
User avatar
MasterCoding
Top Poster
Top Poster
Posts: 156
Joined: Sat Oct 24, 2009 4:26 pm

Re: Login?
MasterCoding
there is already a tutorial maked for this

viewtopic.php?f=38&t=587

check it out
3 posts Page 1 of 1
Return to “Tutorial Requests”