Load a static HTML text in a WebBrowser control (ieframe.dll) in VB

Here's the code:

Private Sub loadHTML(ByVal sHTML As String)
With WebBrowser1
.Navigate "about:blank"
DoEvents
.Document.write sHTML
End With
End Sub
view raw ieframe_dll.vb hosted with ❤ by GitHub

Komentar