Hi, i've been browsing around and I found the following code someone else wrote
Dim ITEM As Object
Dim obIE As SHDocVw.InternetExplorer
Dim obDC As mshtml.HTMLDocument
obIE = New SHDocVw.InternetExplorer()
obIE.Navigate("URL")
obIE.Visible = True
While obIE.Busy : Application.DoEvents() : End While
obDC = obIE.Document
Do Until obDC.readyState = "complete"
Application.DoEvents()
Loop
For Each ITEM In obDC.all.tags("input")
'Fill in the username textbox
If ITEM.Name = "username" Then ITEM.Value = "username"
'Fill in the password textbox
If ITEM.Name = "password" Then ITEM.Value = "password"
Next
'Check the remember me checkbox if you wish
obDC.all.item("ipsec").Click()
'Click on Sign in
obDC.all.item("submit").Click()
While obIE.Busy : Application.DoEvents() : End While
but how can i get the source code of that window???
Dim ITEM As Object
Dim obIE As SHDocVw.InternetExplorer
Dim obDC As mshtml.HTMLDocument
obIE = New SHDocVw.InternetExplorer()
obIE.Navigate("URL")
obIE.Visible = True
While obIE.Busy : Application.DoEvents() : End While
obDC = obIE.Document
Do Until obDC.readyState = "complete"
Application.DoEvents()
Loop
For Each ITEM In obDC.all.tags("input")
'Fill in the username textbox
If ITEM.Name = "username" Then ITEM.Value = "username"
'Fill in the password textbox
If ITEM.Name = "password" Then ITEM.Value = "password"
Next
'Check the remember me checkbox if you wish
obDC.all.item("ipsec").Click()
'Click on Sign in
obDC.all.item("submit").Click()
While obIE.Busy : Application.DoEvents() : End While
but how can i get the source code of that window???