Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Run procedure from HTML Hyperlink
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Network:
Windows 2003 Server
Divers
Thread ID:
01535217
Message ID:
01535274
Vues:
73
>Now that I really need it I seem to have lost my example code to call a procedure from a Hyperlink in HTML in an ActiveX browser control. Can anyone point me to some example code? I tried with Google but no luck.

You capture the OnBeforeNavigate() event in the browser and then examine the URL. Triggered on hyperlinks and form submits.

One thing to remember with this is that the URL needs to be in a valid format and include a protocol prefix (http://, file:/// etc.). This prefix can be fictitious (like vfp://) which is a good way to know whether you need to trigger the URL for internal navigation or let the browser do it.

I covered this a long time ago in an article:
http://west-wind.com/presentations/shellapi/shellapi.asp

towards the bottom.

Hope this helps,

+++ Rick ---
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform