I have an issue with the line:
If CDbl(ClassTextBox.Text) = nbrValue(I) Then
And I got a InvalidCastException was unhandled error, and it was 'Conversion from string "" to type 'Double' is not valid'
Do you have any ideas?
I am trying to create a For Each Loop in my program.
I have 20 lines worth of data in my RichTextBox, and I want to apply a ruleset as follows: Code:
If Textbox1.Text.Contains(Printer(13))
Then ClassifyTextbox.Text = "Printer - Jam"
ElseIf Textbox1.Text.Contains(Printer(9)) Then...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.