Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Internetexplorer.application Event trap
Message
From
25/03/2000 10:01:33
 
 
To
25/03/2000 02:36:01
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00350345
Message ID:
00350387
Views:
27
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform