Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Launching MS Word with a document from a command button
Message
De
26/04/1997 21:37:58
 
 
À
26/04/1997 21:24:23
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00029586
Message ID:
00029807
Vues:
31
>>>>>How would one go about launching MS Word with a document by clicking on a command button in FPW 2.6?
>>>>
>>>>RUN /N7 WORD.EXE
>>>
>>>I would favor using OLE automation as you have much more control over Word if you create it as an object.
>>
>>Could you elaborate on how to do this? Many thanks!
>>
>>Bryan
>Sure ....
>oWorddoc=CreateObj('word.application')
>oWorddoc.documents.open('mydoc.doc')
>oWorddoc.visible

Is this FPW 2.6? :))

Vlad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform