Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Possible to feed html to Explorer ole rather than url?
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00930769
Message ID:
00930783
Views:
11
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
Previous
Reply
Map
View

Click here to load this message in the networking platform