Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Save Web Page to MHTThis Delphi sample code demonstrates how to save a Web Page to an MHT file. Import the MHT ActiveX into Delphi so you have the MHT icon in the ActiveX palette. Drop the MHT icon onto the unit form. // TChilkatMht reference documentation procedure TForm1.Button1Click(Sender: TObject); begin ChilkatMHT1.UnlockComponent('UnlockCode'); ChilkatMHT1.GetAndSaveMHT('http://www.foxnews.com','foxnews.mht'); ChilkatMHT1.SaveLastError('mhtLog.txt'); end;
|
© 2000-2010 Chilkat Software, Inc. All Rights Reserved.