By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
448,948 Members | 1,104 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 448,948 IT Pros & Developers. It's quick & easy.

Setting a file to upload inside the WebBrowser component

P: 1
I have a simple web page that allow file to be uploaded, the upload page
looks like the following:

Expand|Select|Wrap|Line Numbers
  1. <form method="post" name="upload" enctype="multipart/form-data"
  2. action="processupload.aspx">
  3. <input type=checkbox name="chkOverride" value="1">
  4. <input type=file name="filename">
  5. <input type=submit value="Upload Data File" name="cmdSubmit">
  6. </form>
My question is without using the web page, how could I use something in
System.Net such as HttpWebRequest or WebClient or some kind to
programmatically upload a file along with sending the checkbox to that
upload page?
I found many solutions in C# but I want it in VB.Net

Jan 18 '14 #1
Share this question for a faster answer!
Share on Google+

Post your reply

Sign in to post your reply or Sign up for a free account.