A
Alessio
Hi everybody,
I've been able to automate the mailmerge process with Microsoft
office 2003. Anyway, in some cases, it is still necessary to dismiss
an annoying dialog box unexpectedly shown by Word in the middle of the
whole process.
The application is able to dismiss the dialog box when the Word
automation server and the app itself run in the interactive desktop.
But when the app is started as a non-interactive service, it and the
word automation server are run in a different desktop, thus the dialog
box does not receive the keys sent by the app.
Anyone knows how to dismiss the dialog in this situation? I read
somewhere that any apps running in a non-interactive desktop don't
have the message queue, so it is useless to send them keyboard event
messages. So is it possible to make the app have its message queue? Or
is there any other way to make those dialogs be dismissed?
Thank you very much, and have a nice day
Alessio
I've been able to automate the mailmerge process with Microsoft
office 2003. Anyway, in some cases, it is still necessary to dismiss
an annoying dialog box unexpectedly shown by Word in the middle of the
whole process.
The application is able to dismiss the dialog box when the Word
automation server and the app itself run in the interactive desktop.
But when the app is started as a non-interactive service, it and the
word automation server are run in a different desktop, thus the dialog
box does not receive the keys sent by the app.
Anyone knows how to dismiss the dialog in this situation? I read
somewhere that any apps running in a non-interactive desktop don't
have the message queue, so it is useless to send them keyboard event
messages. So is it possible to make the app have its message queue? Or
is there any other way to make those dialogs be dismissed?
Thank you very much, and have a nice day
Alessio