Click here to Skip to main content
15,850,360 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
how to create a log in screen in winows application with constant user name nad password
OriginalGriff 12-Apr-12 3:54am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind. So "constant user name and password" don't mean a lot to us. Where are you trying to store them? What have you tried? Where are you stuck?
Use the "Improve question" widget to edit your question and provide better information.

Write the Following code in Button_Click Event-
If Textbox1.Text="UserName" And Textbox2.Text="Password" Then
MsgBox("Login Successful")
MsgBox("Login Failed")
End If
Share this answer
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900