P
Petr Danes
I use automation to display results of queries from an Access database into
a Word document. The display is fairly heavily customized: I write out a
template, call the template and have it read in an XML file that I generate
in Access. It sets up custom toolbars, task panes and the document map,
displays the XML results, and puts everything back when closing. All this
works fine, but if the user has this open and wants to open another instance
of Word at the same time, all the custom display settings show up in the new
document as well. I thought that
CustomizationContext = ActiveDocument
would limit this to my app, but it doesn't. Am I using it wrong, is there
another way to do it, is it possible at all?
Petr
a Word document. The display is fairly heavily customized: I write out a
template, call the template and have it read in an XML file that I generate
in Access. It sets up custom toolbars, task panes and the document map,
displays the XML results, and puts everything back when closing. All this
works fine, but if the user has this open and wants to open another instance
of Word at the same time, all the custom display settings show up in the new
document as well. I thought that
CustomizationContext = ActiveDocument
would limit this to my app, but it doesn't. Am I using it wrong, is there
another way to do it, is it possible at all?
Petr