You are on page 1of 13

See Related Forum Messages: Follow the Links Below to View Complete Thread

• Check Login And Password With User Db In Win2k


• Login A User To Windows (known Password, Known Name, Just Do The Login)
• To Get The Password Of The Current Login User
• VB Code For User Login And Password Authentication
• Sending Login/password To Internet Browser Login/password Box
• ::::User Login Check With Visual Basic And MYSQL Database :::
• :::User Login Check On MYSQL Server With Visual Basic ::::
• Check User And Password In A Machine
• Check Dial-up User Name And Password
• Password And User Name In A Text File Check(i Think)
• Web Site Auto-login Post (login And Password)
• Script To Check &"user Can Not Change Password&"
• Password Protected Program And Changing User Name And Password At Run Time??
• Check If Data Is Correct. I Have A Password Check Problem .
• Login/password
• Login/Password
• Password Login
• Password Login
• ~~~ Login Password~~~
• Login Password
• Login Password
• Login Password
• Login Password
• Password Login
• Login Password
• Login ID/Password
• Password & Login
• Username & Password And Login
• Login And Password Form
• Username And Password Login
• How Should I Make This... {login And Password}
• Listbox For Login/password
• LOgin Username And Password
• Login Password And Username
• Windows XP Login Password
• How Do I Save A Login And Password
• Tapped On SQL Login Password
• Login And Password Online
• Login/Password Method
• Login And Password Query
• Login/password Tutorial
• Username/Password Login?
• Simple Login With Password
• Login And Password Code
• Login And Password Controlled By Me
• Login (and) Password Problems
• Password Login Thingy???
• Retrieve Login Name And Password
• Getting The WinNT Login Name And Password
Check Login And Password With User Db In Win2k
Hi i hope this is the right group :O)
To my problem - I need to check a login in my applikation with the user db on my server.
I have heard something about using NetUserEnum !
But i can't seem to find anything about it :O(

I do not need to get the username and password - just need to compare input with server, to see if the
user is valid.

SM0LF

Login A User To Windows (known Password, Known Name, Just Do The Login)
I think the title says all about it... I just need a simple code ( Login(Username as String, Passwort as
String) ) that does the Windows Login.

When the computer boots up, a form appears and by just klicking a button a user should be logged in.
Thats all i need

To Get The Password Of The Current Login User


is there any api in vb to get the password of the current login user ???

VB Code For User Login And Password Authentication


Hi,

Any help with this problem is much appreciated..

I have a login page connected to an Access database. I need the code that will scan the database for the
username and password combination and accept it.

I think I need a loop, or movenext and compare, but as I'm a complete noob with VB the variations Ive
tried won't work and I've been banging my head against the wall!

Thanks for your time.

Sending Login/password To Internet Browser Login/password Box


Once a browser has visited a URL that my program told it to visit how can i make my program enter in the
login/password for that url if one comes up. How could it enter the login/pass for netscape and IE
browsers.

Thanks in advance for your help.

::::User Login Check With Visual Basic And MYSQL Database :::
Hello all wonderful programmers out their I was making a desktop client for my web based inventory
software on the web it is PHP/Mysql based I am using Visual Basic on the client side to connect to my
mysql server on the web as I am mostly a PHP programmer I am stuck with The Login function in Visual
Basic with Mysql

Pls do check my code but this is not working as expected to work pls help me find out the
problem[/size][/color]

PHP Code:

Dim usergreet As New ADODB.Recordset


