Error dialog box blocks automation

  • Thread starter Frédéric Benoît
  • Start date
F

Frédéric Benoît

Hi,
I'm using Word automation to generate some documents silently, but I ran
into a problem: When the application started freezing mid-generation, a test
with visible Word showed that when I try to import a TIFF image that happens
to be corrupt, *even when doing it via automation*, I get an ERROR DIALOG
BOX, and both word and the automation client are blocked until I click.

As what I'm trying to do must not require any user intervention (hundreds of
documents must be generated nightly), is there any way to avoid displaying
this dialog box ?

Setting the Application.DisplayAlerts property to WdAlertLevel::wdAlertsNone
seems to have absolutely no effect on this dialog box...
 

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