VBScript Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript



VBScript Examples

Bounced Mail
Bz2
Character Encoding
Digital Certificates
CSV
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
PFX
RSA
S/MIME
SFTP
SMTP
Socket
Spider
SSH
SSH Key
SSH Tunnel
String
Tar
Upload
XML
XMP
Zip Compression
Self-Extractor

More Examples...
Email Object
FileAccess
Byte Array
RSS
Atom
Service
PPMD
Deflate
DH Key Exchange
DSA

Unreleased...
Bzip2
LZW
Icon

 

 

 

 

 

 

 

Convert HTML to MHT VbScript

Convert an HTML file to MHT. All referenced images, style sheets, scripts, etc. will be embedded within the MHT. If problems occur, consult the last-error information created by the SaveLastError method call.

set mht = CreateObject("ChilkatMht.ChilkatMht")
mht.UnlockComponent "30-day trial"
mht.GetAndSaveMHT "test.html","test.mht"
mht.SaveLastError "errors.xml"

 

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

© 2003-2008 Chilkat Software, Inc. All Rights Reserved.

Mail Component · XML Parser