Com automation implemented for IExplorer - Programmers Heaven

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.

Com automation implemented for IExplorer

rockefellerrockefeller Posts: 1Member
I have a small problem which turns out to be very big for the project I'm working on. I'm using automation technique for having access to Internet Explorer's objects. For this I use the library shdocvw.dll. I need from here the DispHTMLDocument interface which provides the execCommand function.
I have the code:

htmlfile := 'c:\temp\trash\filesaved.html';
execCommand('SaveAs',false,htmlfile);

This means I save the web page WITHOUT the interface provided to specify the filename. It doesn't go like this, the dialog (which is the interface) still appears.
Any hint would be appreciated.
Sign In or Register to comment.