Repressing Word alerts

J

joniba

Hi all,
I'm developing an application that reads downloaded .doc files from the
filesystem. Occasionally one of these files, when attempting to open with
word, cause it to crash. This leads to 2 situations in which I get alerts:

1.When word crashes and asks what to do (alert asks if to send error report
and if to restart word?)
2.If I try opening the file again at a later time (alert asks if I really
want to open this file, which causes "serious damage" last time it was opened)

I would like to know if I can somehow repress these alerts, preferrably by
giving them predetermined answers.

I am using VS2008 with framework 3.5 (though I don't think that makes much
of a difference), and am working with the Microsoft office Primary Interop
Assembly (path ends in Visual Studio Tools for
Office\PIA\Office12\Microsoft.Office.Interop.Word.dll). I'm working in a
class library.
 

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