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

  • Home
  • SEARCH
  • 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 6864441
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T02:54:43+00:00 2026-05-27T02:54:43+00:00

Windows-7 introduced a concept of virtual folder, called ‘Libraries’. I am working on implementing

  • 0

Windows-7 introduced a concept of virtual folder, called ‘Libraries’.

I am working on implementing a Library with my custom action. The constraint is that, I have to stick to .NET version 2 for this 🙁

While looking around, I didn’t find any native (c/C++) API for doing this. I am planning to use Interop (p-Invoke) to make a library once I get native APIs.

Could any one point to a link or documentation which might help. If somehow I can do this directly from c# (with .NET v2), that would be great.

Thank you,
John

  • 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-27T02:54:44+00:00Added an answer on May 27, 2026 at 2:54 am

    The concept of “virtual folder” exists already before Windows 7 and has AFAIK just been “refined”… you write you want to do this with your own custom handler…

    IF you want to implement such a “virtual folder” and integrate it into Windows so that other applications can use it as a “virtual folder” then:

    To implement and install a “shell extension” (which basically are a bunch of COM interfaces):

    Remark: If the system you are running on doesn’t have .NET 4 then Microsoft recommended NOT to use .NET for this because of the inherent restriction with the older versions that one process can’t run multiple framework versions at the same time. Depending on the OS etc. case it could be recommended to implement this with C/C++.
    Even with .NET 4 as pointed out in the comments the code injection problem remains – i.e. if any .NET app prior .NET 4 and/or with a different .NET versions than your shell extension accesses the file open dialog for example it can/will fail.
    To circumvent that you need to implement a native proxy DLL which gets loaded into the respective processes (like Windows Explorer) and communicates with your .NET implementation via IPC.

    In this specific case you need to build a shell extension which implements IShellLibrary.

    That aside the implementation of shell extension is a really tough job… some links with information / samples / source code / libraries etc.:

    • http://msdn.microsoft.com/en-us/library/windows/desktop/bb774328%28v=VS.85%29.aspx
    • http://blogs.msdn.com/b/codefx/archive/2010/09/14/writing-windows-shell-extension-with-net-framework-4-c-vb-net-part-1.aspx
    • http://www.ssware.com/ezshell/ezshell.htm
    • http://www.codeproject.com/KB/shell/ratingcolumn.aspx?q=shell+extensions+c%23
    • http://www.codeproject.com/KB/shell/shellextguideindex.aspx
    • http://www.nirsoft.net/utils/shexview.html
    • http://social.msdn.microsoft.com/forums/en-US/netfxbcl/thread/1428326d-7950-42b4-ad94-8e962124043e/

    To interact with a Windows 7 library see http://support.microsoft.com/kb/976027 and http://www.codeproject.com/KB/miscctrl/Windows7APICodePack.aspx and http://archive.msdn.microsoft.com/WindowsAPICodePack and http://www.codeproject.com/KB/cs/DDW7LibrariesLite.aspx . Some require .NET 3.5 but since 3.5 is just 2.0 plus some additional assemblies it might be an option…

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

Sidebar

Related Questions

Windows 7 introduced Virtual WiFi which allows you to create hotspots . However I
Windows Vista introduced the concept of three pseudo-locales : Pseudo Locale Locale Name LCID
Windows 7 introduced a Recent Places special folder in Explorer which shows you the
So I'm trying to use IApplicationAssociationRegistration , which has been introduced with Windows Vista.
Windows API ::FindWindow function fails when called from Service application. GetLastError() also returns 0
My memory is fuzzy but I seem to recall that Windows Vista introduced an
Virtual memory was introduced to help run more programs with limited memory. But in
I am working on a small cross platform product for Windows and Mac written
One of the features introduced in Windows 7 (or was it Vista?) is the
I am currently working on learning some different aspects of WINAPI, including features introduced

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.