Current location: Hot Scripts Forums » Programming Languages » Visual Basic » Username and password


Username and password

Reply
  #1 (permalink)  
Old 08-01-06, 08:03 AM
hennie hennie is offline
New Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Username and password

Hi

I'm new to this forum. I don't have that much VB programming experience. I was wondering if anyone can maybe help me. I have a simple log in form with a username and password (and a submit and cancel button) in a ms access db and then I have a table with a username and password fields, what I would like to do is when the application starts up that the log in form will pop up first and then to check the users username and password in the log in table.

Any help will be greatly appreciated

Thanks
Hennie
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 08-01-06, 08:07 AM
digioz's Avatar
digioz digioz is offline
Community VIP
 
Join Date: Oct 2003
Location: Chicago, IL
Posts: 2,167
Thanks: 3
Thanked 8 Times in 8 Posts
What I recommend, is that instead of starting your application with a form, start it with "Sub Main". That way you can first validate the username and password by showing the login form, and if the user passes the validation, you show them the actual application form. If not, you display a "Wrong Username Or Password" prompt, and exit the application.

Feel free to post specific code for more help.
__________________
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #3 (permalink)  
Old 08-14-06, 10:27 AM
Gondie Gondie is offline
Newbie Coder
 
Join Date: Aug 2006
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Well, he/she could just remove the call to unload the app...

http://www.extreme-tutorials.com/ind...?showtopic=283

That might help you understand a little bit about loading and saving data
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #4 (permalink)  
Old 10-17-06, 06:47 AM
hennie hennie is offline
New Member
 
Join Date: Aug 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks Guy and Girl!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Would like some help understanding this php part. clantron PHP 12 03-12-06 09:24 PM
Preventing multiple user from loging in using the same username and password digioz PHP 2 09-14-05 02:53 PM
looking for a shoping cart has a sign up form with username and password they choose. kicon Script Requests 1 11-03-04 12:15 PM
need help with username password of os traceMe ASP 0 08-23-04 04:19 AM
Quick Question for you php guru's Tokahashi PHP 3 04-09-04 01:00 PM


All times are GMT -5. The time now is 06:49 AM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.