Mar 9, 2014 07:15 PM
(This post was last modified: Mar 9, 2014 07:17 PM by Drizzy.)
So I'm trying to fill in a web form, which I have done before, but it appears to not be working for me now.
Textbox I'm trying to fill in:
![[Image: AnuKmNJ.png]](https://i.imgur.com/AnuKmNJ.png)
Code:
And before anyone asks. Yes, the webpage is fully loaded.
And get the following error:
Textbox I'm trying to fill in:
![[Image: AnuKmNJ.png]](https://i.imgur.com/AnuKmNJ.png)
Code:
Code
Dim bag1code As HtmlElement = WebBrowser1.Document.GetElementById("bag1_code")
bag1code.SetAttribute("value", "6")And before anyone asks. Yes, the webpage is fully loaded.
And get the following error:



![[Image: 1zL3pDG.jpg]](https://i.imgur.com/1zL3pDG.jpg)