G
Guest
Hi. I'm pretty new to Word Automation from VB. I inherited a mass of code and
got it to work pretty well in our setting, but am now stuck here: If I open
two sessions of word, and in each open one document, then close one session
(no changes made to the doc), by doing a Word.Quit I always get prompted
about Normal.dot being "in use by another aplication or user". I hit OK (the
only choice) and then get a save as dialog box for normal.dot. I cancel and
then I'm back in Woord. When I then exit, I get asked if I want to save
changes to Normal.dot, say no, and then I'm out. This situation makes my
program unusable, because the users will not accept all this interaction.
If I do all this outside of automation, that is launch 2 copies word form
the desktp, open a doc in each, then close on, I get none of this, I just
exit smoothly.
Any ideas?
got it to work pretty well in our setting, but am now stuck here: If I open
two sessions of word, and in each open one document, then close one session
(no changes made to the doc), by doing a Word.Quit I always get prompted
about Normal.dot being "in use by another aplication or user". I hit OK (the
only choice) and then get a save as dialog box for normal.dot. I cancel and
then I'm back in Woord. When I then exit, I get asked if I want to save
changes to Normal.dot, say no, and then I'm out. This situation makes my
program unusable, because the users will not accept all this interaction.
If I do all this outside of automation, that is launch 2 copies word form
the desktp, open a doc in each, then close on, I get none of this, I just
exit smoothly.
Any ideas?