PC Review


Reply
Thread Tools Rate Thread

Adding an entry to a file type on right click menu

 
 
Lindsay
Guest
Posts: n/a
 
      17th Jan 2006
I'm a programmer but have come across a problem relating to XP rather than
programming.

I have written an app that requires an entry on the right click context menu
for some image file type (.bmp, .gif, etc). To do this I added this entry to
the registry:

HKEY_CURRENT_USER\giffile\shell\Quick Edit\command

So when I right click a Gif file, Quick Edit appears on the menu at the top
with Open/Edit/Preview etc.

Now, this works fine on my machine (SP2) but does not work on anyone elses
(tried 2 brand new Dell laptops). Any reason why the entries may not appear
on the menu?


 
Reply With Quote
 
 
 
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      17th Jan 2006
Most probably caused if the user is using a different application for that
file type. Your setting will work as long as the ProgID is "giffile" for
GIFs. For consistent results, you use the SystemFileAssociations branch.

<MSDN>

The SystemFileAssociations keys exist to guarantee that Shell extensions are
installed regardless of the current default PROGID or user customization.
These keys enable Windows XP to define fallback attributes for file types
and enable shared file associations. Supplemental verbs should be added
under SystemFileAssociations .

</MSDN>

PerceivedTypes, SystemFileAssociations, and Application Registration:
http://msdn.microsoft.com/library/de...ived_types.asp
© 2006 Microsoft Corporation. All rights reserved.

--
Regards,

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


"Lindsay" <(E-Mail Removed)> wrote in message
news:43cd18f4$0$82632$(E-Mail Removed)...
I'm a programmer but have come across a problem relating to XP rather than
programming.

I have written an app that requires an entry on the right click context menu
for some image file type (.bmp, .gif, etc). To do this I added this entry to
the registry:

HKEY_CURRENT_USER\giffile\shell\Quick Edit\command

So when I right click a Gif file, Quick Edit appears on the menu at the top
with Open/Edit/Preview etc.

Now, this works fine on my machine (SP2) but does not work on anyone elses
(tried 2 brand new Dell laptops). Any reason why the entries may not appear
on the menu?


 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      17th Jan 2006
BTW, that information applies to Windows XP only. Using supplemental verbs
on Windows versions earlier than Windows XP is not supported and is not
recommended.

--
Regards,

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


"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
Most probably caused if the user is using a different application for that
file type. Your setting will work as long as the ProgID is "giffile" for
GIFs. For consistent results, you use the SystemFileAssociations branch.

<MSDN>

The SystemFileAssociations keys exist to guarantee that Shell extensions are
installed regardless of the current default PROGID or user customization.
These keys enable Windows XP to define fallback attributes for file types
and enable shared file associations. Supplemental verbs should be added
under SystemFileAssociations .

</MSDN>

PerceivedTypes, SystemFileAssociations, and Application Registration:
http://msdn.microsoft.com/library/de...ived_types.asp
© 2006 Microsoft Corporation. All rights reserved.

--
Regards,

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




 
Reply With Quote
 
Lindsay
Guest
Posts: n/a
 
      17th Jan 2006
Aha! Yes, of course. Thank you.

"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Most probably caused if the user is using a different application for that
> file type. Your setting will work as long as the ProgID is "giffile" for
> GIFs. For consistent results, you use the SystemFileAssociations branch.
>
> <MSDN>
>
> The SystemFileAssociations keys exist to guarantee that Shell extensions
> are
> installed regardless of the current default PROGID or user customization.
> These keys enable Windows XP to define fallback attributes for file types
> and enable shared file associations. Supplemental verbs should be added
> under SystemFileAssociations .
>
> </MSDN>
>
> PerceivedTypes, SystemFileAssociations, and Application Registration:
> http://msdn.microsoft.com/library/de...ived_types.asp
> © 2006 Microsoft Corporation. All rights reserved.
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
> Windows® XP Troubleshooting http://www.winhelponline.com
>
>
> "Lindsay" <(E-Mail Removed)> wrote in message
> news:43cd18f4$0$82632$(E-Mail Removed)...
> I'm a programmer but have come across a problem relating to XP rather than
> programming.
>
> I have written an app that requires an entry on the right click context
> menu
> for some image file type (.bmp, .gif, etc). To do this I added this entry
> to
> the registry:
>
> HKEY_CURRENT_USER\giffile\shell\Quick Edit\command
>
> So when I right click a Gif file, Quick Edit appears on the menu at the
> top
> with Open/Edit/Preview etc.
>
> Now, this works fine on my machine (SP2) but does not work on anyone elses
> (tried 2 brand new Dell laptops). Any reason why the entries may not
> appear
> on the menu?
>
>



 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      17th Jan 2006
YW. Note that these supplemental verbs are unsupported in pre-XP systems.

--
Regards,

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


"Lindsay" <(E-Mail Removed)> wrote in message
news:43cd2e05$0$2719$(E-Mail Removed)...
Aha! Yes, of course. Thank you.

"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Most probably caused if the user is using a different application for that
> file type. Your setting will work as long as the ProgID is "giffile" for
> GIFs. For consistent results, you use the SystemFileAssociations branch.
>
> <MSDN>
>
> The SystemFileAssociations keys exist to guarantee that Shell extensions
> are
> installed regardless of the current default PROGID or user customization.
> These keys enable Windows XP to define fallback attributes for file types
> and enable shared file associations. Supplemental verbs should be added
> under SystemFileAssociations .
>
> </MSDN>
>
> PerceivedTypes, SystemFileAssociations, and Application Registration:
> http://msdn.microsoft.com/library/de...ived_types.asp
> © 2006 Microsoft Corporation. All rights reserved.



 
Reply With Quote
 