Dim nameuser As String
Const server = "serverip"
Const mysqlusername = "databaseusername"
Const mysqlpassword = "databasepassword"
Const database = "dbname"
Private Sub Command1_Click()
Set Conn = New ADODB.Connection
Conn.Open "driver={MySQL ODBC 3.51 Driver};server=" & server & ";uid=" & mysqlusername & ";pwd=
" & mysqlpassword & ";database=" + database
Set rs = New ADODB.Recordset
With rs
rs.Open "Select * from wsd_members where user='" & username.Text & "' and pass='" & password.Text
& "'", Conn, adOpenDynamic, adLockOptimistic
If .EOF Then
MsgBox "Wrong Username or Password", vbOKOnly + vbCritical, "Error"
Else
usergreet.Open "select username from wsd_members where username = '" + username.Text + "';", Conn
nameuser = usergreet.GetString
usergreet.Close
username.Text + "'", Conn
Label1.Caption = "Your authorization: "
MsgBox "Welcome: " + nameuser, , "Login Succssfully!"
Form2.Show
End If

Here I need to connect to the table “wsd_members” which has the following sql structure and check the
username and password if they both mach the user should be logged in successfully

[SQL]CREATE TABLE `wsd_members` (


`username` varchar(20) NOT NULL default '',
`password` varchar(32) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`registered_on` date NOT NULL default '0000-00-00',
`last_logged_on` datetime default NULL,
PRIMARY KEY (`username`)
) TYPE=MyISAM;
[/SQL]

Can any one tell me the proper way to code it to make it properly i need the program to check the
username and password filed inside the table wsd_members and grand access if the both are same
Expecting kind help from you programmers

Your’s
Remo[/color][/size]

:::User Login Check On MYSQL Server With Visual Basic ::::


Hello all wonderful programmers out their I was making a desktop client for my web based inventory

software on the web it is PHP/Mysql based I am using Visual Basic on the client side to connect to my
mysql server on the

web as I am mostly a PHP programmer I am stuck with The Login function in Visual Basic with Mysql

Please check my code

PHP Code:

Dim usergreet As New ADODB.Recordset


Dim nameuser As String
Const server = "serverip"
Const mysqlusername = "databaseusername"
Const mysqlpassword = "databasepassword"
Const database = "dbname"
Private Sub Command1_Click()
Set Conn = New ADODB.Connection
Conn.Open "driver={MySQL ODBC 3.51 Driver};server=" & server & ";uid=" & mysqlusername & ";pwd=
" & mysqlpassword &

";database=" + database
Set rs = New ADODB.Recordset
With rs
rs.Open "Select * from wsd_members where user='" & username.Text & "' and pass='" & password.Text
& "'", Conn, adOpenDynamic,

adLockOptimistic
If .EOF Then
MsgBox "Wrong Username or Password", vbOKOnly + vbCritical, "Error"
Else
usergreet.Open "select username from wsd_members where username = '" + username.Text + "';", Conn
nameuser = usergreet.GetString
usergreet.Close
username.Text + "'", Conn
Label1.Caption = "Your authorization: "
MsgBox "Welcome: " + nameuser, , "Login Succssfully!"
Form2.Show
End If

Here I need to connect to the table “wsd_members” which has the following sql structure and check the
user name and password

if they both match the user should be logged in successfully that is the field username and password the
above code is not working as it is seemed to work can any one help me out the correct way for it to work

Code:

CREATE TABLE `wsd_members` (


`username` varchar(20) NOT NULL default '',
`password` varchar(32) NOT NULL default '',
`email` varchar(100) NOT NULL default '',
`registered_on` date NOT NULL default '0000-00-00',
`last_logged_on` datetime default NULL,
PRIMARY KEY (`username`)
) TYPE=MyISAM;

Can any one tell me the proper way to code it


Expecting kind help from you programmers

Your’s
Remo
Let’s Rock Mysql
Check User And Password In A Machine
Hi everybodi:
Does any one know how to check the list of users and the passwords in a workstation like when you log in
in windows check if you are a valid user, I want to use it like that because if the person who want to use
the program is not a valid user don't be aloud to use the program

Check Dial-up User Name And Password


I would like to create a program which can be know what is the dial-up user name and password, but I
have no ideas how to start it,so is it anybody can teach me or anybody have sample of it? thanks!!

Password And User Name In A Text File Check(i Think)


