Results 1 to 3 of 3

Thread: Webrowser - avoid using "browse file" dialog

Threaded View

  1. #3
    Frenzied Member wpearsall's Avatar
    Join Date
    Feb 2002
    Location
    England / UK
    Posts
    1,065

    Re: Webrowser - avoid using "browse file" dialog

    Quote Originally Posted by Static View Post
    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
  •  



Click Here to Expand Forum to Full Width