Automation Fill In Fields

R

Ryan Wade

In our app, we do a word merge and then print the file without viewing it.
If there are word merge fill in fields, they sometimes popup behind our app
and the user thinks that the app is hanging because they can't see the
popups. Is there anyway to get the popups for the fill in fields to popup
in front of all open windows? Thanks

Ryan
 
C

Cindy M -WordMVP-

Hi Ryan,
In our app, we do a word merge and then print the file without viewing it.
If there are word merge fill in fields, they sometimes popup behind our app
and the user thinks that the app is hanging because they can't see the
popups. Is there anyway to get the popups for the fill in fields to popup
in front of all open windows?
I'd say only by setting the word application window to be visible and
activate it. If you'd rather not do that all the time there's a KB article
("HowTo", written for VB) that discusses what you can do about dismissing
Office dialog boxes that are blocking code from continuing. Rather than using
SendKeys, you could build on the idea they use to determine whether the
application is "hanging" and bring it to the front.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Sep 30 2003)
http://www.mvps.org/word

This reply is posted in the Newsgroup; please post any follow question or
reply in the newsgroup and not by e-mail :)
 

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