Click here to Skip to main content
15,891,184 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: Entity Framework : Which method has better performance ? Pin
Dave Kreskowiak15-Feb-15 16:21
mveDave Kreskowiak15-Feb-15 16:21 
Questionsteganography Pin
Member 1142179312-Feb-15 9:57
Member 1142179312-Feb-15 9:57 
AnswerRe: steganography Pin
Richard MacCutchan12-Feb-15 22:38
mveRichard MacCutchan12-Feb-15 22:38 
AnswerRe: steganography Pin
GuyThiebaut12-Feb-15 22:49
professionalGuyThiebaut12-Feb-15 22:49 
QuestionHow do I recognize a wrong password ? Pin
Member 1144766212-Feb-15 5:48
Member 1144766212-Feb-15 5:48 
AnswerRe: How do I recognize a wrong password ? Pin
Dave Kreskowiak12-Feb-15 5:53
mveDave Kreskowiak12-Feb-15 5:53 
GeneralRe: How do I recognize a wrong password ? Pin
Member 1144766212-Feb-15 7:41
Member 1144766212-Feb-15 7:41 
GeneralRe: How do I recognize a wrong password ? Pin
Dave Kreskowiak12-Feb-15 8:18
mveDave Kreskowiak12-Feb-15 8:18 
I just find it amazing that people don't know how to ask questions. Just saying "my code doesn't work" and not providing any context or description of what was done just wastes time. This happens several dozen times per day.

In your case, you code is assuming there are two forms. The first is one where a user logs into the application and the second is where the username and password are being stored. This is NOT standard at all. You normally don't store usernames and passwords in forms. They are normally stored in databases, and in the case of school projects, plain text files.

You might want to think about giving descriptive names to your forms and controls. Leaving them with the default names of "TextBox5" doesn't help because you have no idea what that text box is used for.

The problem you're having is that you're simply comparing the wrong strings to each other and not coming up with a match.
A guide to posting questions on CodeProject

Click this: Asking questions is a skill.
Seriously, do it.

Dave Kreskowiak

QuestionHow do I play a song within a program ? Pin
Member 1144766212-Feb-15 4:27
Member 1144766212-Feb-15 4:27 
AnswerRe: How do I play a song within a program ? Pin
Dave Kreskowiak12-Feb-15 5:12
mveDave Kreskowiak12-Feb-15 5:12 
GeneralRe: How do I play a song within a program ? Pin
AccessDeveloper12-Feb-15 5:22
AccessDeveloper12-Feb-15 5:22 
QuestionHow do I run a song on vb ? Pin
Member 1144766212-Feb-15 4:25
Member 1144766212-Feb-15 4:25 
AnswerRe: How do I run a song on vb ? Pin
Dave Kreskowiak12-Feb-15 5:11
mveDave Kreskowiak12-Feb-15 5:11 
GeneralRe: How do I run a song on vb ? Pin
Member 1144766212-Feb-15 5:15
Member 1144766212-Feb-15 5:15 
GeneralRe: How do I run a song on vb ? Pin
Dave Kreskowiak12-Feb-15 5:52
mveDave Kreskowiak12-Feb-15 5:52 
Questionvb code for speech? Pin
Member 1144760612-Feb-15 4:09
Member 1144760612-Feb-15 4:09 
AnswerRe: vb code for speech? Pin
Eddy Vluggen12-Feb-15 5:37
professionalEddy Vluggen12-Feb-15 5:37 
AnswerRe: vb code for speech? Pin
Member 1144787312-Feb-15 5:59
Member 1144787312-Feb-15 5:59 
AnswerRe: vb code for speech? Pin
Chris Quinn13-Feb-15 0:30
Chris Quinn13-Feb-15 0:30 
QuestionOwner drawn ComboBox issues. Pin
D.VanKeuren11-Feb-15 11:35
D.VanKeuren11-Feb-15 11:35 
QuestionHow to detect a mouse click outside a focused control Pin
dilkonika9-Feb-15 18:22
dilkonika9-Feb-15 18:22 
AnswerRe: How to detect a mouse click outside a focused control Pin
Richard MacCutchan9-Feb-15 22:20
mveRichard MacCutchan9-Feb-15 22:20 
GeneralRe: How to detect a mouse click outside a focused control Pin
dilkonika10-Feb-15 4:06
dilkonika10-Feb-15 4:06 
AnswerRe: How to detect a mouse click outside a focused control Pin
Richard Andrew x6410-Feb-15 4:58
professionalRichard Andrew x6410-Feb-15 4:58 
GeneralRe: How to detect a mouse click outside a focused control Pin
dilkonika10-Feb-15 5:03
dilkonika10-Feb-15 5:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.