This site is no longer active, all members have migrated to devotedcheating.com . Thankyou


Actionhacks.net­Home­FAQ­Register­Log in
Post new topic   Reply to topicShare | 
 

 Basic password lock.

View previous topic View next topic Go down 
AuthorMessage
Rexgr
Coder


Posts: 57
Reputation: 0
Join date: 2009-09-19
Location: New Zealand

PostSubject: Basic password lock.   Sat Sep 19, 2009 11:04 pm

alright guys its late here so I am gonna make this quick and simple.
This is a basic tutorial on how to password lock your programs in VB.net (2008).
first of all create a new form on your project and call it whatever. eg "passlock.vb"

Place inside this form 2 textboxes and one button.
doublt click the button and type...

Code:
dim user as string = textbox1.text
dim pass as string = textbox2.text
dim realuser as string = "Yourusername"
dim realpass as string = "Yourpass"
If realuser = user then
    if realpass = pass then
          messagebox.show("authentication confirmed"
    end f
end if


So the first textbox is your username box and the second is a password box.

Thats fairly basic right?
I will add more stuff and make it easier to understand later.
Back to top Go down
Http://Rexgr.net
Flyindingo
Admin
Admin


Posts: 160
Reputation: 8
Join date: 2009-09-19

PostSubject: Re: Basic password lock.   Sat Sep 19, 2009 11:08 pm

I wish we could get it to use forum usernames and passwords, but we would have to have a dedicated server and be good with mysql...

Your good Razz
Back to top Go down
http://www.ActionHacks.net
Rexgr
Coder


Posts: 57
Reputation: 0
Join date: 2009-09-19
Location: New Zealand

PostSubject: Re: Basic password lock.   Sat Sep 19, 2009 11:11 pm

Flyindingo wrote:
I wish we could get it to use forum usernames and passwords, but we would have to have a dedicated server and be good with mysql...

Your good Razz

I think some forum hosts actualy allow that. they charge like $6 extra a year though.
you can use that feature to make windows vista gadgets and programs to access your forum PM's and stuff.
Back to top Go down
Http://Rexgr.net
Morphed
Tech Support


Posts: 67
Reputation: 6
Join date: 2009-11-11

PostSubject: Re: Basic password lock.   Sun Dec 06, 2009 5:13 am

you can also just use a database with the username and passwords if its possible to get a list of users off the forum
Back to top Go down
 

Basic password lock.

View previous topic View next topic Back to top 
Page 1 of 1

Permissions of this forum:You cannot reply to topics in this forum
 :: Public Section: Coding :: Visual Basic 2008 :: Tutorials-
Post new topic   Reply to topic