Chilkat HOME ASP Visual Basic VB.NET C# Visual C++ C MFC Delphi FoxPro Java Perl PHP Python Ruby SQL Server VBScript
|
Visual Basic Example Source to Save Web Page to MHT This Visual Basic example program saves a Web Page to an MHT file that contains all HTML, frames, style sheets, images, etc. ' Visual Basic example program to save a Web page to an MHT file.
Private Sub Command1_Click()
Dim mht As New ChilkatMHT
Label1.Caption = "Please wait..."
Label1.Refresh
mht.UnlockComponent "UnlockCode"
success = mht.GetAndSaveMHT("http://www.yahoo.com/", "yahoo.mht")
mht.SaveLastError "log.xml"
Label1.Caption = "Finished, check log.xml for errors."
Label1.Refresh
End Sub
|
Need a specific example? Send a request to support@chilkatsoft.com
© 2000-2008 Chilkat Software, Inc. All Rights Reserved.