|
-
Sep 29th, 2009, 05:22 PM
#3
Frenzied Member
Re: Webrowser - avoid using "browse file" dialog
 Originally Posted by Static
if this is a browse / file upload button. you cannot automate it (security feature)
you can however use the internet TRANSFER control to upload the file directly to the server - and get the response... by sending the file in the headers as a multipart/formdata content... i will try find the code i used on my app later if you want... - im assuming the server already handles the file upload though yes?
[edit=did a quick search and...]
http://www.vbforums.com/showthread.php?t=337424
this gives you code to upload a file to a PHP script [even supplies the php script if you dont have one] and uses Winsock [i believe]
and the search "HTTP File Upload":
http://www.vbforums.com/search.php?searchid=2248260
lots of other threads
HTHs ya
Last edited by wpearsall; Sep 29th, 2009 at 05:34 PM.
Wayne
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|