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