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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T17:22:17+00:00 2026-05-10T17:22:17+00:00

Problem Language: C# 2.0 or later I would like to register context handlers to

  • 0

Problem

Language: C# 2.0 or later


I would like to register context handlers to create menues when the user right clicks certain files (in my case *.eic). What is the procedure to register, unregister (clean up) and handle events (clicks) from these menues?

I have a clue it’s something to do with the windows registry, but considering how much stuff there is in .net, I wouldn’t be surprised if there are handy methods to do this clean and easy.

Code snippets, website references, comments are all good. Please toss them at me.

Update


Obviously there is a slight problem creating context menues in managed languages, as several users have commented. Is there any other preferred way of achieving the same behaviour, or should I spend time looking into these workarounds? I don’t mind doing that at all, I’m glad people have put effort into making this possible – but I still want to know if there is a ‘proper/clean’ way of achieving this.

  • 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. 2026-05-10T17:22:17+00:00Added an answer on May 10, 2026 at 5:22 pm

    Resist writing Shell Extensions in managed languages – there are a multitude of things that could go bang if you pursue this route.

    Have a browse through this thread for more details. It contains links to do it if really want, and sagely advice of why it can be done, but shouldn’t.

    http://social.msdn.microsoft.com/Forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e/

    You’re back to unmanaged C/C++ as your only real tools here.

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

Sidebar

Related Questions

This is more of an algorithmic dilemma than a language-specific problem, but since I'm
The problem is: if I set the English language as the primary language (
The Problem: I'm about to implement language localization to an already very large ipad
I got one problem at my exam for subject Principal of Programming Language. I
I have a problem with the typedef keywords in C language. In my program,
I have a problem with Drupal uploads path when in a multi language site.
I have hit upon this problem about whether to use bignums in my language
could someone please help me with this problem, sorry for the Language in the
I am starting to learn Java. The actual language is not a problem since
Okay, since none of you guys like my question, let me rephrase it. User

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.