Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

Filling in a web form?

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]

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: I3Uczo1.png]
You have to loop through an array of elements.
[Image: 1zL3pDG.jpg]


Possibly Related Threads...
Thread / Author Replies Views Last Post
[C#] by KαѕρerMay 1, 2020 12:22 PM 3 155 May 1, 2020 12:22 PM
Last Post: Shadow_Cloud
[.NET] by zna213Feb 24, 2018 04:35 AM 3 143 Feb 24, 2018 04:35 AM
Last Post: RiperFish
[C] by DarkScientistJan 5, 2017 10:08 AM 0 142 Jan 5, 2017 10:08 AM
Last Post: DarkScientist