Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word 2000 vs Word 97 - automation issue
Message
From
16/09/1999 08:13:22
 
 
To
16/09/1999 08:11:44
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00265394
Message ID:
00265395
Views:
23
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform