Click here to Skip to main content
15,887,936 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hello Code Project,

I am creating windows application using vb.net 2010 with mysql as my backend. It has a login window where the user input its username. My question is how to create this event? I want that if a user enters a wrong username (or not in the record of the database) it will prompt a form as msgbox but if the user enters a correct username (which is in the record of the database) the login window will hide. Thank guys!
Posted
Comments
[no name] 24-May-13 15:58pm    
"how to create this event". what event are you hoping to create?
"I want", okay so go ahead. What is the question and/or problem? Connect to your database, execute your query, check the result and then do whatever you need to do based on the result.
athan_makubex 24-May-13 16:02pm    
Hi ThePhantomUpvoter, thank you for quick reply, my question is how to search in mysql records using vb.net and prompt the user if he enters a username which is not in the record?
[no name] 24-May-13 16:05pm    
Which part of "Connect to your database, execute your query, check the result and then do whatever you need to do based on the result." is that you are having trouble with?
athan_makubex 24-May-13 16:10pm    
Yes that's what i mean.

1 solution

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