P
Pieter Morrison
Hi,
I've got an ActiveX control that automates Word and does some document
manipulation. If this control has a word document open, and Word
"Autosaves" or saves the auto-recovery information, Word itself crashes. So
I want to disable autosave while my activex control is running. I've got a
piece of VB code that does what I want, but I need to do this from C++
(using COleDispatchDriver wrappers generated from the Office type
libraries). Here is the VB code:
With Dialogs(wdDialogToolsOptionsSave)
.AutoSave = False
.Execute
End With
Now, in C++ I have the relevant Dialog box - and I can show it, but I need
to just change the value and save it..
Word10:ialog optionsDialog = dialogs.Item(209); //
wdDialogToolsOptionsSave = 209
Does anybody know how to do this, or point me somewhere where I can find
out?
Thanks,
Pieter Morrison
I've got an ActiveX control that automates Word and does some document
manipulation. If this control has a word document open, and Word
"Autosaves" or saves the auto-recovery information, Word itself crashes. So
I want to disable autosave while my activex control is running. I've got a
piece of VB code that does what I want, but I need to do this from C++
(using COleDispatchDriver wrappers generated from the Office type
libraries). Here is the VB code:
With Dialogs(wdDialogToolsOptionsSave)
.AutoSave = False
.Execute
End With
Now, in C++ I have the relevant Dialog box - and I can show it, but I need
to just change the value and save it..
Word10:ialog optionsDialog = dialogs.Item(209); //
wdDialogToolsOptionsSave = 209
Does anybody know how to do this, or point me somewhere where I can find
out?
Thanks,
Pieter Morrison