ms paint unable to open jpegs on desktop

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?
 
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?
 
Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

Ramesh said:
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

By default, it is:


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

Ramesh said:
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

Ramesh said:
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

Ramesh said:
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
Thanks for your patience and persistence, Ramesh.

Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).

Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).

Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.

One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?

Appreciatively,

Jsyv

Ramesh said:
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

Ramesh said:
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
Hi Jsyv,

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select the corresponding file type (.jpg) from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for your patience and persistence, Ramesh.

Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).

Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).

Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.

One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?

Appreciatively,

Jsyv

Ramesh said:
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

Ramesh said:
To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
Per your instructions:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.JPEG] file type
Generated by FileExtInfo v2.0 on 5/21/2007 11:13:17 PM

FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.JPEG]
"PerceivedType"="image"
@="jpegfile"
"Content Type"="image/jpeg"
"old"="jpegfile"

[HKEY_CLASSES_ROOT\.JPEG\jpegfile]

[HKEY_CLASSES_ROOT\.JPEG\jpegfile\ShellNew]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList\PhotoSnapViewer.exe]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):

[HKEY_CLASSES_ROOT\.JPEG\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


[HKEY_CLASSES_ROOT\jpegfile]
@="JPEG Image"
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,33,00,00,00
"ImageOptionFlags"=dword:00000003

[HKEY_CLASSES_ROOT\jpegfile\CLSID]
@="{11943940-36DE-11CF-953E-00C0A84029E9}"

[HKEY_CLASSES_ROOT\jpegfile\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{90280409-6000-11D3-8CFE-0050048383C9}\\PEicons.exe,5"

[HKEY_CLASSES_ROOT\jpegfile\shell]

[HKEY_CLASSES_ROOT\jpegfile\shell\open]
@="&Open"

[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,22,00,25,00,\
31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\print]
@="&Print"

[HKEY_CLASSES_ROOT\jpegfile\shell\print\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /p \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
20,00,22,00,25,00,31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\printto]

[HKEY_CLASSES_ROOT\jpegfile\shell\printto\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /pt \"%1\" \"%2\" \"%3\" \"%4\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,\
00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00,00,00


[HKEY_CLASSES_ROOT\SystemFileAssociations\.JPEG]
"ImageOptionFlags"=dword:00000003


[HKEY_CLASSES_ROOT\SystemFileAssociations\image]
"TileInfo"="prop:Dimensions;Type;Size"
"InfoTip"="prop:Dimensions;WhenTaken;DocTitle;DocComments;CameraModel;Type;Size"
"Details"="prop:Name;Type;Dimensions;Size;Write"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\MSPaint.exe]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\shimgvw.dll]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]
@="{e84fda7c-1d6a-45f6-b725-cb260c236066}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\PropertyHandler]
@="{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"a"="IEXPLORE.EXE"
"MRUList"="bcaed"
"b"="mspaint.exe"
"c"="PhotoEd.exe"
"d"="WINWORD.EXE"
"e"="pmview.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):
"PhotoMeister Photo (jpeg)"=hex(0):

Thanks again in advance for your assistance, Ramesh.

- jsyv

Ramesh said:
Hi Jsyv,

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select the corresponding file type (.jpg) from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for your patience and persistence, Ramesh.

Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).

Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).

Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.

One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?

Appreciatively,

Jsyv

Ramesh said:
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

:

To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
Hi jsyv,

As per the report, I see that the file name and the %1 param are correctly enclosed within double quotes.

- - -
[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
- - -

I don't have Photo Editor installed in my system to test. But, does applying the .JPEG file association fix (linked earlier) help? Note that it resets the association and makes Windows Picture and Fax Viewer as the default handler.


Regarding the double entry for mspaint, one of the Open With list entries for mspaint is listed here. This can be deleted.
- - -
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe"
- - -


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Per your instructions:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.JPEG] file type
Generated by FileExtInfo v2.0 on 5/21/2007 11:13:17 PM

FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.JPEG]
"PerceivedType"="image"
@="jpegfile"
"Content Type"="image/jpeg"
"old"="jpegfile"

[HKEY_CLASSES_ROOT\.JPEG\jpegfile]

