|
-
Aug 3rd, 2006, 10:34 AM
#1
Thread Starter
Hyperactive Member
[RESOLVED] Please Help... I really Need some help
ok I am working on some parsing code and I Need to do this... (I now how to pasrse so this question is not about parsing...)
Anyway... here is what I Need
If label1.Caption = any other charater besiedes numbers then
label1.Caption = "Full
End If
-
Aug 3rd, 2006, 10:36 AM
#2
Re: Please Help... I really Need some help
VB Code:
If Not IsNumeric(Label.Caption) Then
Label1.Caption = "Full"
End If
-
Aug 3rd, 2006, 10:38 AM
#3
PowerPoster
Re: Please Help... I really Need some help
 Originally Posted by vbman213
ok I am working on some parsing code and I Need to do this... (I now how to pasrse so this question is not about parsing...)
Anyway... here is what I Need
If label1.Caption = any other charater besiedes numbers then
label1.Caption = "Full
End If
first off, where are you getting the value for the label? from a textbox? other control? but you could do this to check the label to see if its numbers or not.
I havent tried this but it should work.
VB Code:
If Not IsNumeric(label1.Caption) Then
label1.Caption = "Full"
Else
label1.Caption = "Not Full"
End If
Last edited by BrailleSchool; Aug 3rd, 2006 at 10:40 AM.
Reason: have to learn how to spell :D
-
Aug 3rd, 2006, 10:42 AM
#4
PowerPoster
Re: Please Help... I really Need some help
 Originally Posted by Hack
VB Code:
If Not IsNumeric(Label.Caption) Then
Label1.Caption = "Full"
End If
two minutes late! haha
-
Aug 3rd, 2006, 11:15 AM
#5
Thread Starter
Hyperactive Member
Re: Please Help... I really Need some help
-
Aug 3rd, 2006, 11:54 AM
#6
PowerPoster
Re: Please Help... I really Need some help
 Originally Posted by vbman213
thanks...
if this has answered your question, please resolve this thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|