S
Scott McBurney
I have an application that we have used for years that uses the Word object
model. It exports data from another application, opens a mail merge document
in word, associates that document to the exported data source, and executes
the mail merge.
This worked great previously.
The problem we are seeing happens on Windows Vista with Office 2007. The
application still does everything right, but the Word window appears behind
our application window. With all previous versions of word (and the OS),
when Word was started using the Object Model, the Word application window was
always in the foreground.
So our application runs full screen, and now word appears behind it, the
user doesn't see word. They are lucky if they notice the blinking button on
the task bar for word.
Any suggestions how to get word to the foreground when it is launched using
its object model from another application?
model. It exports data from another application, opens a mail merge document
in word, associates that document to the exported data source, and executes
the mail merge.
This worked great previously.
The problem we are seeing happens on Windows Vista with Office 2007. The
application still does everything right, but the Word window appears behind
our application window. With all previous versions of word (and the OS),
when Word was started using the Object Model, the Word application window was
always in the foreground.
So our application runs full screen, and now word appears behind it, the
user doesn't see word. They are lucky if they notice the blinking button on
the task bar for word.
Any suggestions how to get word to the foreground when it is launched using
its object model from another application?