Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7067763
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T05:14:29+00:00 2026-05-28T05:14:29+00:00

My software works as shell extension, and register himself for showing on Background/Directory and

  • 0

My software works as shell extension, and register himself for showing on Background/Directory and Desktop right click menu. I developing on Win XP and it’s works good, but now when i testing it on Windows 7, does not want work well. Context item exists only on Desktop right click menu, but does not on Background/Directory. Need help!

Here is reg function in Delphi, but examples on any language accepted, i can show extension DLL src if needed!

const
  CLSID_ContextMenu = '{AB69D961-B907-11D0-B8FA-A85800C10000}';

procedure TForm1.Button1Click(Sender: TObject);
var
  Reg: TRegistry;
begin
  Reg := TRegistry.Create;
  try
    with Reg do
    begin
      RootKey := HKEY_CLASSES_ROOT;
      OpenKey('\CLSID\' + CLSID_ContextMenu, True);
      WriteString('', 'Context Menu Shell Extension');
      OpenKey('\CLSID\' + CLSID_ContextMenu + '\InProcServer32', True);
      WriteString('', ExtractFilePath(Application.ExeName) + '\Project1.dll');
      WriteString('ThreadingModel', 'Apartment');
      CreateKey('\Directory\Background\ShellEx\ContextMenuHandlers\' + CLSID_ContextMenu);
    end;
  finally
    Reg.Free;
  end;
end;
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T05:14:29+00:00Added an answer on May 28, 2026 at 5:14 am

    I found it! In XP i wrote to

    \Directory\Background\Shell**Ex**\**ContextMenuHandlers**\CLSID
    

    but in Windows 7 the path should be like

    \Directory\Background\Shell\Name of your app\command
    

    and in command we put a path to our app in double quotes “%path%”.:)

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We're trying to figure out how common web tracking software works, like Google Analytics.
I am working with a team that works on a very large software project,
I have a program which makes use of a desktop Namespace extension. In Windows
I'm editing the Windows registry through my software, which for example replaces the Shell
i am trying to figure out how this software works: http://www.stereopsis.com/flux/ specifically, i would
Do you know any software that works like winmerge? But is for 64 bit
I'm a blind student currently in a system admin/shell programming class. Although ssh works
I'm running my own kiosk application as the shell (replacing HKLM/Software/Microsoft/Windows NT/winlogon/shell). The application
Part of the software I work on uses an Excel sheet to store the
One thing I've always wondered about is how software patches work. A lot of

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.