Login with Combobox and Multiple Users
Heres your chance to share your own tutorials with the community. Just post them on here. If your lucky they may even be posted on the main site.
9 posts
Page 1 of 1
Hi All
Here is another very simple Tutorial on how to add a Login page to your applications and use a Combobox to add as may people as you like with different passwords. This can be usefull if you are designing something for multiple users.
The code goes on the Enter Button
I have used 5 names in my Combobox Example ( which you add in the Properties in the Collections tab)
and 1 textbox
and 6 forms ( each form links to Name that is selected )
and 1 button
But you can adapt it to suit yourselves.
![Image]()
![Image]()
![Image]()
![Image]()
Hope this is usefull to you all.
Chris
Here is another very simple Tutorial on how to add a Login page to your applications and use a Combobox to add as may people as you like with different passwords. This can be usefull if you are designing something for multiple users.
The code goes on the Enter Button
Code: Select all
I'm sure this could be adapted for use for .Net applications as well.If ComboBox1.SelectedItem = "David Hurst" And TextBox1.Text = "admin" Then
MsgBox("Welcome David")
Me.Hide()
Form2.Show()
End If
If ComboBox1.SelectedItem = "Mike Freder" And TextBox1.Text = "Coder" Then
MsgBox("Welcome Mike")
Me.Hide()
Form3.Show()
End If
If ComboBox1.SelectedItem = "Gary Wilkinson" And TextBox1.Text = "Tech Help" Then
MsgBox("Welcome Gary")
Me.Hide()
Form4.Show()
End If
If ComboBox1.SelectedItem = "Mary Tyler" And TextBox1.Text = "Payroll" Then
MsgBox("Welcome Mary")
Me.Hide()
Form5.Show()
End If
If ComboBox1.SelectedItem = "Rachel Weise" And TextBox1.Text = "Management" Then
MsgBox("Welcome Rachel")
Me.Hide()
Form6.Show()
End If
I have used 5 names in my Combobox Example ( which you add in the Properties in the Collections tab)
and 1 textbox
and 6 forms ( each form links to Name that is selected )
and 1 button
But you can adapt it to suit yourselves.




Hope this is usefull to you all.
Chris
Is it necessary to have your address in the credits? omg;
Hi Cali
Its a Fictitious Name :lol: But you are willing to call me or email me at the address if you like :P
Its a Fictitious Name :lol: But you are willing to call me or email me at the address if you like :P
Nice one! But everyone can crack the password easily!
Nice one! But everyone can crack the password easily!"Is that so"
Please POST a TUTORIAL on How YOU can Stop People Cracking it ;)
hungryhounduk wrote:or better yet show how they crack itNice one! But everyone can crack the password easily!"Is that so"
Please POST a TUTORIAL on How YOU can Stop People Cracking it ;)
Nailing my feet to the floor is easier than using my own muscles to balance, but you don't see me doing that 

or better yet show how they crack itmmm Sorry not on this Site ( read the Forum Rules) cooll;
Cool.But I already knew this.
‼ <----- Copy it,it is together and if you backspace it it will both erase
☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !"<-----Some Cool symbols.
♂<-----Boy Symbol
²ƽ<--------Mini 2 and 5!
ð<----Not sure what it is.
☺☻<-----Smiles
♪♫<----Music Notes
Others:ß┬ƒ○║■ã¿┼↑
☺☻♥♦♣♠•◘○◙♂♀♪♫☼►◄↕‼¶§▬↨↑↓→←∟↔▲▼ !"<-----Some Cool symbols.
♂<-----Boy Symbol

²ƽ<--------Mini 2 and 5!
ð<----Not sure what it is.
☺☻<-----Smiles
♪♫<----Music Notes
Others:ß┬ƒ○║■ã¿┼↑
9 posts
Page 1 of 1
Copyright Information
Copyright © Codenstuff.com 2020 - 2023