Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE automation with Word
Message
 
À
09/06/1998 02:59:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00106095
Message ID:
00106530
Vues:
25
>>I need to open a document in readonly. How should I modify the following code (wich is opening in edit mode).
>>
>>There must be a parameter to the Open Method but I don't know where to find it. VBA doesn't call this method the same way we do in VFP.
>>
>>goWordDoc = CreateObject( "Word.Application" )
>>goWordDoc.Documents.Open( "Data\Doc_Fr.doc" )
>>
>>TIA
>
>goWordDoc.Documents.Open( "Data\Doc_Fr.doc" , ,.T.)
>
>This opens document in readonly mode.
---
Thank you. I assume the parameters are in the same order as VBA? ReadOnly is the 3rd one.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform