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
Printable View
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
VB Code:
If Not IsNumeric(Label.Caption) 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.Quote:
Originally Posted by vbman213
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
two minutes late! hahaQuote:
Originally Posted by Hack
thanks...
if this has answered your question, please resolve this thread :)Quote:
Originally Posted by vbman213