Board index » delphi » Execute SaveAs from an IWebBrowser2
Stefan Westner
Delphi Developer |
Stefan Westner
Delphi Developer |
Execute SaveAs from an IWebBrowser22005-01-01 09:19:55 PM delphi94 Hello, I use Per Lindsoes excellent samples for extending the IE and created my own toolband. After a button-click in the toolband I want to save the whole displayed page as a mht-file to file or stream. How could this be done? Could I somehow call the menu saveas, set the parameters and execute the save without displaying the saveas-dialog? I tried to send per Lindsoe a mail but his mail-address seems to have changed. Does anyone know his actual mail-adress? Thanks Stefan Westner |
Pascal Chapuis
Delphi Developer |
2005-01-03 04:24:59 PM
Re:Execute SaveAs from an IWebBrowser2
Hi Stefan,
This method (SaveAs) because is implemented by Internet Explorer Application... With IWebbrowser2 you have to re-implement the whole feature (url elements enum and download). WinInet API "URLDownloadToFile" is recommended to implement this feature without prompting. Q244757 HOWTO: Download a File Without Prompting support.microsoft.com/default.aspx Pascal. "Stefan Westner" <XXXX@XXXXX.COM>a écrit dans le message de news: XXXX@XXXXX.COM... QuoteHello, |