PC Review


Reply
Thread Tools Rate Thread

changing "opens with" settings does not apply to "open" or "print"commands

 
 
Anne Rensonnet
Guest
Posts: n/a
 
      7th Jul 2008

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!
 
Reply With Quote
 
 
 
 
M.I.5¾
Guest
Posts: n/a
 
      7th Jul 2008

"Anne Rensonnet" <(E-Mail Removed)> wrote in message
news:2dda4184-aed7-4791-9857-(E-Mail Removed)...
>
> 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.
>


This is because the print properties of the file are separately defined.

If you go to the tools menu at the top of your open folder, and select
"Folder Options", a dialogue box opens. Select the "File Types" tab. Now
highlight your file type in the "Registered File Types" and then click the
"Advanced" button. From here you can edit the print properties.


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Field Names: "LongName", "ShortName", "Code", "Description","Comments" PeteCresswell Microsoft Access 2 25th Feb 2009 11:41 PM
<FORM METHOD="post" onSubmit="return fieldcheck()" name="orientation" action="http://ws-kitty.BU.edu/AT/survey/orientation/script/write.asp" language="JavaScript"> Joeyej Microsoft ASP .NET 0 4th Jun 2004 08:55 PM
Cookies will not enable even after changing settings for "Security" and "Privacy" tabs in "Internet Options", any suggestions? =?Utf-8?B?dGlhbmltaA==?= Windows XP Help 2 27th Jan 2004 12:46 AM
Manual "Windows Update" produces "ActiveX/active scripting" error message even with "LOW" security level setting in "Trusted" Zone Ray2 Windows XP Help 1 14th Nov 2003 06:50 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:03 AM.