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
application.DisplayAlerts = wdAlertsNone "prasanta" wrote in message news:1135166159.740476.65880@g43g2000cwa.googlegroups.com... > 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 >
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
What does "Word.WdAlertLevel.wdAlertsNone" mean? "prasanta" wrote in message news:1135176830.051671.18760@o13g2000cwo.googlegroups.com... > 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 >
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