Results 1 to 8 of 8
  1. #1
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Picture and Fax viewer (XP)

    I am trying to associate fthe picture and fax viewer with my scanned images, can anyone tell me the name and maybe ever the location of the viewer's exe, I cannot find it anywhere.

  2. #2
    Super Moderator jscher2000's Avatar
    Join Date
    Feb 2001
    Location
    Silicon Valley, USA
    Posts
    23,112
    Thanks
    5
    Thanked 93 Times in 89 Posts

    Re: Picture and Fax viewer (XP)

    First thing, does right-click, Open With, Windows Fax and Picture Viewer, let you set a default?

    If the file extension is TIF / TIFF, perhaps this utility will help: Repair image file type associations in Windows XP. (This thread about a "follow up hack" for that utility is interesting: http://forumz.tomshardware.com/software/do...opict36566.html)

    If it's a novel extension, and you want it to behave just like another extension, you could try duplicating its registry keys. Unfortunately, the path of execution through the registry is seldom straightforward...

    This key seems like an important part of the puzzle, but documentation just does not fall immediately to hand:
    HKEY_CLASSES_ROOTSystemFileAssociations

    (Added - the viewer is not an EXE, or it would be much simpler!)

  3. #3
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Picture and Fax viewer (XP)

    It's packed in a .dll file called shimgvw. The commandline to "run" it is:

    rundll32.exe C:WINDOWSsystem32shimgvw.dll,ImageView_Fullscreen %1

    where the %1 is the image file. If you have a particular file type (extension) in mind, you can make the association in Windows Explorer - Tools > Folder Options... > File Types. Call back if you need further help.

    Alan

  4. #4
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Picture and Fax viewer (XP)

    Thanks guys, ufortunately my scanner won't let me use a dll - it demands an EXE so i'll just have to use paint.

  5. #5
    Plutonium Lounger
    Join Date
    Oct 2001
    Location
    Lexington, Kentucky, USA
    Posts
    12,107
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Picture and Fax viewer (XP)

    You might want to try one of these freebies, rather than Paint:

    Paint.NET

    PhotoPlus

  6. #6
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Picture and Fax viewer (XP)

    Just for fun, I wrapped the DLL call into an EXE. It seems to work as expected. Please give it a try. You can also drag/drop a file onto it, or target it fom the Send To menu. Less than 200KB, but still too big to post here, so grab it from http://397.port5.com/kentg.zip

    Alan

  7. #7
    3 Star Lounger
    Join Date
    Aug 2002
    Location
    Brisbane, Queensland, Australia
    Posts
    387
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: Picture and Fax viewer (XP)

    Gee Alan, I am impressed! this works beautifully.

  8. #8
    Platinum Lounger
    Join Date
    Nov 2001
    Location
    Melbourne, Victoria, Australia
    Posts
    5,016
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Picture and Fax viewer (XP)

    Glad it does the trick.

    Just BTW, that was done using AutoIt v3 - Automate and Script Windows Tasks - For <img src=/S/free.gif border=0 alt=free width=30 height=15>! -
    4 lines of code, 2 minutes of coding, and 5 minutes beta testing, debugging and patching. <img src=/S/grin.gif border=0 alt=grin width=15 height=15>
    <code>
    Dim $Program
    if $CmdLine[0] > 0 Then
    $Program = "rundll32.exe C:WINDOWSsystem32shimgvw.dll,ImageView_Fullscreen " & $CmdLine[1]
    Run($Program, "")
    EndIf</code>

    Alan

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •