469,647 Members | 1,769 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

Disable Word Alerts

I'm using automation for mail merging but the process hangs because at some
stage some alerts may come around!
I have tried:
wrdApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone;
&
wrdApp.DisplayAlerts =0;
all I need is to produce a word document and save it in the back end. I
don't need to see the word document while the process is done. so, is there
a way to by pass
there alerts?

Cheers.
Apr 10 '07 #1
1 2534
"Badis" <Ba***@discussions.microsoft.comwrote in message
news:BD**********************************@microsof t.com...
I'm using automation for mail merging but the process hangs because at
some
stage some alerts may come around!
I have tried:
wrdApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone;
&
wrdApp.DisplayAlerts =0;
Firstly, it's important for you to realise that server-side automation of
Office products is not supported at all by Microsoft, and is highly likely
not to work:
http://support.microsoft.com/default...US;q257757#kb2
all I need is to produce a word document and save it in the back end. I
don't need to see the word document while the process is done. so, is
there
a way to by pass there alerts?
1) If your document doesn't require hugely complicated formatting, create an
HTML document and give it a .doc extension - Word will treat it just like a
regular Word document.

2) Use the (relatively) new XML file format:
http://www.microsoft.com/downloads/d...displaylang=en
http://www.microsoft.com/downloads/d...displaylang=en

3) Use Aspose:
http://www.aspose.com/Products/Aspose.Words/
Apr 10 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

30 posts views Thread by Blnukem | last post: by
reply views Thread by ryan baldwin | last post: by
reply views Thread by Bud Zielinski | last post: by
1 post views Thread by Selen | last post: by
reply views Thread by Youss33 | last post: by
17 posts views Thread by dan_williams | last post: by
4 posts views Thread by nick | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.