Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WebBrowser again
Message
From
16/12/2006 18:10:32
Mike Sue-Ping
Cambridge, Ontario, Canada
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
01178296
Message ID:
01178318
Views:
12
>Mike,
>
>Check Re: Possible to feed html to Explorer ole rather than url? Message #930771
>
>>Where am I going wrong?
>>
>>I've got a browser control on a form where I navigate2("about:blank") in the form's Init. I then try to show some information by placing some HTML into the document.body.innerHTML. Something like, innerHTML =
"<p>This is a test</p>"
, but, I don't see anything when the form runs.
>>
>>If I right-click and View source in the running form, NotePad displays
"<HTML></HTML>"
and no body tags, etc. So what happened to my body.innerHTML?
>>

Thanks Sergey!!

It works using Document.Write, but, I'm confused why innerHTML doesn't. Anyway, now I know how it can be done I'll just stick to it.

Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform