Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Call HTML Editor?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00468412
Message ID:
00468425
Vues:
18
>Here's a tricky one. I have HTML code stored in a memo field. I want to give the user the option of using their associated HTML editor on the file. How do I find it/call it? I tried simply running the associated app with .html and of course IE started up.

Use ShellExecute() with the "edit" verb. There are ShellExecute examples in the Microsoft KB, and here on the UT as well. Though I don't recall that the examples specifically use the "edit" verb, it shouldn't be difficult to hack at it.

Of course, George and Ed will be along shortly to show you how to do it using the Windows Scripting Host. :-)
Mike Stewart
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform