Calling Windows Picture And Fax Viewer

B

Bob King

How do I call "Windows Picture And Fax Viewer" from a
third party program. I have searched everywere and am
unable to locate this program.
 
V

Vinod MR [MSFT]

If you want to open a file with "Windows Picture and Fax viewer" you can run
"rundll32.exe <drive>:\WINDOWS\system32\shimgvw.dll,ImageView_Fullscreen
%1". Replace the "%1" with the file name.

--
Vinod MR
Microsoft Printing, Imaging and Fax Team

This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.
 
R

Raghavendra R [MSFT]

You can use the standard Win32 API ShellExecuteEx. Refer to its
documentation for further information. Essentially you set the lpVerb
parameter of SHELLEXECUTEINFO structure to 'open' and the lpFile parameter
to the tiff file name.

Please note that this will open the default program associated with the file
specified.

--
Raghavendra R
Microsoft Printing, Imaging and Fax Team
This posting is provided "AS IS" with no warranties, and confers no rights.
Please do not send email directly to this alias. This alias is for newsgroup
purposes only.'
 

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