private option settings

U

Urs Eichmann

I'm using an embedded Word instance in my application (using dsoframer).
If I programmatically change some options, such as visiblility of the
rulers, in my embedded application, the change affects every word
instance the user may start up later (e.g. using the start menu). Is it
possible to make those settings private to my instance, so it won't be
saved in the registry (or wherever)?

Thanks for any suggestions
Urs
 
J

Jonathan West

Hi Urs,

No it isn't possible to make the options settings private to your instance
of Word, so what you have to do is make your program clean up after itself.
You read the option settings as they are before you change them, and then
you save the original settings back before you close Word.
 
U

Urs Eichmann

Jonathan said:
Hi Urs,

No it isn't possible to make the options settings private to your instance
of Word, so what you have to do is make your program clean up after itself.
You read the option settings as they are before you change them, and then
you save the original settings back before you close Word.
thanks Jonathan. This is a suboptimal solution, since if Word quits
unexpectedly the user is left with all the undesired options... I hope
this will be improved soon my MS... but I fear that I hope for nothing
here...
Urs
 
J

Jonathan West

Urs Eichmann said:
thanks Jonathan. This is a suboptimal solution, since if Word quits
unexpectedly the user is left with all the undesired options... I hope
this will be improved soon my MS... but I fear that I hope for nothing
here...

In that case you implement error handling and have the error handler restore
the settings before stopping the program.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top