Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving HTML from the web browser Active X control
Message
 
To
12/04/2000 22:13:31
Dave Nantais
Light speed database solutions
Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00358835
Message ID:
00359116
Views:
12
>>>I have set up a web browser Active X control on a form and it runs great.
>>>
>>>But, I would also like to store the incoming HTML code into a foxpro table or into a foxpro memory variable.
>>>
>>>I was told something about InnerHTML or OuterHTML properties holding onto the HTML information. But, I cannot find these properties.
>>>
>>>Any suggestions?
>>
>>You can use oIE.Document.Body.OuterHTML.
>
>there is no oIE object
>
>There are only 2 objects
>The form called 'form1'
>the active x control web browser called 'olecontrol1'
>i tried using olecontrol1.document.body.outerHTML but the 'document' object does not exist in the olecontrol1
>
>how do i create this oIE object?
>
>TIA...

Try form1.olecontrol1.document.body.outerhtml or form1.olecontrol1.document.body.innerhtml Of course you may have frames to deal with also. Hit my website and go to the bottom of the first page. Click on the Microsoft Link and download their webdeveloper tools. Once loaded, you can rightmouse click in the browser and select document tree. That will let you see the object hierarchy a little better.
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Previous
Reply
Map
View

Click here to load this message in the networking platform