Hi,

I am using VB 6. There are two text boxes (one for username and another for password) and two command buttons (login and cancel) on one form; i.e. something like login control in .NET environment. Is there any built in control available in VB 6 or any built in template by which users will be authenticated on the database by provided username and password. I don't want to use traditional method i.e. matching usernametxt.text = table's user_name and/or passtext.txt = table's password columns.

User will send the login request through VB on login button's click and if username and password are correct then next steps else error will be returned by SQL Server Database 2005 or 2000.

Please help me.

Thank you.

Regards
Girish Sharma