Process.Start(Picture and Fax Viewer)?

  • Thread starter Thread starter Dean Slindee
  • Start date Start date
D

Dean Slindee

Regardless of how a user may have image files associated with viewers, I
would like to hardwire a call to the Microsoft Picture and Fax Viewer from
my application. Anyone know how to format the Process.Start() statement(s)
to accomplish this with the shimgvw.dll? My best guess is below, but it
does not work.
Dim proc As New Process

proc = Process.Start("C:\Windows\system32\rundll32.exe",
"C:\windows\system32\shimgvw.dll,ImageView_Fullscreen C:\image.bmp")

Thanks,
Dean Slindee
 
Dean said:
Regardless of how a user may have image files associated
with viewers, I would like to hardwire a call to the
Microsoft Picture and Fax Viewer from my application.
Anyone know how to format the Process.Start()
statement(s) to accomplish this with the shimgvw.dll? My
best guess is below, but it does not work.
Dim proc As New Process

proc = Process.Start("C:\Windows\system32\rundll32.exe",
"C:\windows\system32\shimgvw.dll,ImageView_Fullscreen
C:\image.bmp")

Thanks,
Dean Slindee
===============================================
I saved the following string from a previous message
and it works for me if I use in in my Run field...maybe
it's what you are looking for:

rundll32.exe %SystemRoot%\System32\shimgvw.dll,ImageView_Fullscreen
[now add a space and enter the full path to the image file]

--

John Inzer
Picture It! MVP
return e-mail disabled

Picture It! Support Center
http://support.microsoft.com/?pr=pic
 
Back
Top