I remember reading a while ago on http://www.w3.org/ , that for security reasons, you cannot add values to <input type="file"/> .
.If this were to be allowed, files could easily be uploaded from your p.c. without your knowledge.
Best suggestion I can offer, is to click the "Browse" Button.
WebBrowser1.Document.GetElementById("the_file").InvokeMember("click")
codeorder
Posting Virtuoso
1,913 posts since Aug 2010
Reputation Points: 255
Solved Threads: 384