| changing "opens with" settings does not apply to "open" or "print"commands
I've come accross a seeming odity with printing/opening files from a
browser window. If I go and select properties and make sure the
"opens with" setting is correct (including "always use the selected
program for this kind of file" box is checked) I end up with the file
opening in the correct application (in this case a png file with
Acrobat) when I double-click on it.
However, if I right click and try to use the open or print command, it
goes back to the original default program (MS Photo Editor) and
fails. I don't get it.
(I'm in Windows XP)
Note that when I go to select the "Opens with" app & check box, even
though Acrobat is already the selected App, the app that appears in
grey (selected?) in the list is always the Photo Editor...
I have also tried all this from the Tools->Folder Options-> File Types
menu. Same result.
The reason this is important to me is that I'm trying to use vba
script in Excel to print a bunch of image files (in cells as
hyperlinks) which may be jpg, pdf, png etc. I don't know in advance.
I wanted to set my default app for all image files to Acrobat and
print. But its getting stuck at png every time. In vba, I'm using
ShellExecute.
Any ideas?
Thanks! |