Group: microsoft.public.word.vba.general
From: =?Utf-8?B?RnLDqWTDqXJpYyBCZW5vw650?=
Date: Friday, March 07, 2008 8:01 AM
Subject: Error dialog box blocks automation

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...