[HKEY_CLASSES_ROOT\.JPEG\jpegfile\ShellNew]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList\PhotoSnapViewer.exe]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):

[HKEY_CLASSES_ROOT\.JPEG\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


[HKEY_CLASSES_ROOT\jpegfile]
@="JPEG Image"
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,33,00,00,00
"ImageOptionFlags"=dword:00000003

[HKEY_CLASSES_ROOT\jpegfile\CLSID]
@="{11943940-36DE-11CF-953E-00C0A84029E9}"

[HKEY_CLASSES_ROOT\jpegfile\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{90280409-6000-11D3-8CFE-0050048383C9}\\PEicons.exe,5"

[HKEY_CLASSES_ROOT\jpegfile\shell]

[HKEY_CLASSES_ROOT\jpegfile\shell\open]
@="&Open"

[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,22,00,25,00,\
31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\print]
@="&Print"

[HKEY_CLASSES_ROOT\jpegfile\shell\print\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /p \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
20,00,22,00,25,00,31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\printto]

[HKEY_CLASSES_ROOT\jpegfile\shell\printto\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /pt \"%1\" \"%2\" \"%3\" \"%4\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,\
00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00,00,00


[HKEY_CLASSES_ROOT\SystemFileAssociations\.JPEG]
"ImageOptionFlags"=dword:00000003


[HKEY_CLASSES_ROOT\SystemFileAssociations\image]
"TileInfo"="prop:Dimensions;Type;Size"
"InfoTip"="prop:Dimensions;WhenTaken;DocTitle;DocComments;CameraModel;Type;Size"
"Details"="prop:Name;Type;Dimensions;Size;Write"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\MSPaint.exe]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\shimgvw.dll]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]
@="{e84fda7c-1d6a-45f6-b725-cb260c236066}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\PropertyHandler]
@="{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"a"="IEXPLORE.EXE"
"MRUList"="bcaed"
"b"="mspaint.exe"
"c"="PhotoEd.exe"
"d"="WINWORD.EXE"
"e"="pmview.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):
"PhotoMeister Photo (jpeg)"=hex(0):

Thanks again in advance for your assistance, Ramesh.

- jsyv

Ramesh said:
Hi Jsyv,

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select the corresponding file type (.jpg) from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for your patience and persistence, Ramesh.

Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).

Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).

Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.

One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?

Appreciatively,

Jsyv

Ramesh said:
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

:

To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
jsyv,

Which application opens when you double-click a .jpeg file? I see Photo Editor is the default, but how come MSPaint opens by default? Perhaps you're using the "Open With" option and selected MSPaint?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hi jsyv,

As per the report, I see that the file name and the %1 param are correctly enclosed within double quotes.

- - -
[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
- - -

I don't have Photo Editor installed in my system to test. But, does applying the .JPEG file association fix (linked earlier) help? Note that it resets the association and makes Windows Picture and Fax Viewer as the default handler.


Regarding the double entry for mspaint, one of the Open With list entries for mspaint is listed here. This can be deleted.
- - -
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe"
- - -


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Per your instructions:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.JPEG] file type
Generated by FileExtInfo v2.0 on 5/21/2007 11:13:17 PM

FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.JPEG]
"PerceivedType"="image"
@="jpegfile"
"Content Type"="image/jpeg"
"old"="jpegfile"

[HKEY_CLASSES_ROOT\.JPEG\jpegfile]

[HKEY_CLASSES_ROOT\.JPEG\jpegfile\ShellNew]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList\PhotoSnapViewer.exe]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):

