How can I cancel the Message-Dlg "Contacting the server for information"

Add-in Express™ Support Service
That's what is more important than anything else

How can I cancel the Message-Dlg "Contacting the server for information"
 
N.Meyer




Posts: 26
Joined: 2012-11-07
Hello,

We insert text content from our application using the "InsertFile" method and the Outlook add-in.
Now we have a case where this message dialog "Contacting the server for information" is displayed. Sometimes displayed for more than 1 minute.
We want to cancel it after 30 seconds.

User added an image

Is there any way to cancel the call to _Document.InsertFile? Can you help us here?

Thanks in advance

Nedeljka Meyer
Posted 17 May, 2020 23:27:12 Top
Andrei Smolin


Add-in Express team


Posts: 17360
Joined: 2006-05-11
Hello Nedeljka,

This isn't supported by the Word Object Model. You can try to use Windows API and/or UI Automation to deal with this.

Regards from Belarus (GMT+3),

Andrei Smolin
Add-in Express Team Leader
Posted 18 May, 2020 02:34:05 Top