This is the line that I am after.
<input id="html5_7956" type="file" accept="image/jpeg,image/gif,image/png,image/bmp" multiple="">
My question is this. How do I take the type "file" and replace that with the path from my computer as the input request?
I can do this in PHP, but not a clue of the syntax of which class to follow to get this done in vb.net and PHP doesn't help cause I didn't write the other PHP file to receive the post information from.
End IfCode:If (WebBrowser1.Document IsNot Nothing) Then Dim Elems As HtmlElementCollection = WebBrowser1.Document.GetElementsByTagName("input") For Each elem As HtmlElement In Elems Dim AttStr As String = elem.GetAttribute("type") If AttStr = "file" Then 'What goes here? End if Next


Reply With Quote
