473,396 Members | 1,938 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Simple Password Authentification

Hi Group,

I have VB.NET and wanted to build a simple User/Password Login for My App.

I have a Database with 3 Field, PrimaryID, UserName & Password. I want to be
able to have a ComboBox look at the UserField and then the User type in the
Password, how would I do something like this?

Does anybody know of any Example anywhere?

Any help Much Appreciated

Ta
Si
Nov 20 '05 #1
1 1066
Hey

On a VB form place a combo box for the user names and a
text bot for the password and a command button for login

On the form load event connect to ur database and retrive
the user names from the respective field and populate the
user names to the combo box.
On the command click event write the following code for
authentication:

dim Pwd as string
Pwd=[GET THE password of the user from the database by
SQL query]
if TxtPassword(Password text box).Text=Pwd then
Successful Authentication
else
TRy again
End if
-----Original Message-----
Hi Group,

I have VB.NET and wanted to build a simple User/Password Login for My App.
I have a Database with 3 Field, PrimaryID, UserName & Password. I want to beable to have a ComboBox look at the UserField and then the User type in thePassword, how would I do something like this?

Does anybody know of any Example anywhere?

Any help Much Appreciated

Ta
Si
.

Nov 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Laurent | last post by:
Hello, I have some problems with ldap and php fot my authentification. I don't understand why. My DN is correct in my ldap server Can you help me please? My php script : $login = $_POST;...
0
by: Laurent | last post by:
Hello, I have some problems with ldap and php fot my authentification. I don't understand why. My DN is correct in my ldap server Can you help me please? My php script : $login = $_POST;...
0
by: maxx | last post by:
Hi, I want use the header authentification (HTTP/PHP module), and i've a big problem for to get the varaibles 'PHP_AUTH-*". This is my source code :...
0
by: Nic | last post by:
Bonjour Je n'arrive pas à afficher une page web apres l'authentification en utilisant le mode formulaire en ASP.NET. J'utilise la fonction de redirection ("RedirectFromLoginPage"). Sur certain...
2
by: Junky | last post by:
Hi folks, well, I've read some articles on authentification, but somehow I can't get along with what I need. I need to get the login name from the OS to check if this person is even able to...
6
by: SalamElias | last post by:
I have an application where I added the attribute requireSSL="false" in the authentification elemnt in the dev environment and the apllication compile with no problem. What I want to do is, In...
1
by: bob | last post by:
1) Authentification NT: En ASP (pas ASP.Net), comment on recupere le login/pwd windows ? On veut automatiquement authentifier un utilisateur d'après son login NT (il a pas besoin de se...
1
by: HIK | last post by:
I am porting an ASP.net 1.1 application from a win2K server to win2k3 server. The application uses forms authentification. The authentification information is in a query string. The user goes...
2
by: Greg Hill | last post by:
Hi I'm trying to access a web server that requires authentification for a https page. I can access http pages on that server but get "(401) Authentification Error" for the https page. I have a...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.