By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,460 Members | 2,215 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,460 IT Pros & Developers. It's quick & easy.

Using the Photo Print Wizard in Access

P: 69
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
Feb 11 '09 #1
Share this Question
Share on Google+
2 Replies


P: 69
No takers on this one? That's alright. This is probably more of a VB question than an Access question. I probably should have posted my question on the VB forum to begin with. My bad. I'll just move over to the VB forum and repost. Thanks to everyone who at least read this post and thought about it.

sphinney
Feb 13 '09 #2

FishVal
Expert 2.5K+
P: 2,653
Hello, sphinney.

Unfortunately photowiz.dll library could not be referenced in VBA, nor its classes could be instantiated via CreateObject().
You may have a luck running it via rundll32.exe utility. I will look into this option too and return to you if find it feasible.

Regards,
Fish
Feb 13 '09 #3

Post your reply

Sign in to post your reply or Sign up for a free account.