Re: Auto File Download



Check how the click event is handled and replace the button's onclick event
with your own equivalent functions.
For more information about HTML element events, search for "Handling html
element events"

--
Sheng Jiang
Microsoft MVP in VC++
"JonWayn" <JonWayn@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:E52AADB3-0007-49BA-80E4-817F4570809D@xxxxxxxxxxxxxxxx
I am using VBA with MSAccess and the webbrowser control to download a
file. I
have successfully done this numerous times when the download process is
initiated by a hyperlink, in which case, the url to the file is available
through the HRef property of the link. However, in this case, the process
is
initiated by a button, which has no property that tells the URL of the
file.
Clicking this button pops a modal dialog giving the options to save, open
or
cancel. How can I get this file downloaded without the display of this
dialog?

Thanks for any help


.