\\\
With AxWebBrowser1.Document.forms(0)
.All("UserAccount").value = "username"
.All("AccessCode").value = "password"
.submit() ' Click the "Submit" button.
End With
///
You can either disable 'Option Strict' for the class/module or add a
reference to the MSHTML library which should provide the necessary types for
accessing forms ('HTMLDocumentClass' etc.).
A webbrowser is the control with what you can emulate or better do interop
to IE using your own view with the axwebbrowser or directly with shdocvw to
IE.
There can be everytime on the document it loads and than lot of "input"
tags.
That does not mean that it is a property from the webbrowser.
You can either disable 'Option Strict' for the class/module or add a
reference to the MSHTML library which should provide the necessary types
for accessing forms ('HTMLDocumentClass' etc.).
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.