Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Show HTML from var
Message
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00748025
Message ID:
00748079
Views:
22
Sergey has given you one answer, which works, however I would highly recommend that you use a file anyway. Quite the contrary - it's probably faster to load the HTML that way.

Why? Well, if your HTML contains links to other things you will have to have them relatively linked somehow which you can't do when you simply assign the string. Everything would have to be hard coded links.

Assigning to the document (which you can also do with: oBrowser.Document.Body.InnerHtml BTW) works well if you have only text.

Regards,

+++ Rick ---


>Hi there,
>in an app I want to present data with the webbrowser-control, but
>I can't figure out how to pass HTML-embedded data in a character-var
>to the control. I don't want to write it first to a file and then laod it cause it takes to much time. I tried passing the var to the navigate-method
>but this does not work. Has anybody some advice for me?
>Thanks in advance
>Thomas
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform