RSS Forums RSS
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums
Views: 1113 | Replies: 9
Reply
Join Date: Jul 2007
Posts: 6
Reputation: seeleo6 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
seeleo6 seeleo6 is offline Offline
Newbie Poster

Tutorial help with usernames and passwords and arrays

  #1  
Jul 11th, 2007
Ok if annyone knows how to put
usernames and passwords in
arrays and declare it and i
need a full directions on
the code!


Thanks Seeleo6
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Jun 2007
Posts: 78
Reputation: manoshailu is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 6
manoshailu's Avatar
manoshailu manoshailu is offline Offline
Junior Poster in Training

Help Re: help with usernames and passwords and arrays

  #2  
Jul 12th, 2007
hi,

The below coding help u to store the username and password in arrays and to retreive it.


Dim user(20) As String 'Username Array Declaration

Dim pwd(20) As String 'Password Array Declaration

Dim i As Integer
Private Sub cmdadd_Click()
user(i) = txtuser.Text
pwd(i) = txtpwd.Text
i = i + 1
txtuser.Text = ""
txtpwd.Text = ""
End Sub

Private Sub Cmdsearch_Click()
a = txtuser.Text
For i = 0 To 20
If user(i) = a Then
txtpwd.Text = pwd(i)
End If
Next
End Sub

Private Sub Form_Load()
i = 0
End Sub


al the best
Shailu
Reply With Quote  
Join Date: Jul 2007
Posts: 6
Reputation: seeleo6 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
seeleo6 seeleo6 is offline Offline
Newbie Poster

Re: help with usernames and passwords and arrays

  #3  
Jul 13th, 2007
I'm sorry but i need more spasific information such as where to put the code and where to tell the program where to use the information in the array and also step by step information to create t login form.

Thanks, Seeleo6
Reply With Quote  
Join Date: Jul 2007
Posts: 6
Reputation: seeleo6 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
seeleo6 seeleo6 is offline Offline
Newbie Poster

Re: help with usernames and passwords and arrays

  #4  
Jul 13th, 2007
1
Last edited by seeleo6 : Jul 13th, 2007 at 8:22 pm.
Reply With Quote  
Join Date: Jul 2007
Location: Philippines
Posts: 255
Reputation: jireh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 28
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz in Training

Re: help with usernames and passwords and arrays

  #5  
Jul 16th, 2007
Originally Posted by seeleo6 View Post
Ok if anyone knows how to put
usernames and passwords in
arrays and declare it and i
need a full directions on
the code!


Thanks Seeleo6


You don't mention if the usernames and passwords is to be saved or to be retrieved from the database or wherever you store/save your data. be specific to your post.

P.S can you say please? it looks like to me you're giving a command...

regards

jireh
Reply With Quote  
Join Date: Jul 2007
Posts: 6
Reputation: seeleo6 is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
seeleo6 seeleo6 is offline Offline
Newbie Poster

Re: help with usernames and passwords and arrays

  #6  
Jul 25th, 2007
i am giveing a comand
Reply With Quote  
Join Date: Jul 2007
Location: philippine
Posts: 88
Reputation: jaasaria is an unknown quantity at this point 
Rep Power: 2
Solved Threads: 1
jaasaria's Avatar
jaasaria jaasaria is offline Offline
Junior Poster in Training

Re: help with usernames and passwords and arrays

  #7  
Jul 26th, 2007
wow, nice job my friend shailu..^_^ very nice...
Reply With Quote  
Join Date: Jul 2007
Posts: 1
Reputation: okyodic is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
okyodic okyodic is offline Offline
Newbie Poster

Re: help with usernames and passwords and arrays

  #8  
Jul 26th, 2007
i have a library application done in visual basic and i want the database containing all the regestered student to be hidden, so that no staff has access to that database.
Reply With Quote  
Join Date: Jul 2007
Location: Philippines
Posts: 255
Reputation: jireh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 28
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz in Training

Re: help with usernames and passwords and arrays

  #9  
Jul 26th, 2007
Originally Posted by seeleo6 View Post
i am giveing a comand

So you think people here are your muchacha's and muchacho's? Oh man, WHAT A MANNER! I think you must imply PLEASE because you're asking for help here!
Reply With Quote  
Join Date: Jul 2007
Location: Philippines
Posts: 255
Reputation: jireh is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 28
jireh's Avatar
jireh jireh is offline Offline
Posting Whiz in Training

Re: help with usernames and passwords and arrays

  #10  
Jul 26th, 2007
Originally Posted by okyodic View Post
i have a library application done in visual basic and i want the database containing all the regestered student to be hidden, so that no staff has access to that database.
hiding your database is maybe good but its more fine if you put a password in your database so that even they can see your database still they can't see the data inside on it, right?!
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

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

 

Thread Tools Display Modes
Forums | Blogs | Tutorials | Code Snippets | Whitepapers | RSS Feeds | Advertising
All times are GMT -4. The time now is 6:02 am.
Newsletter Archive - Sitemap - Privacy Statement - Acceptable Use Policy - Contact Us
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC