General information
Category:
COM/DCOM and OLE Automation
>>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
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only