This will work fine.
(VB.NET)
Dim InternetExplorer = CreateObject("InternetExplorer.Application")
With InternetExplorer
.Visible = True
.Navigate("www.test.com")
.document.getElementsByName("value")(0).Value = "test"
end With
But if i navigate to another page and try to "getElementsByName" again, i will become this error "HRESULT: 0x800A01B6".
How can i fix it?
I am grateful for every suggestion.
User contributions licensed under CC BY-SA 3.0