[dba-Tech] Windows XP - Windows Picture and Fax Viewer-Nameand path of the exe file

A.D.Tejpal adtp at touchtelindia.net
Fri Dec 3 22:14:57 CST 2004


Hello Gustav,

    Thanks for the cross-check. 

    Another question - could you possibly suggest any API call that could force the currently active display into full screen mode, irrespective of the parent application involved?

    This can be useful in view of the fact that the combination of key strokes required to do it in different applications, is not always the same. 

A.D.Tejpal
--------------

  ----- Original Message ----- 
  From: Gustav Brock 
  To: dba-tech at databaseadvisors.com 
  Sent: Saturday, December 04, 2004 01:09
  Subject: Re: [dba-Tech] Windows XP - Windows Picture and Fax Viewer-Nameand path of the exe file


  Hi A.D.

  No, I had the same thought. Fullscreen -> no full screen. How come?

  /gustav

  >>> adtp at touchtelindia.net 03-12-2004 20:17:41 >>>

      Excellent - Gustav! So nice of you.

      One minor point that you may like to verify. When the function is used, the image displayed is not yet full-screen. Subsequent pressing of F11 key is found necessary for getting proper full screen. Any thoughts?

  Thanks again,
  A.D.Tejpal
  --------------    

    ----- Original Message ----- 
    From: Gustav Brock 
    To: dba-tech at databaseadvisors.com 
    Sent: Saturday, December 04, 2004 00:25
    Subject: Re: [dba-Tech] Windows XP - Windows Picture and Fax Viewer - Name and path of the exe file

    Hi A.D

    Here's a simple method:

    Public Function ShowImage(ByVal strFile As String) As Long
      
      Dim lngResult As Long

      lngResult = Shell("rundll32.exe shimgvw.dll, ImageView_Fullscreen "
  &
    strFile & "")

      ShowImage = lngResult

    End Function

    strFile must be either a directory or a file; wildcards are not
    accepted.

    /gustav

    >>> adtp at touchtelindia.net 03-12-2004 19:08:20 >>>
    Stuart,

        My sincere thanks. Your help is extremely valuable (as always). 

        Would you by any chance be in a position to suggest the proper
    syntax in VBA code (e.g. Shell, ShellExecute or any other command)
  for
    opening a specific image file in full screen mode, using Windows
  Picture
    and Fax Viewer ?

    Thanks again,
    A.D.Tejpal
    --------------

      ----- Original Message ----- 
      From: Stuart McLachlan 
      To: Discussion of Hardware and Software issues 
      Sent: Friday, December 03, 2004 10:26
      Subject: Re: [dba-Tech] Windows XP - Windows Picture and Fax Viewer
  -
    Nameand path of the exe file


      On 3 Dec 2004 at 9:49, A.D.Tejpal wrote:

      > Urgent ===== I need the name and path of the exe file that
    launches
      > Windows Picture and Fax Viewer in Windows XP installation. 
      > 

      It's not an exe, it's a shell extension system dll .  

      10 seconds googling found:
      http://www.tech-recipes.com/windows_tips767.html 
      <quote>
      Directions
      By default XP uses Windows Picture and Fax Viewer to preview
    pictures. It 
      takes a while to get used to it; however, once you do, it's hard
  to
    go 
      back.

      Several programs when installed try to take over the role of
  picture

      preview. This is very difficult to reverse. Here's how you do it.

            1. Click Start
            2. Click Run
            3. In the textbox type: regsvr32 shimgvw.dll
            4. Click OK


      You may or may not have to reboot to see your changes.
      </quote>

      and

      http://www.theeldergeek.com/delete_pic_and_fax_viewer.htm 
      <quote>
      If you find the default Picture and Fax Viewer more of an
  annoyance
    than a 
      help, it can be removed as follows:

      [Start] [Run] type regedit.exe and click [OK]
      Navigate to HKEY_CLASSES_ROOT/SystemFileAssociations/image/ShellEx

      /ContextMenuHandlers
      Delete the Folder ShellImagePreview under ContextMenuHandlers

      If you change your mind and want to restore the Picture and Fax
    Viewer

      Create the ShellImagePreview folder and create the String Value
    (Default)
      Assign it the value {e84fda7c-1d6a-45f6-b725-cb260c236066}

      </quote>-- 
      Stuart




More information about the dba-Tech mailing list