Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word 2000 vs Word 97 - automation issue
Message
 
À
16/09/1999 13:41:10
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00265394
Message ID:
00266617
Vues:
18
>>We use MS-WORD ole-automation to move information into word thru mail-merge. Our app works perfectly fine in WORD 97
>>
>>When it is used from WORD 97 the VFP code below:
>>
>># DEFINE wdDoNotSaveChanges 0
>>
>>** open a word mail-merge master document
>>oWord = GETOBJECT("MyWordDoc.doc")
>>
>>** follow a series of document mail-merge manipulations
>>
>>** master document closing
>>oWord.Close(wdDoNotSaveChanges)
>>
>>This triggers the following prompt:
>> 'Do you want to save changes made to "MyWordDoc.doc"'
>>A bug in my opinion... anyway out?
>
>Francois- try closing the document with the save parameter, before attempting to close Word.

You can also set the document dirty flag to false
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform