Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launching Word or WP from VFP
Message
 
À
23/04/1999 13:50:41
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00211600
Message ID:
00211877
Vues:
26
>Whoops. Typo. Thanks, Cetin..you are correct Documents not Document.
>
>>>
>>>Try this (might need some small changes) (for Word97)
>>>
>>>oWord=CREATEOBJECT("Word.Application")
>>>oWord.Document.Open("Filename",,.T.)
>>>
>>>The third parameter is ReadOnly. Now VB help shows it as a variant so .T. may not work....
>>>
>>>
>>AFAIK .t. and 1 works :) Just I think it would be "oWord.Documents.Open" not sure.
>>Cetin

John, Cetin...thanks for the help, it works like a charm.

My only other question is..where can I go to learn some of this syntax stuff for launching other apps from VFP? Suppose, for example, I now need to do some work with Excel.

TIA
Phil Thomas
http://phillipdthomas.com

Never let your energy or enthusiasm be dampened by the discouragements that must inevitably come.....
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform