Re: Alerts Problem

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi =?Utf-8?B?QmFkaXM=?=,

I'm using C# for automation 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 background. I
don't need to see it while the process is done. so, is there a way to by pass
there alerts?

No, there is not. The Office applications were not designed to run unattended;
there's no way to run Microsoft Word and ensure some kind of message won't
suspend execution.

If all you want to do is generate documents, consider writing them in
WordProcessingML (Word's native XML) using the new Open File Formats for Office
2007, or as RTF. This way you won't need to automate Word at all.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)

.



Relevant Pages

  • Re: Disable Word Alerts
    ... stage some alerts may come around! ... it's important for you to realise that server-side automation of ... don't need to see the word document while the process is done. ... If your document doesn't require hugely complicated formatting, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Monitoring and Alerts
    ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... | Subject: Re: Monitoring and Alerts ...
    (microsoft.public.windows.server.sbs)
  • Re: Saving edits in MS-Word email attachments?
    ... Word New User FAQ & Web Directory: http://addbalance.com/word ... Microsoft's Legal Users' Guide) http://addbalance.com/usersguide ... This message is posted to a newsgroup. ... attached WORD document to me. ...
    (microsoft.public.word.newusers)
  • RE: fax cover sheet always empty - need last call made
    ... the using prints the word document to the fax that is ... fax cover page appears with empty fields. ... This newsgroup only focuses on SBS technical issues. ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)
  • RE: Email Alerts from SharePoint have a blank "From Field"
    ... mismatch between fqdn and ip address of the server. ... We can receive email alerts that show as Name of Site ... This newsgroup only focuses on SBS technical issues. ... you may want to contact Microsoft CSS directly. ...
    (microsoft.public.windows.server.sbs)