Re: Problem with Opening Word Document in Hidden Mode

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi Prasanta,

> I am facing one problem while opening a document in hidden mode,
> normally it works. But if any warning or message box or something
> office internal error message box fired then that word instance stop
> working after that warning. So please tell me how to avoid this types
> of error or warnings or message box in hidden mode.
>
There's no way to turn these off completely. Depending on the type of
message, Application.DisplayAlerts can help some.

other than that, there's a KB article that describes how you can use a
"Timer" function in combination with SendKeys to dismiss any dialog
boxes. But there's no way to determine which one is holding things up
(IOW, the result could be unpredictable.)

http://support.microsoft.com/default.aspx?scid=kb;en-us;307292

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
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

  • Problem with Opening Word Document in Hidden Mode
    ... I am facing one problem while opening a document in hidden mode, ... But if any warning or message box or something ... office internal error message box fired then that word instance stop ...
    (microsoft.public.vsnet.vstools.office)
  • Problem with Opening Word Document in idden Mode
    ... I am facing one problem while opening a document in hidden mode, ... But if any warning or message box or something ... office internal error message box fired then that word instance stop ...
    (microsoft.public.vsnet.vstools.office)
  • Problem with Opening Word Document in Hidden Mode
    ... I am facing one problem while opening a document in hidden mode, ... But if any warning or message box or something ... office internal error message box fired then that word instance stop ...
    (microsoft.public.office.developer.automation)
  • RE: windowssystem32wbem stops backup
    ... Event warning 47 also can be generated in other situation. ... Microsoft CSS Online Newsgroup Support ... This newsgroup only focuses on SBS technical issues. ... | Content-Type: text/plain ...
    (microsoft.public.windows.server.sbs)
  • Re: Warning in client event logs
    ... I understand that you want to know why the warning 40961 occurs to a non ... Start the Network Connections tool in Control Panel. ... Type the correct DNS address in the "Preferred DNS server" box. ... Microsoft CSS Online Newsgroup Support ...
    (microsoft.public.windows.server.sbs)