Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Call HTML Editor?
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00468412
Message ID:
00468425
Views:
12
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform