Notices



[ ISSUE SOLVED ] I got excited too soon VB help

Random Community Topics

Post New ThreadClosed Thread
 
Thread Tools
  #1  
Old 03-02-2009, 11:54 AM
fanaticny's Avatar
fanaticny fanaticny is offline   Thread Starter  
Member
Mobile Model: HTC Touch Pro
Mobile Carrier: Sprint
Mobile OS: 6.5

 
Join Date: December 15th, 2007
Posts: 584
Thanks: 0
Thanked 882 Times in 274 Posts
Downloads: 0
Uploads: 0


View fanaticny's Profile   Edit Options Edit Profile Picture View fanaticny's Photo Album Add fanaticny's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
[ ISSUE SOLVED ] I got excited too soon VB help

Im really sorry but i didn't make it work completely, got excited too soon, so here it is again. Well I can validate txtAge.Text now, but im also required to then take the input and assign it to a different variable as Integer, here's what I have:

Dim ageCheck As Boolean
Dim isNum As Integer

ageCheck = IsNumeric(txtAge.Text)
isNum = Integer.Parse(txtAge.Text) "VB doesn't like this line"

If (ageCheck = False) Then
lblResults.Text = "Please correct your age"

ElseIf (isNum < 21) Then
lblResults.Text = txtName.Text & ", you are a youngster!"

ElseIf (isNum >= 21 And isNum < 40) Then
lblResults.Text = txtName.Text & ", you are an adult."

ElseIf (isNum >= 40) Then
lblResults.Text = txtName.Text & ", you are over the hill!"

End If
  #2  
Old 03-02-2009, 12:49 PM
iamdasht19's Avatar
iamdasht19 iamdasht19 is offline    
Member
Mobile Model: TP, TP2, soon Hero
Mobile Carrier: SPJ
Mobile OS: 6.5

 
Join Date: February 7th, 2007
Location: Grand Rapids, MI
Posts: 40,537
Thanks: 0
Thanked 42,425 Times in 15,688 Posts
Downloads: 0
Uploads: 0


View iamdasht19's Profile   Edit Options Edit Profile Picture View iamdasht19's Photo Album Add iamdasht19's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Re: I got excited too soon VB help

mmmmm. havent been working with visual basic too much lately....... i know tere are mad support forums out there for it that would be able to help you more than i could..... and your not getting any sytax errors are you?
The Following 2 Users Say Thank You to iamdasht19 For This Useful Post:
  #3  
Old 03-02-2009, 04:09 PM
fanaticny's Avatar
fanaticny fanaticny is offline   Thread Starter  
Member
Mobile Model: HTC Touch Pro
Mobile Carrier: Sprint
Mobile OS: 6.5

 
Join Date: December 15th, 2007
Posts: 584
Thanks: 0
Thanked 882 Times in 274 Posts
Downloads: 0
Uploads: 0


View fanaticny's Profile   Edit Options Edit Profile Picture View fanaticny's Photo Album Add fanaticny's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Re: I got excited too soon VB help

Im wansn't running it stricktly thru BV.net, i was getting errors while trying to load the website and that was giving me xml like error which im not familiar with yet, but im good now, i just needed nested if/else statements. Thanks!!
The Following User Says Thank You to fanaticny For This Useful Post:
  #4  
Old 03-02-2009, 11:32 PM
Superman369's Avatar
Superman369 Superman369 is offline    
Member
Mobile Model: Touch Prizo!!!
Mobile Carrier: sprint
Mobile OS: 6.5

 
Join Date: September 22nd, 2008
Location: Killadelphia, PA
Posts: 2,762
Thanks: 0
Thanked 7,924 Times in 2,668 Posts
Downloads: 0
Uploads: 0


View Superman369's Profile   Edit Options Edit Profile Picture View Superman369's Photo Album Add Superman369's to Your Contacts Show Groups Edit Avatar Subscribed Threads Private Messages
Re: I got excited too soon VB help

Glad you got it, marking as solved.

The Following User Says Thank You to Superman369 For This Useful Post:
Post New ThreadClosed Thread

Tags
excited, issue, solved


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 On
HTML code is On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[ISSUE SOLVED] [SOLVED] Trend Micro Office Scan Corporate Edition 7 Venton (Home) Pc Applications 0 02-24-2006 11:15 AM
[ISSUE SOLVED] [SOLVED] Steganos Safe Pro 2006 v8.0.11 + crack Venton (Home) Pc Applications 0 02-24-2006 07:55 AM
[ISSUE SOLVED] [SOLVED] RealPlayer v10.5 build 6.0.12.1483 + crack Venton (Home) Pc Applications 0 02-24-2006 07:54 AM
[ISSUE SOLVED] [SOLVED] Ilisoft PSP Video Converter Ver. 2.1.49.628b Venton (Home) Pc Applications 0 02-13-2006 09:06 AM
[ ISSUE SOLVED ] [SOLVED] Spy Emergency 2005 Ver. 2.0.320 Venton (Home) Pc Applications 0 02-12-2006 06:28 PM


All times are GMT -5. The time now is 02:09 AM.

Layout Options | Width: Fixed
Contact Us - SPJ Bulletin - Archive - Privacy Statement - Terms of Service - Top