❓ [Help] Error Equals [Solved]

Posts 1–5 of 5 · Page 1 of 1
❓ [Help] Error Equals [Solved]
Why do i get an error after i run this program.

Code
ComboBox7.Text = ComboBox8.Text = ComboBox9.Text

It says conversion from string to type boolean is not valid.
post your whole code.
Quote Originally Posted by ppl2pass View Post
Why do i get an error after i run this program.

Code
ComboBox7.Text = ComboBox8.Text = ComboBox9.Text

It says conversion from string to type boolean is not valid.
[php]
comboBox7.Text = comboBox8.Text
comboBox8.Text = comboBox9.Text
[/php]

Why would you want to do that?
Even though Closed, one note to help others, the issue occurs because of the format

Boolean = True/False ( A logical Check for the Truth Value)

In your case your code is looking for a boolean, because that is the standard for that setup

So

ComboBox7.Text = ComboBox8.Text = True ('Or False)

If you (not that this would work for you) set combobox9.value as a boolean

Dim BL as Boolean = Combobox9.value

then the code wouldn't error, though it wouldn't work for your purposes.
Posts 1–5 of 5 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Talk with us