Oky i have a big problem that needs help fixing
Here's my code :
Private Sub FullLoginTimer_Tick(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles FullLoginTimer.Tick
Try
If MbFacebookBrowser.Document.Url.AbsoluteUri = "http://www.facebook.com/login.php" Then
MbFacebookBrowser.Document.GetElementById("email").SetAttribute("value", Emailtxt.Text)
MbFacebookBrowser.Document.GetElementById("pass").SetAttribute("value", Passwordtxt.Text)
MbFacebookBrowser.Document.GetElementById("Login").InvokeMember("click")
End If
Catch skipErrors As Exception
Try
If MbFacebookBrowser.Document.Url.AbsoluteUri = "http://www.facebook.com/login.php" Then
MbFacebookBrowser.Document.GetElementById("pass").SetAttribute("value", Passwordtxt.Text)
MbFacebookBrowser.Document.GetElementById("Login").InvokeMember("click")
FullLoginTimer.Stop()
** '(Rem)MbFacebookBrowser.Navigate("s7.moonbase.mobi/Home/Landing")**
Else
End If
Catch dd As Exception
End Try
End Try
End Sub
How can let the this timer wait for webpage to complete so that i can navigate to the webpage
In the (Rem) is the navigate part but password has to be submitted first
so anybody please if you maybe have an idea please post it