How to call SnapHtmlString() function with image on the internet?

The following demo program written in VBScript shows how to call SnapHtmlString() function with image on the internet.

Dim snap
Set snap = CreateObject("HtmlCapture.SnapShooter.1")
snap.SetImageEnabled(True)
snap.SetActiveXEnabled(True)

snap.SnapHtmlString “<img src=’http://www.google.com/intl/en_ALL/images/logo.gif’>”
snap.SaveMultiPageTiff "demo.tiff", 2000

Leave a Reply

You must be logged in to post a comment.