SolvedProblem with this IF statement

Posts 1–4 of 4 · Page 1 of 1
Problem with this IF statement
sorry found solution
Quote Originally Posted by Gbstar View Post
This code wont work and i am not sure why

Code:
 If Label1.Text = "40" And Label3.Text = "26" And Label4.Text = "107" And Label3.Text = "5" Then
            TextBox1.Text = "1"
        End If
that code just doesnt show 1 in the textbox
How is that code being executed?

Also, instead of and, you'll put AndAlso if I'm not mistaken
on a timer its actuly getting pixel coulor count into a data base for a vb orc now only problem is that when i scan it scans all corectly the labels 1345 change to the numbers but the textbox 1 stays the same
Quote Originally Posted by Gbstar View Post
on a timer its actuly getting pixel coulor count into a data base for a vb orc now only problem is that when i scan it scans all corectly the labels 1345 change to the numbers but the textbox 1 stays the same
Dont edit your main post so others with similar problems may see it.. Jesus people.
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us