I am using webbrowser control to login to a webpage and auto submit login, email and password with this code:
VB Code:
Webbrowser1.Document.All("usrname").Focus() Webbrowser1.Document.ActiveElement.InnerText = txt_user.Text Webbrowser1.Document.All("uemail").Focus() Webbrowser1.Document.ActiveElement.InnerText = txt_email.Text Webbrowser1.Document.All("peeword").Focus() Webbrowser1.Document.ActiveElement.InnerText = txt_pass.Text Webbrowser1.Document.Forms(0).InvokeMember("Submit")
Yes, I'm a noob but it works so after a long time finding out vb.net 2005 didn't support formname.submit() I was very happy to get this working
Anyhow, I am now trying to use webbrowser control to scrape links with stats.php?id=6digit#here in it's link. I've tried everything I can possibly think of over the past few days and am lost. ANY help will be much appreciated. Thanks
Kevin




Reply With Quote