Delphi Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

Delphi Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
RSA Encryption
S/MIME
Socket
Spider
String
Tar
Upload
XML
XMP
Zip Compression

More Examples...
Byte Array
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor

Unreleased...
Service
PPMD
Deflate
Bzip2
LZW
Bz2
DH Key Exchange
DSA
Icon

Type Conversion

 

Article: Understanding COM References in Delphi

Save Web Page to MHT

Download Chilkat MHT ActiveX

This 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;

 

 

Need a specific example? Send a request to support@chilkatsoft.com

© 2000-2007 Chilkat Software, Inc. All Rights Reserved.

Mail Component · .NET Email Component · XML Parser