Lindsay
Guest
Posts: n/a
 
      17th Jan 2006
As a thought, this would mean that, if at anytime some other software was
installed/uninstalled that changes file associations, my software would
cease to appear on the menu. Is there a way to avoid this?

"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Most probably caused if the user is using a different application for that
> file type. Your setting will work as long as the ProgID is "giffile" for
> GIFs. For consistent results, you use the SystemFileAssociations branch.
>
> <MSDN>
>
> The SystemFileAssociations keys exist to guarantee that Shell extensions
> are
> installed regardless of the current default PROGID or user customization.
> These keys enable Windows XP to define fallback attributes for file types
> and enable shared file associations. Supplemental verbs should be added
> under SystemFileAssociations .
>
> </MSDN>
>
> PerceivedTypes, SystemFileAssociations, and Application Registration:
> http://msdn.microsoft.com/library/de...ived_types.asp
> © 2006 Microsoft Corporation. All rights reserved.
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
> Windows® XP Troubleshooting http://www.winhelponline.com
>
>
> "Lindsay" <(E-Mail Removed)> wrote in message
> news:43cd18f4$0$82632$(E-Mail Removed)...
> I'm a programmer but have come across a problem relating to XP rather than
> programming.
>
> I have written an app that requires an entry on the right click context
> menu
> for some image file type (.bmp, .gif, etc). To do this I added this entry
> to
> the registry:
>
> HKEY_CURRENT_USER\giffile\shell\Quick Edit\command
>
> So when I right click a Gif file, Quick Edit appears on the menu at the
> top
> with Open/Edit/Preview etc.
>
> Now, this works fine on my machine (SP2) but does not work on anyone elses
> (tried 2 brand new Dell laptops). Any reason why the entries may not
> appear
> on the menu?
>
>



 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      17th Jan 2006
And, just noticed this:

- - -
HKEY_CURRENT_USER\giffile\shell\Quick Edit\command
- - -
*Wrong area*

Did you mean HKEY_CLASSES_ROOT ?

--
Regards,

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


"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
YW. Note that these supplemental verbs are unsupported in pre-XP systems.

--
Regards,

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


"Lindsay" <(E-Mail Removed)> wrote in message
news:43cd2e05$0$2719$(E-Mail Removed)...
Aha! Yes, of course. Thank you.

"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...




 
Reply With Quote
 
Lindsay
Guest
Posts: n/a
 
      17th Jan 2006
Yes I did mean CLASSES_ROOT.

"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> And, just noticed this:
>
> - - -
> HKEY_CURRENT_USER\giffile\shell\Quick Edit\command
> - - -
> *Wrong area*
>
> Did you mean HKEY_CLASSES_ROOT ?
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
> Windows® XP Troubleshooting http://www.winhelponline.com
>
>
> "Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> YW. Note that these supplemental verbs are unsupported in pre-XP systems.
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
> Windows® XP Troubleshooting http://www.winhelponline.com
>
>
> "Lindsay" <(E-Mail Removed)> wrote in message
> news:43cd2e05$0$2719$(E-Mail Removed)...
> Aha! Yes, of course. Thank you.
>
> "Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
> news:%(E-Mail Removed)...
>
>
>
>



 
Reply With Quote
 
Ramesh, MS-MVP
Guest
Posts: n/a
 
      18th Jan 2006
If you're adding a supplemental verb, it won't cease to appear when the user
changes the file associations.

--
Regards,

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


"Lindsay" <(E-Mail Removed)> wrote in message
news:43cd2faf$0$82644$(E-Mail Removed)...
As a thought, this would mean that, if at anytime some other software was
installed/uninstalled that changes file associations, my software would
cease to appear on the menu. Is there a way to avoid this?

"Ramesh, MS-MVP" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
> Most probably caused if the user is using a different application for that
> file type. Your setting will work as long as the ProgID is "giffile" for
> GIFs. For consistent results, you use the SystemFileAssociations branch.
>
> <MSDN>
>
> The SystemFileAssociations keys exist to guarantee that Shell extensions
> are
> installed regardless of the current default PROGID or user customization.
> These keys enable Windows XP to define fallback attributes for file types
> and enable shared file associations. Supplemental verbs should be added
> under SystemFileAssociations .
>
> </MSDN>
>
> PerceivedTypes, SystemFileAssociations, and Application Registration:
> http://msdn.microsoft.com/library/de...ived_types.asp
> © 2006 Microsoft Corporation. All rights reserved.
>
> --
> Regards,
>
> Ramesh Srinivasan, Microsoft MVP [Windows XP Shell/User]
> Windows® XP Troubleshooting http://www.winhelponline.com



 
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
Right-click New menu Windows Explorer lost txt file type angbob Windows XP Configuration 0 15th Sep 2008 10:37 PM
Adding a right-click context menu entry to Window Titlebar SupportAV Microsoft VB .NET 5 7th Feb 2008 02:13 AM
How do I put a command on the right click menu for a file type? =?Utf-8?B?REpS?= Windows Vista File Management 3 25th Sep 2007 12:01 AM
Adding Custom Menu Items to the Right-Click Menu Nathan Sokalski Windows XP General 1 3rd Feb 2005 04:41 AM
Re: Adding a menu item right click menu when clicking on a single. Frank Kabel Microsoft Excel Programming 1 2nd Sep 2004 10:23 PM


Features
 

Advertising
 

Newsgroups
 


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