OK its like this:
i want to to made a txt file with user name and passwords
i want the program to open the txt file and check if there's a certain name and password
and if thers that uname and password msgbox somethin
i don't care about security know i only want it to work later i will "secure" it with encryption

thanks kolem

Web Site Auto-login Post (login And Password)


Hi, I'm building a small project and I'm hitting a brick wall. I would like to build a small VB app to post the
user name and password to sites (http and https) such as yahoo mail, ebay, etc... I've been looking at
inet and wininet and not having much luck.

If any one has code examples on how to do this or simular that I could view that would be great.

thanks and have a great day.

Script To Check &"user Can Not Change Password&"


Hi,

I need a script to check the status of this parameter in AD, anybody idea's? It should fit in this code

Dim objconnection, objcommand, objrecordset, objuser, objproperty


Set objconnection = CreateObject("ADODB.Connection")
Set objcommand = CreateObject("ADODB.Command")
objconnection.Provider = "ADsDSOObject"
objconnection.Open "Active Directory Provider"
Set objcommand.ActiveConnection = objconnection
objcommand.Properties("Page Size") = 1000
objcommand.Properties("Timeout") = 30
objcommand.Properties("Searchscope") = 2
objcommand.Properties("Cache Results") = False

On Error Resume Next


objcommand.CommandText = _
"Select * from 'LDAP://dc=indaver,dc=int'" & " where samaccountname='" &
wscript.arguments(0) & "'"
Set objrecordset = objcommand.Execute
objrecordset.MoveFirst
Set objuser = GetObject(objrecordset.Fields("ADsPath").Value)

<CHECK IF USER CANNOT CHANGE PASSWORD IS ENABLED OR NOT>

objproperty = Null

Password Protected Program And Changing User Name And Password At Run Time??
Hi
i have a project i want to make it password protected and also want to change username and password at
run time
THANKS
Check If Data Is Correct. I Have A Password Check Problem .
Hi,
I have this program that users have to login. using a database.
the problem is i don't know how to make the program to see if the password matches the username or
even if the username and password exist.
you know what i mean.........
can you please help me out with this. is there a simple sample code you can give me so i could play
around with it.
thankyou very very much.
I hope you can help.

Login/password
Hey. i'm havin alill problem. the game is made, and everything is how it should. the only thing is.

1. i need to know how to make a login. and how to cryptate the password in a flawless way.

2. how do i redirect the login to the actual game.

i know this is maby stupid questions. but hey... i can't know everything

Login/Password
Hi,

I want to create a system of login and password where all the data are stuck in a .txt file...

The problem is not to write in the file, I know how to do but the problem comes from how to use the data
stocked in my .txt file to know if the user name and correct password...

Exemple : I create 2 accounts


1) User : Bob
Password : Bob

2) User : Jack
Password : Jack

Then I stock the two in my txt file maybe something like or whatever I need to do tell me :

[Jack]
Jack
[Bob]
Bob

Then if Jack tape :


User : Jack
Password : Bob
it should make an error and if he is correct that it work...

Do you have reference to do that or just help me?

Thanx in advance.

bibiteinfo

[add]

If an administrator add a new user and it could be write directly in the code it would be ok but I don't
think it is possible.

Password Login
I am currently doing a password login using a access 2000 dbm, i encountered a problem which puts "
couldnt find installable ISAM" what is that what shall i do, the program cant run!

Password Login
Hi
I am creating my own login screen,

What is the code to make the password come up as stars (or anything else as long as the password is not
seen)

Cheers

~~~ Login Password~~~


friend i have a table in ORACLE named pass which store password it has only one password.I m using
following code in login window.

set myrec = myconn.execute("select * from pass" )


if text1.text = myrec(0) then
unload me
load form1
else
msgbox(" password not found")
endif

Now everytime i execute the following code it always shows "password not found" , even if the password
entered is correct

please help me

