J. Scott Elblein
Well-known member
I have been using this code:
in a program without issue for some time now. For some reason today however, whenever I access the same page that it has always worked on, now gives me a NullReferenceException error on the .setattribute line.
I am noticing when I hover the cursor over ControlSet after the Dimming, it says "Nothing".
Anyone have any ideas why this could be happening? Thanks.
VB.NET:
Dim ControlSet As HtmlElement = wbr.Document.GetElementById(ControlName)
wbr.Document.GetElementById(ControlName).SetAttribute("Value", Value)
in a program without issue for some time now. For some reason today however, whenever I access the same page that it has always worked on, now gives me a NullReferenceException error on the .setattribute line.
I am noticing when I hover the cursor over ControlSet after the Dimming, it says "Nothing".
Anyone have any ideas why this could be happening? Thanks.