Hello, for a school project we was told to write a application to log into a web site. And i wrote this
Code:
Me.WebBrowser1.Document.GetElementById("username").Focus()
Me.WebBrowser1.Document.GetElementById("username").InnerText = Me.TextBox1.Text
Me.WebBrowser1.Document.GetElementById("password").Focus()
Me.WebBrowser1.Document.GetElementById("password").InnerText = Me.TextBox2.Text
Me.WebBrowser1.Document.GetElementById("login").RaiseEvent("onClick")
I was talking to my dads friend and he said i should look into system.net namespace? as its a better way to do this.
Can any one show me some tutorials on learning this?
edit: very sorry just seen that begginer question should not be here :(