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 7488037
In Process

The Archive Base Latest Questions

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

I have added a context menu item in Explorer. I added it via a

  • 0

I have added a context menu item in Explorer. I added it via a registry modification. On right click on a file, I want to call my compression algo on it.

At the moment, this compression feature is a method in a C# class library. I have a basic Visual Studio 2010 solution containing this class library (1 class, 1 resource file), and an install Wizard project (very simple). At the moment, when I run “install” on this install wizard, I manage to have a DLL for the class library, and my resource file dropped at the location given at install.

From my registry entry, I am able to run a command. At the moment I run notepad.exe on the right clicked file.

1. Can I somehow register my DLL to call its functions ? (I’m not looking at any shell extension, and I had the impression there was something simpler)

2. Otherwise I don’t mind creating an .exe with a console application or such. If I do so, will I get the filepath from the args parameter of my Main(string[] args) ?

3. In option 2, where do i need to reference my .exe ? I don’t see Notepad++ anywhere in my environment variables and still it is callable without specifying its path.

Thank you guys !

  • 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-29T14:43:15+00:00Added an answer on May 29, 2026 at 2:43 pm

    1. With caveats; http://blogs.msdn.com/b/codefx/archive/2010/09/14/writing-windows-shell-extension-with-net-framework-4-c-vb-net-part-1.aspx

    2 & 3 If you use the simpler approach of associating an executable simply:

    your_file_type\shell\open\command (default) = "c:\yourapp.exe" "%1"

    and your app will recieve the command line.

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

Sidebar

Related Questions

i have added an item in the context menu of windows explorer using registry.
I am using Internet Explorer. I added a context menu item (through the registry)
I'm trying to add a new entry into Internet Explorer's right-click context menu. I
In one Android activity I have added a context menu to an ImageView with
I have Windows Form App. I have added Context Menu that appear when you
I have a .launch file which I can run by context menu (Run As...),
i have an action that return a file content. i added: Response.AddHeader(Content-Disposition, attactment; filename:\
I have added some dynamic textboxes upon a button click. I need the values
I have added an EventHandler for the Click-event to a picturebox but on runtime
I have a menu on a web page and I want to add some

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.