fill fields in Internet explorer

Post Reply
UD previous posts
Posts: 42
Joined: Sat Sep 30, 2006 9:43 am

fill fields in Internet explorer

Post by UD previous posts »

In Vb u can fill fields

like

On Error Goto ErrHandler
With WebBrowser1.Document.Forms(0)
' Eingabefelder ausfüllen
.elements("username").Value = "Ihr Benutzername"
.elements("password").Value = "Ihr Kennwort"

' Formular abschicken
.Submit
End With
On Error Goto 0
Exit Sub
Post Reply