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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T17:56:00+00:00 2026-05-11T17:56:00+00:00

I am a novice .Net 2.0 and 3.5 developer. I want to create an

  • 0

I am a novice .Net 2.0 and 3.5 developer. I want to create an application that creates a context menu when a file is right clicked on in Vista. After the right click–I think I can figure out the rest, but I don’t know the technique to get access to the Vista API.

FOLLOW-UP:

As I have been reading some of the info that folks have responded with, I have found that I am going overkill here with the shell extensions. I think I can keep this project a lot simpler if I just call my app and pass the filename as a parameter. This would still require my app to come up in explorer’s context menu when files with certain extensions are right clicked on. How do I go about doing 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. Editorial Team
    Editorial Team
    2026-05-11T17:56:00+00:00Added an answer on May 11, 2026 at 5:56 pm

    With the risk of sounding unhelpful, I’d recommend against this in .Net 2.0 or 3.5. As Brian said the thing you’re trying to implement is a shell extension. These are implemented as libraries which the Vista shell loads.

    While there are several tutorials around the web which give instructions on implementing these in .Net 2.0 or such few of these mention how bad idea this is. If you make the Vista shell load a .Net shell extension it is forced to load the whole .Net CLR which your shell extension requires. What makes this even worse is that you can load only one version of the full .Net CLR in one process. So if you have a shell extension that requires .Net 1.0 CLR and Vista has loaded this, it cannot load the 2.0 CLR your shell extension requires.

    Also there are some Stack Overflow articles already discussing this.

    Some information on implementing a shell extension in unmanaged C++ (KBCafe PDF, couldn’t find a simple html link)

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

Sidebar

Related Questions

I am a .net developer that was handed a ruby on rails application because
i'm a novice-to-intermediate .NET developer and I don't quite understand how an upload handler
Novice question I guess: The Scenario: I have an asp.net page that contains 6
Experienced .Net developer but a complete ASP MVC (and web dev in general) novice.
I'm novice in .net c++ and trying to create class looking like: public ref
When looking at disassembled .NET assemblies I notice that constructors are defined as .ctor
Am vb.net newbie. This question might be very novice and answered before, but i
People generally agree that C# and VB.net are more or less the exact same
I'm a C# novice running .NET 3.5, and I'd like to store a bunch
I have a Facebook Connect app that I monetize using Google AdSense. I want

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.