Click here to Skip to main content
15,949,686 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

I am developing an application using vb.net webbrowser control in the .net framework. I have to fill data to an htmlelement which is of type "File", below is the html element tag

XML
<TD colSpan=4><INPUT name=fname1 size=50 type=file> </TD></TR>


I want to programmatically upload file with out use intervention in the html element of type file.

I tried following

elm.InvokeMember("innertext", elementValue)

giving me error.

Please help me how i can add file path programmatically.
Posted
Comments
#realJSOP 9-Sep-10 8:13am    
Are you browsing to a web page on the internet, or are you displaying local html in the control? Also, it isn't clear what you tried, and saying "giving me error" doesn't tell us anything useful.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900