I've added a Microsoft Office Document Imaging (MODI) viewer control on a form to let me see the TIFF images referenced by records in a table. The MODI viewer control works fine. My problem arises when I try to print the TIFF image. The MODI component has a basic print method, but it doesn't let me change the paper size or orientation.
Instead, I though I would use the Microsoft Photo Print Wizard that comes with Windows XP. This is the same wizard used by "Picture and Fax Viewer." I found an article on MSDN to tell me how to programatically launch the Photo Print Wizard. Problem is, the sample code is writen in C+!
Has anyone used the Photo Print Wizard in one of their VBA applications and have sample code I might be able to use? If not, any suggestions on how I could use the C+ code in my VBA?
Thanks,
sphinney