Click here to Skip to main content
15,926,703 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: How to display the image in VB 6.0 Pin
Billypon31-May-07 16:01
Billypon31-May-07 16:01 
GeneralRe: How to display the image in VB 6.0 Pin
AR Reddy31-May-07 18:54
AR Reddy31-May-07 18:54 
GeneralRe: How to display the image in VB 6.0 [modified] Pin
Billypon1-Jun-07 16:15
Billypon1-Jun-07 16:15 
QuestionAdding or Deleting an Access Table during an Update Pin
RichFeldman31-May-07 7:09
RichFeldman31-May-07 7:09 
AnswerRe: Adding or Deleting an Access Table during an Update Pin
Dave Kreskowiak31-May-07 7:20
mveDave Kreskowiak31-May-07 7:20 
Questionhow to validate a textbox accordingly to MM/DD/YYYY Format Pin
pashitech31-May-07 6:29
pashitech31-May-07 6:29 
AnswerRe: how to validate a textbox accordingly to MM/DD/YYYY Format Pin
Dave Kreskowiak31-May-07 7:14
mveDave Kreskowiak31-May-07 7:14 
QuestionHelp: Creating VB text based game log in screen Pin
jblouir31-May-07 6:14
jblouir31-May-07 6:14 
I am developing a VB.NET text based adventure and I need help with coding a log in button.

Basically I have a table called tblUserAccounts

This table as 3 fields...

accountID
username
Password

The log in screen form has a combo box for username and a text box for password with a button just to the right that says Log in.

What I want to happen is that when the person clicks log in after they enter there information into the combo box and text box, that (insert code here) will basically take their username and password(that they entered) and search for it in the database and if it exists in the database allow them to log in.

OR

Alternatively I could make array variables that are = to the table columns(from the database) username and password, then I can perform my own checks in the VB.Net code itself on the button click.

for example I tried doing this...

Dim arrUsername() As Array = GameprojectDatabase.tblUserAccounts.UserColumn

but I get the message that it can not be converted to a 1-dimensional array



If anyone can explain to me how I can do this please let me know.


AnswerRe: Help: Creating VB text based game log in screen Pin
Dave Kreskowiak31-May-07 7:03
mveDave Kreskowiak31-May-07 7:03 
GeneralRe: Help: Creating VB text based game log in screen Pin
jblouir31-May-07 9:09
jblouir31-May-07 9:09 
GeneralRe: Help: Creating VB text based game log in screen Pin
Dave Kreskowiak31-May-07 9:27
mveDave Kreskowiak31-May-07 9:27 
QuestionReplace blank characters in a text file. Pin
Diego F.31-May-07 6:09
Diego F.31-May-07 6:09 
AnswerRe: Replace blank characters in a text file. Pin
Dave Kreskowiak31-May-07 6:32
mveDave Kreskowiak31-May-07 6:32 
GeneralRe: Replace blank characters in a text file. Pin
Diego F.31-May-07 6:40
Diego F.31-May-07 6:40 
GeneralRe: Replace blank characters in a text file. Pin
Dave Kreskowiak31-May-07 6:57
mveDave Kreskowiak31-May-07 6:57 
GeneralRe: Replace blank characters in a text file. Pin
Diego F.31-May-07 6:59
Diego F.31-May-07 6:59 
AnswerRe: Replace blank characters in a text file. Pin
Diego F.31-May-07 6:58
Diego F.31-May-07 6:58 
GeneralRe: Replace blank characters in a text file. Pin
Dave Kreskowiak31-May-07 7:05
mveDave Kreskowiak31-May-07 7:05 
QuestionConvert selectedindex value to an email recipient Pin
archangel71731-May-07 5:49
archangel71731-May-07 5:49 
AnswerRe: Convert selectedindex value to an email recipient Pin
Dave Kreskowiak31-May-07 6:39
mveDave Kreskowiak31-May-07 6:39 
GeneralRe: Convert selectedindex value to an email recipient Pin
archangel71731-May-07 8:20
archangel71731-May-07 8:20 
QuestionQ Pin
Marwan Ekwanin31-May-07 5:38
Marwan Ekwanin31-May-07 5:38 
AnswerA Pin
Guffa31-May-07 5:43
Guffa31-May-07 5:43 
QuestionAbout Imports Pin
Jesihubert31-May-07 4:54
Jesihubert31-May-07 4:54 
AnswerRe: About Imports Pin
kubben31-May-07 5:14
kubben31-May-07 5:14 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.