Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_webbrowser --> variable ?
Message
 
À
25/09/2002 14:20:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00704087
Message ID:
00704485
Vues:
24
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform