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 to MHT File This ASP example downloads the Yahoo! home page and saves it to an MHT file. <%@ Language=VBScript %>
<html>
<head>
</head>
<body>
<%
' *****************************************************
' ASP script to save a Web page to an MHT file.
' *****************************************************
set mht=server.createobject("ChilkatMHT.ChilkatMHT")
mht.UnlockComponent "UnlockCode"
'***** Get the actual Web Page ******
mht.GetAndSaveMHT "http://www.yahoo.com",Server.MapPath("yahoo.mht")
response.write "Saved Yahoo! Home Page"
set mht = nothing
%>
</body>
</html>
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.