Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stuff HTML into a browser control
Message
 
To
20/09/2001 23:09:55
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00559092
Message ID:
00559780
Views:
17
This message has been marked as the solution to the initial question of the thread.
>Here's the simple: On a form, there's a browser control. In a table, there's a bunch of HTML pages in memos. How can I show them without throwing stuff on disk, checking whether the browser control still has them open, deleting them on the way out etc. The properties published don't give me much of a clue, UT Search currently offline, and nothing in the FAQ. Ergo, anybody?

Try this:

First, navigate to a blank page:
Browser.Navigate("about:blank")
Then, write whatever content you would like to display into the document:
Browser.Document.Open()
Browser.Document.Write(HTMLMemo)
Browser.Document.Close()
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform