Welcome to Dream.In.Code
Become a VB Expert!

Join 136,933 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 1,865 people online right now. Registration is fast and FREE... Join Now!




visual basic login page

 
Reply to this topicStart new topic

visual basic login page, help needed...thx

twfong614
27 Apr, 2007 - 05:36 AM
Post #1

New D.I.C Head
*

Joined: 27 Apr, 2007
Posts: 1


My Contributions
can some1 teach me the coding of login page?
i using VB6.0 and connect to MS.Access.

this is my design of the login page.
IPB Image

thx.

This post has been edited by twfong614: 27 Apr, 2007 - 06:42 AM
User is offlineProfile CardPM
+Quote Post

tody4me
RE: Visual Basic Login Page
27 Apr, 2007 - 08:13 AM
Post #2

Only Jenny Craig makes thin clients...
Group Icon

Joined: 12 Apr, 2006
Posts: 1,278



Thanked: 3 times
Dream Kudos: 100
My Contributions
on button click - login - check that username and password match the one in the database. if it does, display next form, otherwise pop up messagebox alerting the user that the username and password does not match what's in the database (userID or Password invalid message)
User is offlineProfile CardPM
+Quote Post

viggu212
RE: Visual Basic Login Page
27 Apr, 2007 - 10:51 AM
Post #3

New D.I.C Head
*

Joined: 21 Apr, 2007
Posts: 7


My Contributions
vb already provides you with an in-built option of a login page ,for that first open the VB application.
in the project explorer right click on the form->goto "add "->goto "form"->then select "login dialog". enjoy
User is offlineProfile CardPM
+Quote Post

tody4me
RE: Visual Basic Login Page
27 Apr, 2007 - 12:19 PM
Post #4

Only Jenny Craig makes thin clients...
Group Icon

Joined: 12 Apr, 2006
Posts: 1,278



Thanked: 3 times
Dream Kudos: 100
My Contributions
that's only available in vb .net, not available in 6.
User is offlineProfile CardPM
+Quote Post

ladylike
RE: Visual Basic Login Page
28 Apr, 2007 - 10:24 AM
Post #5

New D.I.C Head
*

Joined: 28 Apr, 2007
Posts: 2


My Contributions
for the built in login page..how about the coding for username n password?
User is offlineProfile CardPM
+Quote Post

CJ Revo
RE: Visual Basic Login Page
26 Mar, 2008 - 04:37 AM
Post #6

New D.I.C Head
*

Joined: 22 Mar, 2008
Posts: 2

I've got a question

if a user wants to register for the program, you have to submit a username and password so that the program can record the details to the database. How would you write code in order to do that??
User is offlineProfile CardPM
+Quote Post

Ian.s
RE: Visual Basic Login Page
25 Aug, 2008 - 10:07 AM
Post #7

New D.I.C Head
*

Joined: 12 Aug, 2007
Posts: 4


My Contributions
QUOTE(CJ Revo @ 26 Mar, 2008 - 05:37 AM) *

I've got a question

if a user wants to register for the program, you have to submit a username and password so that the program can record the details to the database. How would you write code in order to do that??

Also like to no! smile.gif
User is offlineProfile CardPM
+Quote Post

jeff223
RE: Visual Basic Login Page
26 Aug, 2008 - 02:26 PM
Post #8

New D.I.C Head
*

Joined: 24 Aug, 2008
Posts: 3

QUOTE(twfong614 @ 27 Apr, 2007 - 06:36 AM) *

can some1 teach me the coding of login page?
i using VB6.0 and connect to MS.Access.

this is my design of the login page.
IPB Image

thx.

Well, it really depends what you want to do... Could you let me know what you're trying to do (multiple logins, where it goes when you log in, etc.)... I mean, if you want it to just have one login and after you log in, it goes to a different form... you'd basically do something like/similar to....
CODE
If login.text = "Loginname" and password.text = "Yourpassword" then
form2.enabled = true
form2.visible = true
If login.text is not "Loginname" and password.text is not "Yourpassword" then msgbox "Wrong username or password"


This post has been edited by jeff223: 26 Aug, 2008 - 02:30 PM
User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/3/08 10:39PM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month