login form
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.
Please LOCK your topics once you have found the solution to your question so we know you no longer require help with your query.
6 posts
Page 1 of 1
there is login form..
before they see the tools..
they must login first ?
help me
thanks
before they see the tools..
they must login first ?
help me

A very basic way of doing this is to use two settings for example username and password.
Use two forms, one is the form with the tools and the second is the login form. the startup form is the login. Use two text boxes and a button, when you click the button check the textboxes text to see if they match the settings.
For example:
Use two forms, one is the form with the tools and the second is the login form. the startup form is the login. Use two text boxes and a button, when you click the button check the textboxes text to see if they match the settings.
For example:
Code: Select all
If txtUser.text = My.Settings.username Then
'the username was correct, now check the password'
If txtPassword.text = My.Settings.password Then
'password was correct'
frmTools.Show()
Else
MsgBox("Password was incorrect!")
End If
Else
MsgBox("username was incorrect!")
End If
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
If you have no luck with this I'll make a better example and share it with you 
I'll even help via Teamviewer if you'd like.

I'll even help via Teamviewer if you'd like.
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
I've replied to your private message.
My name is Tom | Visit my blog where I post new content every day! Tom's Daily Blog | MineCraft is awesome!
6 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023