Login Password
I was wondering if it was possible to get the password (encripted of course)of the currently logged in user
(for windows)?

I will be using a VB dll to find the data.

Login Password
hi all
how can i use vb6 to get the password of the windows login user?

Login Password
Hi
I have a login form inside my VB6 application.The user must provide a password to be able to use the
application.Where should I store the password?I want to add a command button into my VB6 application
"Change Password" that way I cannot store the password into the code.
where should I store it?
thanks in advance

Login Password
any one can send me login password coding.

Password Login
I have a systen where the user has to put username and password...How would i b able to get the system
to show an error message if the user attempts to put the password in more than three times??

Login Password
Hi

I have got a login page to work, but theres 1 problem, when the user types the password, the letters
come up on the screen, hence visible to others users..how would i be able to make ****** (stars) come
up instead of the password coming up on the screen.

Cheers
Login ID/Password
I would like my LOGIN form to appear only the first time the program is launched but my PASSWORD
form to appear every time. How can I go about this?

Password &amp; Login


does anyone have any code that will show me how to check a username and login from a access
database...

I am usin a login form and a access database with 2 fields ...Name & Passcode.

I am looking at on clicking ok with in the login form to check the database and of the username and the
passcode match then load the program....

I will have more then on username and passcode...

all the help in the world will be great...

Thanks S.

Username &amp; Password And Login


how would i make a Username and password Login thingy would it be like
<vb>
If Text1.text = "John"
IfElse Text2.text = "cola"
Then Label1.Caption = "Password = Blah" & vbCrLf & "Password to web = Blah" & vbCrLf & "Password for
Comp = Blah"
Else = MsgBox("Sorry dunno You")
End If
</vb>

Login And Password Form


I have a program that programs telco equipment. Once the equipment has been programmed there is
now a login and password needed to gain access to it. I'm using MSComm to comunicate through the
serial port. I have the output (MSComm.input) from the equipment displayed on a multiline textbox. What
I want to happen is if the equipment is asking for a login then password for my program to open the
forms that have the login and password fields. I have tryed IF,Then statements but they don't work or
maybe I'm placing them in the wrong place.

Username And Password Login


Thanks in advance for the help!

I have a department database set up. There needs to be two types of users, admin and user.

I have set up a login form that takes username/password info. Depending on what type of user has
logged in, I need them directed to a specific form (admin or user).

From this point, the user will be looking at a form to enter data, and that data needs to be put into only
their record.

Any idea on how to pass the incoming entered username to the next form and then display it?

here is my login form code so far:

Private Sub cmdOk_Click()


On Error GoTo Err_cmdOk_Click
'----------------------------------------------------------------------------------------------------------------------
-------
' This code is used to validate users found in the tblSecurity table. If the wrong user name or password is
' provided access is denied.
----------------------------------------------------------------------------------------------------------------------
-------
Dim db As DAO.Database
Dim rst As DAO.Recordset
Dim rstV As Recordset
Dim stDocName As String
Dim stLinkCriteria As String

Set db = currentdb()
Set rst = db.OpenRecordset("tblSecurity", dbOpenDynaset)

If Not IsNull(Me.txtUser) And Not IsNull(Me.txtPassword) Then


rst.FindFirst "Password = '" & Me.txtPassword & "'" & " And UserID = '" & Me.txtUser & "'"

If rst.NoMatch Then
MsgBox "You entered the wrong User Name or Password." & Chr(13) & _
"Please enter the correct User Name and Password or " & Chr(13) & _
"contact the Database Adminstrator for assistance.", vbOKOnly + vbCritical, "Logon Denied"
ElseIf Me.txtPassword = "password" Then
MsgBox "This is the first time using the database or your passowrd has been reset." & Chr(13) & _
"You must change your password before you can enter the database.", _
vbOKOnly + vbExclamation, "Change Password"
stDocName = "frmUserLogonNew"
stLinkCriteria = "[UserID]=" & "'" & Me![txtUser] & "'"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Else
stDocName = "frmStartup"
DoCmd.OpenForm stDocName, , , stLinkCriteria
End If
Else
MsgBox "You left the User Name and/or Password blank." & Chr(13) & _
"Please enter the correct User Name and Password or " & Chr(13) & _
"contact the Database Adminstrator for assistance.", vbOKOnly + vbCritical, "Logon Denied"
End If

