Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_webbrowser --> variable ?
Message
 
To
25/09/2002 14:20:21
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00704087
Message ID:
00704485
Views:
23
I have reserached. There is something called pDisp Perhaps, this makes sense to you? Code snippets? But how to translate to VFP???

1. This one in VB suggest that pDisp is something separate that can be call.
if(pDisp Is Is WebBrowser1.Object) Then
strhtml = pDisp.Document.body.innerhtml
set doc1 = pDisp.frames(0).Document
End If

2. This next one has me stumped but deals with DoeumentComplete and frames.
Private Sub aDocumentComplete(ByVal pDisp as Object, URL As Variant)
If instr(1, URL, "frame2") > 0 then
myHtml = pdisp.Document.body.innerhtml
End If
End sub
I think one could be used in lieu of if ReadyState <>4 but I don't know how to translate it to VFP, might you??
Thanks so much
STeve
Previous
Reply
Map
View

Click here to load this message in the networking platform