Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP & MS IE Control
Message
De
02/04/2001 22:06:44
 
 
À
02/04/2001 21:33:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Applications Internet
Divers
Thread ID:
00491125
Message ID:
00491159
Vues:
9
>>I am have an IE Browser control on a form.
>>
>>When I click on a link, how can I run VFP code passing
>>in the link name?
>
>Using VFPCOM, create a custom object that implements the Web Browser events, and use BindEvents to Bind an instance of the custom class to your web browser control; you'll porbably want to add code to the BeforeNavigate event. VFPCOM is available from msdn.microsoft.com/vfoxpro/downloads; you'll need to read the docs for both VFPCOM and the Web Browser control, which on my machine takes the ProgID "WebBrowserWrapper.WebBrowserWrapper.1"

With the ActiveX control, VFPCOM is not necessary because the events are already bound to VFP methods of the OLE container. All you need to do is place your code in the BeforeNavigate2 method of the control.
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform