Office on Vista opens up behind calling application

S

Sparre

I have an application that through a dll creates a series of word
documents and shows a printing dialog to allow users to printout the
document.

On Windows XP, when the Word application is initiated it places itself
infront of the the application from which it is called. But on windows
Vista word is placed underneath the calling application, resulting in
the user not beeing able to see the print dialog, and thus thinking
the application is frozen.

How is it possible to bring the Word application to the very front on
the users desktop? I have tried the Application.Activate() method but
it does not seem to work if the word application is not visible.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top