N
Nigel Bufton
My application pushes Word to the limit. It can produce documents that are
hundreds of pages long including many pictures and many shapes (lines,
rectangles) to create charts. With a large document, Word will "crash"
(cease to process any more directives) with "memory or disk problem".
Because the documents are created with many sections, the application saves
the document at the end of each section.
It error traps Word crashing, at which point I need it to quit Word and
start it afresh - resuming from the start of the section in which it
crashed.
All of the logic works fine, except in many cases a Quit or Close directive
fails because Word has reached the end of its tether.
Is there a simple way to close the crashed instance of Word, or do I need to
use the Windows API to kill the WinWord process. If so, is there any easy
way of determining which is the process in question if there are more than
one WinWord process running?
Thanks for any guidance.
Nigel
hundreds of pages long including many pictures and many shapes (lines,
rectangles) to create charts. With a large document, Word will "crash"
(cease to process any more directives) with "memory or disk problem".
Because the documents are created with many sections, the application saves
the document at the end of each section.
It error traps Word crashing, at which point I need it to quit Word and
start it afresh - resuming from the start of the section in which it
crashed.
All of the logic works fine, except in many cases a Quit or Close directive
fails because Word has reached the end of its tether.
Is there a simple way to close the crashed instance of Word, or do I need to
use the Windows API to kill the WinWord process. If so, is there any easy
way of determining which is the process in question if there are more than
one WinWord process running?
Thanks for any guidance.
Nigel