I’m setting up a program that displays a website that has a FileUpload object. I wanted to have my program set the default path for the FileUpload object but I can’t seem to get it to work. Here is my current attempt:
WebBrowser1.Document.GetElementById("uploaded_file").SetAttribute("Value", UploadDefault)
It doesn’t seem to be working, however. Does anybody how I can get my desired result? I’m using VB.net so all .net answers are acceptable!
For HTMLElement of input type=”file” value attribute is read-only, because of security reasons.