[HKEY_CLASSES_ROOT\.JPEG\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


[HKEY_CLASSES_ROOT\jpegfile]
@="JPEG Image"
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,33,00,00,00
"ImageOptionFlags"=dword:00000003

[HKEY_CLASSES_ROOT\jpegfile\CLSID]
@="{11943940-36DE-11CF-953E-00C0A84029E9}"

[HKEY_CLASSES_ROOT\jpegfile\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{90280409-6000-11D3-8CFE-0050048383C9}\\PEicons.exe,5"

[HKEY_CLASSES_ROOT\jpegfile\shell]

[HKEY_CLASSES_ROOT\jpegfile\shell\open]
@="&Open"

[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,22,00,25,00,\
31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\print]
@="&Print"

[HKEY_CLASSES_ROOT\jpegfile\shell\print\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /p \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
20,00,22,00,25,00,31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\printto]

[HKEY_CLASSES_ROOT\jpegfile\shell\printto\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /pt \"%1\" \"%2\" \"%3\" \"%4\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,\
00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00,00,00


[HKEY_CLASSES_ROOT\SystemFileAssociations\.JPEG]
"ImageOptionFlags"=dword:00000003


[HKEY_CLASSES_ROOT\SystemFileAssociations\image]
"TileInfo"="prop:Dimensions;Type;Size"
"InfoTip"="prop:Dimensions;WhenTaken;DocTitle;DocComments;CameraModel;Type;Size"
"Details"="prop:Name;Type;Dimensions;Size;Write"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\MSPaint.exe]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\shimgvw.dll]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]
@="{e84fda7c-1d6a-45f6-b725-cb260c236066}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\PropertyHandler]
@="{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"a"="IEXPLORE.EXE"
"MRUList"="bcaed"
"b"="mspaint.exe"
"c"="PhotoEd.exe"
"d"="WINWORD.EXE"
"e"="pmview.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):
"PhotoMeister Photo (jpeg)"=hex(0):

Thanks again in advance for your assistance, Ramesh.

- jsyv

Ramesh said:
Hi Jsyv,

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select the corresponding file type (.jpg) from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for your patience and persistence, Ramesh.

Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).

Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).

Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.

One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?

Appreciatively,

Jsyv

Ramesh said:
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

Ramesh said:
I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

:

To start with, try applying the .jpeg file association fix from here:
http://www.dougknox.com/xp/file_assoc.htm

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Not sure when this started happening, but I noticed it when trying to fix
problem #1 which has been ongoing for at least a year (can't open jpg or jpeg
attachments in OE6; this is s bit of a pain, but no huge deal, as I can save
them elsewhere, then open later). Problem #2 is that if save jpeg's to my
desktop then double-click to open, I get an error msg = "C:\Documents.bmp was
not found." Please note that a) I have associated jpeg files with mspaint.exe
and can open jpeg files in other locations, just not when they're on the
desktop and b) jpg's on the desktop open finel. I can copy a "documents.bmp"
file into my root dir to get rid of the error msg, but then whichever desktop
jpeg I double-click on, up pops Paint with the forced file.

Any thoughts?
 
Ramesh,

First, in response to your reply of 5/21, I went into the registry and
removed the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe" (there appeared to be only one instance of this, not two
as I was expecting).
Unfortunately, my "open with" list box still contains two instances of MS
Paint, one of which opens a blank file, with the second instance opening the
correct jpeg file residing on the desktop. Also, the .jpeg file association
fix did not appear to correct the problem (no obvious impact). Is there
another place to look to find out why two instances of MS Paint are in my
"open with" box? I tried right clicking on each of them (hoping to get
"properties"), but this action simply launches the program (with different
results).

In response to your question of 5/22, when I dbl-click jpeg files on the
desktop, nothing happens. If I right click and select the first instance of
MS PAint, Paint opens a blank file; if I selectthe second instance, the
correct .jpeg file opens. I tried dbl-clicking a non-desktop .jpeg file
(which used to open Paint), but now I receive the error message
"c:\{filename.jpeg} - This action is only valid for products that are
currently installed."

Finally, PhotoSnapViewer.exe is apparently a component of Nero (and one I
could live without, if necessary to resolve these issues), but interestingly
it does not open when I dbl-click on a .jpeg file.

Thanks again for any suggestions you may have in how to get this system
operating normally.

- jsyv

Ramesh said:
jsyv,

Which application opens when you double-click a .jpeg file? I see Photo Editor is the default, but how come MSPaint opens by default? Perhaps you're using the "Open With" option and selected MSPaint?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hi jsyv,

As per the report, I see that the file name and the %1 param are correctly enclosed within double quotes.

- - -
[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
- - -

I don't have Photo Editor installed in my system to test. But, does applying the .JPEG file association fix (linked earlier) help? Note that it resets the association and makes Windows Picture and Fax Viewer as the default handler.


Regarding the double entry for mspaint, one of the Open With list entries for mspaint is listed here. This can be deleted.
- - -
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe"
- - -


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Per your instructions:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.JPEG] file type
Generated by FileExtInfo v2.0 on 5/21/2007 11:13:17 PM

FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.JPEG]
"PerceivedType"="image"
@="jpegfile"
"Content Type"="image/jpeg"
"old"="jpegfile"

[HKEY_CLASSES_ROOT\.JPEG\jpegfile]

[HKEY_CLASSES_ROOT\.JPEG\jpegfile\ShellNew]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithList\PhotoSnapViewer.exe]

[HKEY_CLASSES_ROOT\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):

[HKEY_CLASSES_ROOT\.JPEG\PersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"


[HKEY_CLASSES_ROOT\jpegfile]
@="JPEG Image"
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,\
00,6f,00,6f,00,74,00,25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,\
00,2c,00,2d,00,33,00,30,00,33,00,00,00
"ImageOptionFlags"=dword:00000003

[HKEY_CLASSES_ROOT\jpegfile\CLSID]
@="{11943940-36DE-11CF-953E-00C0A84029E9}"

[HKEY_CLASSES_ROOT\jpegfile\DefaultIcon]
@="C:\\WINDOWS\\Installer\\{90280409-6000-11D3-8CFE-0050048383C9}\\PEicons.exe,5"

[HKEY_CLASSES_ROOT\jpegfile\shell]

[HKEY_CLASSES_ROOT\jpegfile\shell\open]
@="&Open"

[HKEY_CLASSES_ROOT\jpegfile\shell\open\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,22,00,25,00,\
31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\print]
@="&Print"

[HKEY_CLASSES_ROOT\jpegfile\shell\print\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /p \"%1\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
20,00,22,00,25,00,31,00,22,00,00,00,00,00

[HKEY_CLASSES_ROOT\jpegfile\shell\printto]

[HKEY_CLASSES_ROOT\jpegfile\shell\printto\command]
@="\"C:\\Program Files\\Common Files\\Microsoft
Shared\\PhotoEd\\PHOTOED.EXE\" /pt \"%1\" \"%2\" \"%3\" \"%4\""
"command"=hex(7):43,00,38,00,34,00,44,00,56,00,6e,00,2d,00,7d,00,66,00,28,00,\
59,00,52,00,5d,00,65,00,41,00,52,00,36,00,2e,00,6a,00,69,00,50,00,68,00,6f,\
00,74,00,6f,00,45,00,64,00,69,00,74,00,6f,00,72,00,46,00,69,00,6c,00,65,00,\
73,00,3e,00,44,00,6f,00,54,00,5d,00,6a,00,49,00,7b,00,6a,00,66,00,28,00,3d,\
00,31,00,26,00,4c,00,5b,00,2d,00,38,00,31,00,2d,00,5d,00,20,00,2f,00,70,00,\
74,00,20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,\
00,25,00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00,00,00


[HKEY_CLASSES_ROOT\SystemFileAssociations\.JPEG]
"ImageOptionFlags"=dword:00000003


[HKEY_CLASSES_ROOT\SystemFileAssociations\image]
"TileInfo"="prop:Dimensions;Type;Size"
"InfoTip"="prop:Dimensions;WhenTaken;DocTitle;DocComments;CameraModel;Type;Size"
"Details"="prop:Name;Type;Dimensions;Size;Write"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\MSPaint.exe]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\OpenWithList\shimgvw.dll]
@=""

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\edit\command]
@=hex(2):22,00,25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,74,\
00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,00,\
73,00,70,00,61,00,69,00,6e,00,74,00,2e,00,65,00,78,00,65,00,22,00,20,00,22,\
00,25,00,31,00,22,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\command]
@=hex(2):72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,65,\
00,20,00,25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,\
25,00,5c,00,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,\
00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,2c,00,49,00,6d,00,\
61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,00,75,00,6c,00,6c,00,73,\
00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,00,00

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\shell\print\DropTarget]
"Clsid"="{60fd46de-f830-4894-a628-6fa81bc0190d}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers]

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview]
@="{e84fda7c-1d6a-45f6-b725-cb260c236066}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\PropertyHandler]
@="{eb9b1153-3b57-4e68-959a-a3266bc3d7fe}"

[HKEY_CLASSES_ROOT\SystemFileAssociations\image\ShellEx\{BB2E617C-0920-11d1-9A0B-00C04FC2D6C1}]
@="{3F30C968-480A-4C6C-862D-EFC0897BB84B}"


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG]

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"a"="IEXPLORE.EXE"
"MRUList"="bcaed"
"b"="mspaint.exe"
"c"="PhotoEd.exe"
"d"="WINWORD.EXE"
"e"="pmview.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithProgids]
"jpegfile"=hex(0):
"PhotoMeister Photo (jpeg)"=hex(0):

Thanks again in advance for your assistance, Ramesh.

- jsyv

Ramesh said:
Hi Jsyv,

1. Download FileExtInfo.zip from here:
http://windowsxp.mvps.org/fileextinfo.htm

2. Unzip the utility and extract the files to Desktop.
3. Double-click "FileExtInfo.exe" to run it.
4. Select the corresponding file type (.jpg) from the list box
5. Click "View file association report"
6. Copy the contents of the report and include it in your reply.

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for your patience and persistence, Ramesh.

Under HKEY_CLASSES_ROOT\.jpeg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data =(value not set)); b) OpenWithList\PhotoSnapViewer.exe
(both showing Data =(value not set)); c) OpenWithProgids (Name = jpegfile,
Type = REG_NONE, Data = (zero-length binary value)); d) PersistentHandler
(Data = {098f2470-bae0-11cd-b579-08002b30bfeb}).

Under HKEY_CLASSES_ROOT\.jpg\ are four sub-entries: a) jpegfile\ShellNew
(both showing Data (value not set)); b) OpenWithList (showing Data = (value
not set)); c) OpenWithProgids (Name = jpegfile, Type = REG_NONE, Data =
(zero-length binary value)); d) PersistentHandler (Data =
{098f2470-bae0-11cd-b579-08002b30bfeb}).

Is it likely that the PhotoSnapViewer.exe is somehow preventing the MSPaint
from executing these jpeg files on my desktop? I'm confused, because if
jpeg's are associated with PSV.exe, I don't understand why that program is
not opening when I double click on the jpeg files.

One other oddity which may be contributing to this issue: when I right click
on one of the desktop jpeg files and chosse the "open with" option, two
instances of Paint are shown; selecting one opens a blank file, while
selecting the other brings up the image file. Even if this issue is
unrelated, is there an easy method of removing the first (non-functioning)
instance of Paint in the open with dialog box?

Appreciatively,

Jsyv

Ramesh said:
You need to verify the values in the ProgID.

HKEY_CLASSES_ROOT\<ProgID>\shell\open\command

Example:
HKEY_CLASSES_ROOT\jpegfile\shell\open\command

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the rapid reply. I'm a little confused as to where I'm supposed to
double-quote surround the %1 file name parameter. When I look in the registry
for "mspaint", one place I find it is in
HKEY_CLASSES_ROOT/Applications/mspaint.exe and in the "command" key, the
"data" shown is "%systemroot%\system32\mspaint.exe" "%1" (all the quotes are
as written, not included to set off the text).

Is there some other location (or locations) within either the registry or
elsewhere where the double-quote surround the %1 file name parameter should
appear also, to allow the program to be able to read file names with spaces?

:

I understand. But this problem can happen if the "%1" (file name parameter) is not enclosed within double-quotes. That's the reason I gave the file assoc. fix for .JPEG.

Note that the double-quotes may be necessary in some cases when there are spaces in the path (Such as "C:\ Documents and Settings\{username}\document.jpeg")

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Thanks for the idea, but while I no longer get the error message when
dbl-clicking on files with a .jpeg extension (on my desktop), they still
don't open. Any other suggestions?

:

To start with, try applying the .jpeg file association fix from here:
 
Hi,

No idea from where the other mspaint listing is coming from. Can you check if there are two copies of mspaint.exe in your system (just in case)?

"This action is only valid for products that are currently installed."

The above error is a Windows Installer error. I believe the event log should reveal the product name that's being launched.

Click Start, Run and type eventvwr.msc
Select the "Application" log
Look for the recent entries with the source column containing "MsiInstaller"
Double-click the entry for more details.

In some cases, the application name may not be available, but the ProductCode will be available. You can then map the ProductCode with the actual product name using the steps listed in this article:

Windows Installer: Dealing with installation failures:
http://www.winhelponline.com/articles/68/1/

That may be it. Is it a Windows Installer package, and can you try reinstalling it?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Ramesh,

First, in response to your reply of 5/21, I went into the registry and
removed the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe" (there appeared to be only one instance of this, not two
as I was expecting).
Unfortunately, my "open with" list box still contains two instances of MS
Paint, one of which opens a blank file, with the second instance opening the
correct jpeg file residing on the desktop. Also, the .jpeg file association
fix did not appear to correct the problem (no obvious impact). Is there
another place to look to find out why two instances of MS Paint are in my
"open with" box? I tried right clicking on each of them (hoping to get
"properties"), but this action simply launches the program (with different
results).

In response to your question of 5/22, when I dbl-click jpeg files on the
desktop, nothing happens. If I right click and select the first instance of
MS PAint, Paint opens a blank file; if I selectthe second instance, the
correct .jpeg file opens. I tried dbl-clicking a non-desktop .jpeg file
(which used to open Paint), but now I receive the error message
"c:\{filename.jpeg} - This action is only valid for products that are
currently installed."

Finally, PhotoSnapViewer.exe is apparently a component of Nero (and one I
could live without, if necessary to resolve these issues), but interestingly
it does not open when I dbl-click on a .jpeg file.

Thanks again for any suggestions you may have in how to get this system
operating normally.

- jsyv
 
Hi Ramesh,

Sorry for the delay in responding.

1) Yes - actually, it appears (via Search) there are three copies (all three
of the same version):
a) c:\documents an settings\all users\start menu\programs\accessories
b) c:\windows\system32
c) c:\windows\ServicePackFiles\i386
Think I should smoke two of these three?

2) I ran eventvwr.msc and followed your instructions - all of the
MsiInstaller sources for the past few months seem to relate to Symantec
(Norton) antivirus events, so I'm not sure if I'm finding anything
illuminating here.

3) PhotoSnapViewer.exe is an entry I ran across in the registry and I'm
unsure of your question as to whether it's an Installer package. My
understanding is that it's a component of the Nero 6 package I installed a
couple of years ago. Could you please help me understand better what you
suggest I do with it?

Thanks,

jsyv

Ramesh said:
Hi,

No idea from where the other mspaint listing is coming from. Can you check if there are two copies of mspaint.exe in your system (just in case)?

"This action is only valid for products that are currently installed."

The above error is a Windows Installer error. I believe the event log should reveal the product name that's being launched.

Click Start, Run and type eventvwr.msc
Select the "Application" log
Look for the recent entries with the source column containing "MsiInstaller"
Double-click the entry for more details.

In some cases, the application name may not be available, but the ProductCode will be available. You can then map the ProductCode with the actual product name using the steps listed in this article:

Windows Installer: Dealing with installation failures:
http://www.winhelponline.com/articles/68/1/

That may be it. Is it a Windows Installer package, and can you try reinstalling it?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Ramesh,

First, in response to your reply of 5/21, I went into the registry and
removed the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe" (there appeared to be only one instance of this, not two
as I was expecting).
Unfortunately, my "open with" list box still contains two instances of MS
Paint, one of which opens a blank file, with the second instance opening the
correct jpeg file residing on the desktop. Also, the .jpeg file association
fix did not appear to correct the problem (no obvious impact). Is there
another place to look to find out why two instances of MS Paint are in my
"open with" box? I tried right clicking on each of them (hoping to get
"properties"), but this action simply launches the program (with different
results).

In response to your question of 5/22, when I dbl-click jpeg files on the
desktop, nothing happens. If I right click and select the first instance of
MS PAint, Paint opens a blank file; if I selectthe second instance, the
correct .jpeg file opens. I tried dbl-clicking a non-desktop .jpeg file
(which used to open Paint), but now I receive the error message
"c:\{filename.jpeg} - This action is only valid for products that are
currently installed."

Finally, PhotoSnapViewer.exe is apparently a component of Nero (and one I
could live without, if necessary to resolve these issues), but interestingly
it does not open when I dbl-click on a .jpeg file.

Thanks again for any suggestions you may have in how to get this system
operating normally.

- jsyv
 
Hi jsyv,

#1 - Leave those three files as it is.

a) what you see here is a shortcut to Paint
b) mspaint.exe is the actual executable
c) mspaint.exe in the i386 folder is added when you installed a Service Pack

Perhaps you can send me a Remote Assistance ticket so that I can try to remove the duplicate "paint" entry from the registry.

#2 OK

#3 Can you try reinstalling PhotoSnapViewer?


--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Hi Ramesh,

Sorry for the delay in responding.

1) Yes - actually, it appears (via Search) there are three copies (all three
of the same version):
a) c:\documents an settings\all users\start menu\programs\accessories
b) c:\windows\system32
c) c:\windows\ServicePackFiles\i386
Think I should smoke two of these three?

2) I ran eventvwr.msc and followed your instructions - all of the
MsiInstaller sources for the past few months seem to relate to Symantec
(Norton) antivirus events, so I'm not sure if I'm finding anything
illuminating here.

3) PhotoSnapViewer.exe is an entry I ran across in the registry and I'm
unsure of your question as to whether it's an Installer package. My
understanding is that it's a component of the Nero 6 package I installed a
couple of years ago. Could you please help me understand better what you
suggest I do with it?

Thanks,

jsyv

Ramesh said:
Hi,

No idea from where the other mspaint listing is coming from. Can you check if there are two copies of mspaint.exe in your system (just in case)?

"This action is only valid for products that are currently installed."

The above error is a Windows Installer error. I believe the event log should reveal the product name that's being launched.

Click Start, Run and type eventvwr.msc
Select the "Application" log
Look for the recent entries with the source column containing "MsiInstaller"
Double-click the entry for more details.

In some cases, the application name may not be available, but the ProductCode will be available. You can then map the ProductCode with the actual product name using the steps listed in this article:

Windows Installer: Dealing with installation failures:
http://www.winhelponline.com/articles/68/1/

That may be it. Is it a Windows Installer package, and can you try reinstalling it?

--
Regards,

Ramesh Srinivasan, Microsoft MVP [Windows Shell/User]
Windows® Troubleshooting http://www.winhelponline.com


Ramesh,

First, in response to your reply of 5/21, I went into the registry and
removed the key
[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.JPEG\OpenWithList]
"b"="mspaint.exe" (there appeared to be only one instance of this, not two
as I was expecting).
Unfortunately, my "open with" list box still contains two instances of MS
Paint, one of which opens a blank file, with the second instance opening the
correct jpeg file residing on the desktop. Also, the .jpeg file association
fix did not appear to correct the problem (no obvious impact). Is there
another place to look to find out why two instances of MS Paint are in my
"open with" box? I tried right clicking on each of them (hoping to get
"properties"), but this action simply launches the program (with different
results).

In response to your question of 5/22, when I dbl-click jpeg files on the
desktop, nothing happens. If I right click and select the first instance of
MS PAint, Paint opens a blank file; if I selectthe second instance, the
correct .jpeg file opens. I tried dbl-clicking a non-desktop .jpeg file
(which used to open Paint), but now I receive the error message
"c:\{filename.jpeg} - This action is only valid for products that are
currently installed."

Finally, PhotoSnapViewer.exe is apparently a component of Nero (and one I
could live without, if necessary to resolve these issues), but interestingly
it does not open when I dbl-click on a .jpeg file.

Thanks again for any suggestions you may have in how to get this system
operating normally.

- jsyv
 
Back
Top