Şu kodda Integer'e dönüştürme hatası aldım bu kodu düzeltebilecek olan var mı?
t'deki boşluğu silin.
Kod:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Wb1.Documen t.GetElementById("username").SetAttribute("value", TextBox1.Text)
Wb1.Documen t.GetElementById("password").SetAttribute("value", TextBox2.Text)
Wb1.Documen t.GetElementById("login").InvokeMember("click")
ComboBox1.Items.Add(Wb1)
If ComboBox1.Text("http://x") & ComboBox1.Text("http://y") Then
MsgBox("Kullanıcı adı veya şifreniz yanlış!", MsgBoxStyle.Critical)
Else
MsgBox("Giriş başarılı!Yönlendiriliyorsunuz.", MsgBoxStyle.MsgBoxRight)
Form2.Show()
Me.Hide()
End If
End Sub