954,558 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Login Screen with VB6 and Access

Hey all. Im just learning VB and i want to make a login screen for my program. there will be two textboxes and a command button. When you click the command button it checks the information with whats in the database and if its correct loads the next form and if its not comes up with an error. Ive made the database with two fields: Username and Password but i dont know how to set up the code in VB6 and get it to work.

Any help appreciated.

Thanks

Pointblank5600
Newbie Poster
5 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 

Do you know how to connect to databases (Access in this case) and read data ? If you don't, u should read that first. This login screen is quite easy to do, if you have that knowledge

aparnesh
Junior Poster
194 posts since Jul 2005
Reputation Points: 20
Solved Threads: 10
 
Do you know how to connect to databases (Access in this case) and read data ? If you don't, u should read that first. This login screen is quite easy to do, if you have that knowledge



Well i got it working now, but if you any good sites that have info on acess and vb together then that would be cool

Thanks

Pointblank5600
Newbie Poster
5 posts since Oct 2006
Reputation Points: 10
Solved Threads: 0
 
Comatose
Taboo Programmer
Team Colleague
2,910 posts since Dec 2004
Reputation Points: 361
Solved Threads: 215
 

Hi, can u give an example of your code as I am having the same problem. Thanks :)

Auton710
Newbie Poster
1 post since Dec 2011
Reputation Points: 10
Solved Threads: 0
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You