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!

close dialog box from program

Status
Not open for further replies.

serpem

Programmer
Feb 20, 2003
22
US
I am writing a program that print Windows files in TIFF format by selecting MS Office Document Writer as the printer, then calling ShellExecute() to start printing. The problem is that the Office Document Writer pop a "Save As" Dialog box before printing each time.
Does anyone know how I can close that dialog from my program by either dismissing it or, better, activating the "Save As" button that's on the dialog?
thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top