With User
.AccessID = rst.Fields("AccessID")
.ViewID = rst.Fields("ViewID")
.Active = rst.Fields("Active")
.Password = rst.Fields("Password")
.SecurityID = rst.Fields("SecurityID")
.UserID = rst.Fields("UserID")
End With

rst.Close

Exit_cmdOk_Click:
Exit Sub

Err_cmdOk_Click:
MsgBox Err.Description
Resume Exit_cmdOk_Click

End Sub

How Should I Make This... {login And Password}


Hello,
I have a game and I want the user to be able to create an account with an username & password. The
user could after login and see statistics related to his account. This would have to work with multiple
accounts on the same computer... So how should I do this;

1-More .txt files. One with the Login,Password,FileName.txt


second one (filename.txt) that would have all the statistics.
2-A database file with the login,password,stat1,stat2 for each user!!
Thank you!

Listbox For Login/password


I am doing a login/password system and it work pretty good (Thanx a lot to NoteMe) since I put a listbox
to choose in which section the person want to go...

I put my data in an array then I split it and in the loop it check all the person...

Before adding my listbox it was working, each login/password were working but when I add the listbox,
just the first one work.

I thing the problem is that it only check one time for the user and password then it stop...

I hope you could help me

Code:
Private Sub Command1_Click()

Dim AcountArray() As String


Dim i As Long
i=0

' Choix is a listbox

If Choix.Text = "Administrateur" Then


AcountArray() = Split(Admin.Text, " ")
For i = 0 To UBound(AcountArray) Step 2
If AcountArray(i) = User.Text And AcountArray(i + 1) = Password.Text Then
menu.Show
Me.Visible = False
Exit For
Else
MsgBox "Wrong login or password", vbOKOnly, "Erreure"
Exit Sub
End If
Next i
End If
' For the love of god and all that is holy,
' INDENT YOUR FREAKIN CODE!

Thanx in advance

bibiteinfo

LOgin Username And Password


HI there!

Could someone please help me with code for a login dialog box that ask the user his username and
password. (must not make use of a database). The username and password must be stored in a file.
There must be an option given for new users who wants to register for the first time...

Username editbox = ebUsername


Password editbox - ebPassword

Please guys - would appreciate it very much!

Best regards
C - Power

Login Password And Username


Hey there guys,
I need help on the following:

a Login dialog box is given to users to enter their password and username before they can continue with
program. If it is a new user who is using the program, he must be given the opportunity to create a
password and username.

Please could someone help me with the code of the above problem? To make it easier, lets:

Name the textbox where the username must be put in: ebUsername

Name the textbox where the password must be put in: ebPass

Name the button that ons must click on after entering username and password: cbProceed

Thanks guys!
Regards
Cballe

Windows XP Login Password


I am creating a safe and idiot proof way of changing settings on XP such as removing programs, making
folders, creating users etc. I want to know how to reset a password or find our what the user password is.
Is this managable or should i keep dreaming?

How Do I Save A Login And Password


After u type a login and pass how do i make it so i can save so every time i open the prog the user and
pass is there?

Tapped On SQL Login Password


Hi all,

I am newbie to visual basic, i have come out with a application to retrieve,save and delete information
from SQL database.
we all know that we have to first connect to SQL server with .connectstring command,however i notice
that most of the time we have to hardcode the username and password or create a table conntaining the
username and password and ensure that the username and password tally with the username in SQL.
is there a way that i can simply tap on SQL login program so that i dun have to hardcode the username
and password everytime i connect to the SQL.
eg:-
.ConnectionString = "Driver={SQL SERVER};Server=(local);Database=demo=sa;pwd=password;"

