Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to stuff HTML into a browser control
Message
From
22/09/2001 05:16:27
 
 
To
21/09/2001 13:45:08
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00559092
Message ID:
00559610
Views:
18
Hi!

Try to load from disk some sort of empty HTML file with empty Body, hen assign the body through objects interface. You still need a file, but only one that is fixed.

>>Hi!
>>
>>Try to use something like ...Document.All(0).InnerHTML = "HTML here". I guess Document object in the WEB Browser control is the same reference as a Document object for a JavaScript. In IE5.0 and higher you can change the layout of page by assigning the tags to innerHTML property of several container objects on HTML page, include BODY. I do not know exactly, however, how to access the BODY element from the Document object.
>
>Worked, sort of. The property gets assigned, but nothing shows up. It probably takes setting several other properties and getting the object into a state when it would accept this. At times it complained of the .document property being totally absent - I'm getting this all the time with automation objects, you can never be sure if all of its objects or collections will exist. It could return .null. at least, but no, it has to raise an error.
>
>I've stuffed the _browser object from FFC for the time being, and seems to be dumping the memo into a html file is the only way, at least until search server on UT is back in business.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform