This site is no longer active, all members have migrated to devotedcheating.com . Thankyou
This site is no longer active, all members have migrated to devotedcheating.com . Thankyou
Would you like to react to this message? Create an account in a few clicks or log in to continue.



 
Actionhacks.netHomeLatest imagesRegisterLog in

 

 Basic password lock.

Go down 
3 posters
AuthorMessage
Rexgr
Coder
Rexgr


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

Basic password lock. Empty
PostSubject: Basic password lock.   Basic password lock. EmptySat 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
Flyindingo


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

Basic password lock. Empty
PostSubject: Re: Basic password lock.   Basic password lock. EmptySat 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
Rexgr


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

Basic password lock. Empty
PostSubject: Re: Basic password lock.   Basic password lock. EmptySat 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
Morphed


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

Basic password lock. Empty
PostSubject: Re: Basic password lock.   Basic password lock. EmptySun Dec 06, 2009 4: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
Sponsored content





Basic password lock. Empty
PostSubject: Re: Basic password lock.   Basic password lock. Empty

Back to top Go down
 
Basic password lock.
Back to top 
Page 1 of 1
 Similar topics
-
» Basic fstream -- Saving files.
» Creating a Basic trainer for .exe files
» Basic 'Block User Input' program.
» Very Basic assault cube:: Single Player Hacks
» Simple Password Protection code that plays a BeepSong

Permissions in this forum:You cannot reply to topics in this forum
 :: Public Section: Coding :: Visual Basic 2008 :: Tutorials-
Jump to: