1

I have a project with VB6.

I need download a file from an URL. Then I use WebBrowser:

WebBrowser.Navigate "www.miurl.com/mifoto.jpg"

I need save mifoto.jpg directly to my path, I don't need any question about where I save it.

But WebBrowser always asks me to save it.

BSMP
  • 4,596
  • 8
  • 33
  • 44
Karlos Garcia
  • 174
  • 3
  • 16

1 Answers1

1

check this link it may be what you're looking for... I'd expect something like this may be best to do through the Windows API:

http://vbnet.mvps.org/index.html?code/internet/urldownloadtofile.htm

if you want to use the WebBrowser control I think there are a few properties that may help: Silent and Theater