Hello Everyone,
I keep getting a "Conversion from string "TrueTrueTrueTrueTrue" to type 'Boolean' is not valid." error....Why? and how do I fix?
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim all As Double = 3
Dim love As Double = 5
Dim mid As Double = 2
Dim house As Double = 0
Dim vac As Double = 3
If (TextBox1.Text = CDbl(all))
& (TextBox2.Text = CDbl(love))
& (TextBox3.Text = CDbl(mid))
& (TextBox4.Text = CDbl(house))
& (TextBox5.Text = CDbl(vac))
Then Form3.Show()
Else MsgBox("Sorry, please try again")
End Sub
2007-02-13
05:55:27
·
5 answers
·
asked by
relms2000
1
in
Computers & Internet
➔ Programming & Design