Programatically Recover From Safe Mode

J

Joe Winder

I have a VB.Net application that creates an instance of Word and uses it to
create a document from a group of HTML documents. Occasionally, Word will
crash leaving an orphaned process. My application can usually catch and log
these errors, however, to cleanup, I have to kill the orphaned process and
restart Word. When Word restarts, it comes up in safe mode and presents a
dialog to the user. You must acknowledge the dialog and then save or delete
the files that it tries to recover. At some point, I would like to have this
application run unattended. Is there a way to better handle Word application
errors and prevent the application from needing to go into Safe Mode?

Thanks,
Joe
 

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