Click here to Skip to main content
15,889,873 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
Posted
Comments
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.

Hi,
Write the Following code in Button_Click Event-
VB
If Textbox1.Text="UserName" And Textbox2.Text="Password" Then
MsgBox("Login Successful")
Else
MsgBox("Login Failed")
End If
 
Share this answer
 
v2
 
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