Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word 2000 vs Word 97 - automation issue
Message
De
16/09/1999 08:23:28
 
 
À
16/09/1999 08:13:22
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00265394
Message ID:
00265403
Vues:
21
Wait a sec...that may not be it either.

The parameter will accept values of -1,-2, and 0. 0 *is* supposed to be WdDoNotSaveChanges .... hmmm......

>I think the value of wdDoNotSaveChanges should be -1
>
>
>>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?
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform