Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
vb.net Login to a .asp website help
#1
I have been trying to make a program that automatticly login to my schools website and this si the code I tried so far

Schools website - "http://gronlokke-skolen.dk/pi/Loginside.asp"

Code:
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
        WebBrowser1.Navigate("http://gronlokke-skolen.dk/pi/")
    End Sub

    Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        WebBrowser1.Document.GetElementById("Brugernavn").SetAttribute("value", TextBox1.Text)
        WebBrowser1.Document.GetElementById("Adgangskode").SetAttribute("value", TextBox2.Text)

    End Sub
End Class
My profession, you can call me a pothead, 'nuff said
Reply


Messages In This Thread
vb.net Login to a .asp website help - by Firetech - 09-19-2011, 01:16 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  HWID/LOGIN SYSTEM(Help) Coding Support 5 2,170 01-08-2012, 11:57 AM
Last Post: ★Cooldude★
  [VB.net] Auto fill - Auto Login fanste 2 2,038 12-17-2011, 03:17 PM
Last Post: fanste
  [VB.Net] MySQL connection class [Register/List/Login] The-One 21 10,638 07-20-2011, 09:33 AM
Last Post: PURP
  [HELP] VB.NET Pinging website then labeling if online Thoth 3 893 04-18-2011, 07:15 AM
Last Post: Mammoth
  VB.NET Website Image to PictureBox [SRC] Fragma 11 6,179 04-18-2011, 07:15 AM
Last Post: Mammoth

Forum Jump:


Users browsing this thread: 1 Guest(s)