Login And Password Online


how would u make it s that it goes into IE and goes to like a website and logs in wiwth password and
username

Login/Password Method
I am currently using a mix of Visual Basic, SQL Server, along with some ASP. I need to create
login/password authentication, but I don't just want to type the password in a table so it can be easily
looked up and seen by anyone. SQL Server has a login creation wizard... and I tried this, but when I hit
the database from an ADO connection in VB, it lets me right through. Perhaps that is because I am doing
it on my machine (as the Administrator)? On the other hand, maybe I am wasting my time with SQL
Server's login wizard and I should just use a stored procedure that encrypts the userid's and passwords. I
am not looking for a real high security here, just something simple and safe. Does anyone know of the
best solution?

Thanks!

Login And Password Query


I doing a sport facility online reservation system with a User Identification on the front...
So basicly, I have seperate 2 database..a login database and facility database...
The login database purely for identification purpose with name, id and password...

User have to log in with ID and password...

Problem now is how am i suppose to write the command which will send a SQL command to the database
to search for the ID in the database whether it exist in it or else it will send a data and prompt the user
"INVALID ID"...
If ID is correct but password is wrong, it will also prompt user "PASSWORD ERROR".

So overall, which commands to send to the SQL server so it will check the database and check for
errors??

Login/password Tutorial
hello, im very new to this forum and am wanting to learn alot more about visual basic...so i was
wondering where i could find out how to create a login screen thing as well as a place where someone
could maybe register and it would add to a database kind of thing....like i said im new to vb so im not
sure exactly wat to look for..thanks!

Username/Password Login?
Ive gotten this far, but I am stuck here.

Code:
MyConn.Execute ("SELECT Alias FROM Accounts WHERE Alias = '" & varAlias & "' AND Password = '" &
varPassword & "' ")

Im assuming that I should check that the results return one row, and if they dont, then the username and
password do not match, and the login attempt should fail, but How would I check to see how many rows it
returns? If this is it is supposed to be done. Just a guess.

Simple Login With Password


i amvery new to vb and m learning it myself...i need a code for simplelogin with password....how to
connect to the ms access database?
pls guide me

Login And Password Code


hi i m very new to vb and learning it by myself.....i need the code for simple login with password and how
to connect it to the ms access database?
thank you

Login And Password Controlled By Me


I just had an idea for my programs im sure it has been thought of before but i want it to that the user has
to type in a username and password for it to work, but i also want it so thta from my computer i set up
the passwords and usernames that works.... is there anyone who has done this and can help? or anyone
that knows about it?

Login (and) Password Problems


hi

i am having problems making the password for a login as well as the username could some one tell me
what i am doing wrong and howto fix it

cheers
Private Sub Command1_Click()
If Text1.Text = "user001" + Text2.Text = "password123abc" Then
MsgBox ("Hello Hello user001, welcome")
Form1.Show
Unload Me
Else
MsgBox ("sorry, you are not a registered user")
End
End If
End Sub

Password Login Thingy???


I am new to all of this, and i know a bit of code. Is there any way of making a program, that you have to
register in, then the program adds that to a database, and from then on you can login to the program
whenever you want?? Are there any tutorials telling you how to do this??
Thanks in advance

>>> Foxy <<<

Retrieve Login Name And Password


i have a dead old account at hotmail, which i cant remmember the password, even if i cant remmber the
hint question, i wrote to hotmail staff, they are not responsible it seems is there any other way to
retrieeve, i come to know we have some of the websites which use to retrieve the password??, anyone
aware pls help..
regds
parthi

Getting The WinNT Login Name And Password


Hi all,

Is there any API that I can use to get a user's login name and password when he has already log into the
Win NT workstation?

I need it to log the user into a database so he dun need to log in a 2nd time

Thanks for any help!!

You might also like