Printing PowerPoint 2000 Presentation from VB6

E

Ed Redmond

I have created an application in VB6 that displays and
prints Microsoft Office documents. I use the
ShellExecute API for both of these functions. For every
Office application other than PowerPoint, using
ShellExecute and passing in the PRINT parameter instead
of OPEN, temporarily opens the application sends the
command to print and then closes the application. When I
try to print PowerPoint 2000 presentations using the same
methodology, PowerPoint opens and then the Print dialog
window appears that requires the user to click on OK
before the presentation is printed.

I am looking for a way to either tell ShellExeucte to
bypass that dialog window or for a way to turn off the
Print dialog inside of PowerPoint.

Any help would be greatly appreciated.
 

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