Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Opening Files
Message
De
12/06/2003 10:56:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00799257
Message ID:
00799372
Vues:
33
Neil,

You want to open the .txt file in Word? What is the purpose, simply editing, or just to show it to the user?

For simple editing, you can use MODIFY FILE "u:\help.txt", as Cetin suggested. If you only want to display it to the user, you can use a readonly editbox on a VFP form.

An easy way to open a document in Word is using ShellExecute API #12636, but that will only work if the file has a .doc extension. If you *really* need to open the file in Word, you can use Word automation.

>I have done that I think so but it still does not work.
>
>What is the usual convention for opening a Word Document
Steve Gibson
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform