Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word in stealth mode

Status
Not open for further replies.

jaybe38

Programmer
Jan 22, 2002
16
NZ
Hi,

Anyone know how to start, run and close Word in 'quiet mode' from within C/C++?

Our product currently uses Word invisibly to print letters from a contact list, but hits a problem if Word pops up a dialog. If this happens, our users just tend to open another, and another, and another... Eventually we crash through a lack of resources. Basically we need a way to tell Word to ignore all dialogs, and run 'silently'.

Any ideas welcome
Jamie
 
did you use a try-catch(...)? It always worked for me to keep unwanted errors from popping up. Cyprus
[noevil]
 
I'll try it Cyprus, thanks.
Anyone else, keep the suggestions coming. If this doesn't catch the dialogs I need, I'll need other ways.
 
Sorry Cyprus, it seems that the try...catch approach has been done.
The problem is that the dialogs aren't errors. They are usually an information box saying our margins are too narrow, and do we want to continue.

Thanks anyway
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top