Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Save Web Page as .mht Web ArchiveDownloads a web page into a .mht web archive. uses Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms, Dialogs, StdCtrls, CHILKATMHTLib_TLB, OleCtrls; ... procedure TForm1.Button1Click(Sender: TObject); var mht: TChilkatMht; success: Integer; begin mht := TChilkatMht.Create(Self); success := mht.UnlockComponent('30-day trial'); if (success <> 1) then begin ShowMessage('Mht component unlock failed'); Exit; end; success := mht.GetAndSaveMHT('http://www.bonairefishing.com/','bonairefishing.mht'); if (success <> 1) then begin ShowMessage(mht.LastErrorText); Exit; end else begin ShowMessage('MHT Created!'); end; end; |
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2007 Chilkat Software, Inc. All Rights Reserved.