Arokh Posted May 13, 2008 Posted May 13, 2008 Hi I want to add a virtual folder into the explorer. Someting like "Control Panel" which isn't really part of the Filesystem structure. My main goal is to let a user add a bunch of pathes to a list (which may come from different drives), and then virtually merge them together in the new folder added to the explorers treeview. The virtual folder should behave just as they would from their normal location: Clicking one folder -> Showing the contents in the listview. The standard context menu etc. ... Of course moving files would need some special coding since it wouldn't know where to move the file. Can somebody point me in the right direction? Google isn't much of help since most results are for context menus Quote
Administrators PlausiblyDamp Posted May 13, 2008 Administrators Posted May 13, 2008 http://msdn.microsoft.com/en-us/library/cc147467(VS.85).aspx gives the scarey details. You are going to have to get dirty with COM by the look of things. Quote Posting Guidelines FAQ Post Formatting Intellectuals solve problems; geniuses prevent them. -- Albert Einstein
Arokh Posted May 14, 2008 Author Posted May 14, 2008 Perfect this is what I needed. I have still some questions though: I'm writing the application in VB.NET, since I have the most experience there. How can I implement for example "DllCanUnloadNow"? http://msdn.microsoft.com/en-us/library/cc144093(VS.85).aspx Would it be easier to create the application in C#? Since I noticed STDAPI is available in C# and not in VB. Quote
Arokh Posted May 14, 2008 Author Posted May 14, 2008 Ok, I found a "tutorial" which describes exactly what I want. It is a bit more complex than I hoped, but I guess I can get it to work, hopefully :D http://www.codeproject.com/KB/shell/TipsInNSE_SubFld.aspx Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.