Calling Windows Picture And Fax Viewer

  • Thread starter Thread starter Bob King
  • Start date Start date
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.
 
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.
 
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.'
 
Back
Top