Thanks Denis,
You that's exactly what I was looking for! Thanks tons!
Rodd
>Hi,
>I hope it help
>
>lcHTML = "<html><body><h1>Hello World</h1></body></html>"
>WITH Thisform.oleWebBrowser
> .Navigate("about:blank")
> .Document.Open()
> .Document.Write(lcHtml)
> .Document.Close()
>ENDWITH
>
>
>>I'm building HTML code in VFP and stuffing it into a variable. I want to then display the HTML contained in my variable. I can do this right now by using strtofile() to write the string to file and then doing thisform.oleBrowser.Navigate("c:\temp\warn.htm").
>>
>>I was just wondering if there is a way to skip the whole writing to file thing and get the browser control to just display the HTML. Has anyone done this?
>>
>>Thanks for your help.
>>
>>Rodd