Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
WebBrowser1.Navigate("http://mobile.msn.com/hm/folder.phpx")
End Sub
Private Sub Button4_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button4.Click
Timer1.Enabled = True
Label2.Text = "Donduruluyor.."
On Error GoTo errordetected
WebBrowser1.Document.GetElementById("LoginTextBox").SetAttribute("value", (TextBox1.Text))
WebBrowser1.Document.GetElementById("PasswordTextB ox").SetAttribute("value", ("pas13465"))
Sleep(2000)
WebBrowser1.Document.GetElementById("PasswordSubmi t").InvokeMember("click")
GoTo done
errordetected:
Label2.Text = "Donduruldu"
WebBrowser1.Navigate("http://mobile.msn.com/hm/folder.phpx")
done:
End Sub
Private Sub Timer1_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Timer1.Tick
End Sub
Private Sub Button5_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button5.Click
Label2.Text = "Hazır"
MsgBox("Msn Çözüldü")
Timer1.Enabled = False
End Sub
kodlar bunlar ama bi türlü çalışmıyor. butona tıkladığımda msn donmuyor yardım bekliyorum. bu arada imports kısmı doğru class ın üstüne yazdım tabi imports lu kısmı veremem