I can use the Webbrowser to navigate to a file OK but how do I feed in a string of html code in memory (after having received it into memory from another computer via a Winsock)?
I have minimal HTML knowledge and have not used the WebBrowser control before but this seems to work.
Code:
Option Explicit
Private Sub Form_Click()
WebBrowser1.Document.Write "<B>Hello</B>, <I>World</I>!"
End Sub
Private Sub Form_Load()
WebBrowser1.Navigate "About:Blank"
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.