N
Nikolai Kirsebom
We have an application which uses Microsoft Word as text editor. The
documents are saved in a database and whenever the user request to
perform some editing, the corresponding document is fetched from the
database and Word is invoked through automation. The 'client' is
written in MFC/C++.
The system has been in production for several years, it was originally
developped for the Word97 version running on NT 4. Currently several
of our customers are running on Windows 2000 with Word 2000.
There are two problems currently that seems to be a result of running
on Windows / Word 2000. None of them are persistent, the frequency
may vary considerably.
1 - all the toolbars are gone: Once in a while, when Word is started
(as a COM server), all the toolbars are gone. Restarting Word in our
application may resolve the problem (for some time), however the whole
application may also have to be restarted. This does not always solve
the problem. Users may have to reinstall Word 2000. Starting Word
standalone (not as a COM server in our application) does not give the
same problems, standard toolbars are initially shown. I've tried to
start Word as a COM server where the client is an interactive
Python-shell session, and I've never seen the missing toolbars problem
in this situation either. In this case the Dispatch interface is
used, could maybe have something to do with the problem. Other office
applications (Outlook in particular) may be running simultaneously.
The scenarios described indicate that there is a problem with the way
we do the automation, however googling on missing toolbars gives a lot
of hits for several of the applications in the Office suite.
Does anyone have any idea how I can try to pin down this problem ?
Any help is really appreciated.
2 - 0x800706BA 'The RPC server is unavailable': This problem is
similar in that it happend once in a while, also when Word is started
(as a COM server). Here again, restarting Word in our application may
resolve the problem, or the whole application may have to be
restarted. This also happens more often on some machines. Again,
does anyone have any idea on how I can try to identify the reason for
this problem ?
As mentioned above, both cases seems to be new with the platform
Windows 2000 / Word 2000 (it also happens on XP / Word 2002).
Thanks for any help.
Nikolai Kirsebom
documents are saved in a database and whenever the user request to
perform some editing, the corresponding document is fetched from the
database and Word is invoked through automation. The 'client' is
written in MFC/C++.
The system has been in production for several years, it was originally
developped for the Word97 version running on NT 4. Currently several
of our customers are running on Windows 2000 with Word 2000.
There are two problems currently that seems to be a result of running
on Windows / Word 2000. None of them are persistent, the frequency
may vary considerably.
1 - all the toolbars are gone: Once in a while, when Word is started
(as a COM server), all the toolbars are gone. Restarting Word in our
application may resolve the problem (for some time), however the whole
application may also have to be restarted. This does not always solve
the problem. Users may have to reinstall Word 2000. Starting Word
standalone (not as a COM server in our application) does not give the
same problems, standard toolbars are initially shown. I've tried to
start Word as a COM server where the client is an interactive
Python-shell session, and I've never seen the missing toolbars problem
in this situation either. In this case the Dispatch interface is
used, could maybe have something to do with the problem. Other office
applications (Outlook in particular) may be running simultaneously.
The scenarios described indicate that there is a problem with the way
we do the automation, however googling on missing toolbars gives a lot
of hits for several of the applications in the Office suite.
Does anyone have any idea how I can try to pin down this problem ?
Any help is really appreciated.
2 - 0x800706BA 'The RPC server is unavailable': This problem is
similar in that it happend once in a while, also when Word is started
(as a COM server). Here again, restarting Word in our application may
resolve the problem, or the whole application may have to be
restarted. This also happens more often on some machines. Again,
does anyone have any idea on how I can try to identify the reason for
this problem ?
As mentioned above, both cases seems to be new with the platform
Windows 2000 / Word 2000 (it also happens on XP / Word 2002).
Thanks for any help.
Nikolai Kirsebom