Discussion:
Problem with Opening Word Document in Hidden Mode
(too old to reply)
prasanta
2005-12-21 11:55:59 UTC
Permalink
Hello,
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.
Thanks,
Prasanta
Jezebel
2005-12-21 12:55:02 UTC
Permalink
application.DisplayAlerts = wdAlertsNone
Post by prasanta
Hello,
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.
Thanks,
Prasanta
prasanta
2005-12-21 14:53:50 UTC
Permalink
Hello,
I tried "oWordApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone" but
its not working. i when i am trying to open in hidden mode its getting
hanged, after i tried with this code even though its showing alert
message box.
Thanks,
Prasanta
Jezebel
2005-12-21 18:59:49 UTC
Permalink
What does "Word.WdAlertLevel.wdAlertsNone" mean?
Post by prasanta
Hello,
I tried "oWordApp.DisplayAlerts = Word.WdAlertLevel.wdAlertsNone" but
its not working. i when i am trying to open in hidden mode its getting
hanged, after i tried with this code even though its showing alert
message box.
Thanks,
Prasanta
prasanta
2005-12-22 09:46:02 UTC
Permalink
Hi ,

Word.WdAlertLevel.wdAlertsNone working before load document and after
open application. i am creating one addins and also code behind. some
document are referring word code behind dll, which is having some
functionality and dll is located in some other server. so when i am
trying to open that document and some times its showing the dll is not
found one message box after load document. if i open that document in
visible mode i can see. but when I try to open that in hidden mode its
getting stuck. one more problem i am facing that if i am trying to open
word through service its showing that instance user name is "System"
and on open document its get stuck.

Thanks,
Prasanta

Loading...