Web Browser Control
Posted on 2002-05-29
I am currently using the MS Internet Control (SHDOCVW.dll) in another app that I have, but it is reading HTML from a file on disk. I have another use for this kind of control, but I want to be able to read the HTML in from a string variable (from a database) rather than from disk.
My question is:
1. Will this control handle this sort of operation? If so, how?
2. If the answer to 1 is no, then is there some other control (preferable one that is available to a basic VB installation) that will?
I want to be able to do something like this:
dim MyString as string
MyString = "<HTML><HEAD></HEAD><BODY>Hello World!</BODY></HTML>"
WebBrowserControl.Output = MyString