Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Internetexplorer.application Event trap
Message
De
25/03/2000 10:01:33
 
 
À
25/03/2000 02:36:01
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00350345
Message ID:
00350387
Vues:
28
>Thanks to previous threads I am using IE5 automation in my foxpro application, but I can not figure out how to use the events. Below is the VB Example. Can anyone explain how to trap the event in VFP or show me a sample?
>
>Private Sub WebBrowser1_DocumentComplete(ByVal pDisp As Object, URL As Variant)
> If (pDisp Is WebBrowser1.Object) Then
> Debug.Print "Document is finished loading."
> End If
>End Sub
>
>Thanks!!
>Doug

The above works in VB because at some other point in the VB code, the a With Events command was issued to "bind" the events of the COM object to local methods.

In VFP, we can do this only with the VFPCOM utility's "BindEvents" method. You can get the VFPCOM utility from the MS website at msdn.microsoft.com/vfoxpro.
Erik Moore
Clientelligence
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform