Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
60 views

Does Stock Windows IThumbnailProvider Permit QueryInterface For IInitializeWithStream For Video Files?

Microsoft writes regarding IThumbnailProvider: The object that implements this interface must also implement IInitializeWithStream. In fact, they mention several times on MSDN that anyone ...
HackTheStack's user avatar
0 votes
1 answer
66 views

Implement IExtractIcon To Get Yellow Folder Icon And Extension Icon Of Virtual File

I am having the exact same problem as the engineer referenced in this link. I was quite surprised at t he solution given by Raymond (Chen) because Raymond's answer seems (to me) to be circuitous: He ...
HackTheStack's user avatar
1 vote
1 answer
78 views

Paste and Paste shortcut Greyed-Out In Context Menu Of Background of Default IShellView

I have a namespace extension that uses both SHCreateShellFolderView and SHCreateDefaultContextMenu. I also use IShellFolderViewCB and IContextMenuCB to create default objects. Most of the expected ...
HackTheStack's user avatar
0 votes
0 answers
95 views

How to execute action on destination of copy-paste, move and drag-and-drop operations

In my Shell Namespace Extension I want to execute some action on the files that user has copied from it immediately after the copy process. It is a resource consuming process, so I would really prefer ...
ElDorado's user avatar
  • 468
5 votes
2 answers
541 views

How to force Explorer use modern file operation dialog with Shell Namespace Extension

In my understanding currently there are two ways to copy virtual files from a Shell Namespace Extension with the Explorer so that Copy GUI will be shown to the user: Via IDataObject interface: ...
ElDorado's user avatar
  • 468
-1 votes
1 answer
177 views

Default column index for sorting in Shell Namespace Extension

In my Shell Namespace Extension I am using SHCreateShellFolderView to obtain IShellView when it is requested: IFACEMETHODIMP ShellFolder::CreateViewObject(HWND hwnd, REFIID riid, void** ppv) { if (...
ElDorado's user avatar
  • 468
0 votes
0 answers
145 views

The Windows SDK sample (Namespace Extension) does not run correctly on Windows 11

I want to implement a Namespace Extension and custom column filtering. I tried to run this sample from Windows SDK 7.1, in Windows 11: ExplorerDataProvider This sample implements a Shell Namespace ...
Dave's user avatar
  • 1
1 vote
0 answers
152 views

Explorer ignores ParseDisplayName in Shell Namespace Extension

I am writing a Shell Namespace Extension. How may I force explorer to access (and open) items that are not enumerated with IShellFolder::EnumObjects by typing their parsing name in the address bar? I ...
ElDorado's user avatar
  • 468
0 votes
1 answer
120 views

images not working properly if I open it from my shell namespace extension folder

I have my custom shell namespace extension. Just want to have a virtual folder mapped to some folder on disk C:/ with the same functionality. using namespace ATL; class ATL_NO_VTABLE ...
Pavel Eroshenko's user avatar
1 vote
0 answers
182 views

in my shell namespace extension context menu differs from the default one("new" and "properties" items are missed)

I have my custom shell namespace extension. Just want to have a virtual folder mapped to some folder on disk C:/ with the same functionality. using namespace ATL; class ATL_NO_VTABLE ...
Pavel Eroshenko's user avatar
1 vote
0 answers
275 views

c#: how to create a custom (virtual) folder in windows and populate it with arbitrary files

I have many files, which are in many different folders on my HD, I want to be able to display certain subsets of these files in one place (probably a "virtual" folder in Explorer), based on ...
Yekoor's user avatar
  • 79
2 votes
0 answers
152 views

Alternatives to IShellFolderView's RemoveObject and AddObject methods

I know that IShellFolderView interface is no longer supported by the Windows Shell as of Windows 7. However I am still interested in the methods (i.e RemoveObject and AddObject) exposed by that ...
Reznicencu Bogdan's user avatar
3 votes
1 answer
210 views

Can I limit folder rename, copy, move, delete operations using SFGAO flags?

I need to limit certain operations with folder in Windows Explorer. For example disallow copy, move, rename, delete operations or make it read-only (disallow creation of new files and folders in it). ...
Panzer's user avatar
  • 124
2 votes
0 answers
114 views

How do I register Shell Namespace Extension in packaged app?

I need to deploy a Shell Namespace Extension as part of my packaging project, created by Visual Studio. I see that I can register context menus, property handlers and COM exe and surrogate servers, ...
user16668952's user avatar
2 votes
1 answer
856 views

Windows Shell Namespace Extension from REST API

I'm working on a project which is an open-source cloud, similar to Nextcloud. It also provides a file upload and manage feature. I'd like to have a shell namespace extension which displays those ...
H. Rüger's user avatar
4 votes
0 answers
372 views

How to create virtual folder like Dropbox or OneDrive in navigation pane (Windows) or Finder (Mac OS) programatically?

We have cloud-based web application in which users upload their documents and manage it folder wise. We would like to develop desktop application like Dropbox and OneDrive in which users can manage ...
Rachit Sakhidas's user avatar
0 votes
1 answer
709 views

Shell namespace extension registry on windows 10 IOT enterprise

I am creating a virtual folder with shell namespace extension on windows 10 IOT enterprise. The code I am using come from windows 7 SDK samplesm which is provided by microsoft. Here is the whole ...
beasone's user avatar
  • 1,085
1 vote
0 answers
260 views

Can a shell namespace extension displaying a form receive/pass files to IFileDialogs?

I'd like to show a shell namespace extension in the new (since Windows Vista) IFileOpenDialog and IFileSaveDialog. These dialogs can apparently display a custom form like the built-in Homegroup ...
Steve's user avatar
  • 2,520
0 votes
1 answer
320 views

How do I hide a custom drive with a registry key?

I am working on a project which creates a custom drive and is accessible under "This PC". The request is to hide the drive on a per-user basis using registry keys if possible. The client machines ...
Sniipe's user avatar
  • 1,276
0 votes
1 answer
87 views

The value for "Shared" column is not displayed correctly in shell namespace extension

I use shell namespace extension to create a virtual folder on windows 7. I want to add columns to this virtual folder so it can display the virtual files's details. However, the value for "Shared" ...
beasone's user avatar
  • 1,085
4 votes
0 answers
558 views

How to update a shell namespace extension without explorer restart?

I have a shell namespace extension, using a file system folder as its junction point (by creating a desktop.ini file with my extension's CLSID in the folder). When upgrading to a new version of the ...
Jeremy Spiegel's user avatar
2 votes
0 answers
277 views

Windows 10 Namespace Extension - OpenFileDialog and the temporary folder

For a little side project I've been working on a namespace extension to view and modify a custom archive format straight from windows explorer. This is working fine: I can browse the archive, modify ...
Bert's user avatar
  • 61
1 vote
0 answers
191 views

Using FILEGROUPDESCRIPTOR and FILECONTENTS fails on to long path

I hava an application that currently uses the Copy and Past API with FILECONTENTS and FILEGROUPDESCRIPTOR. This works normaly without a problem. Unfortunatly this approach fails if the path + the ...
lokimidgard's user avatar
  • 1,099
0 votes
1 answer
518 views

Quick Access and Namespace Extensions: Unpin object

When I right click on an lnk file - link on a virtual folder in a namespace extension -, then the functions CreateViewObject and/or GetUiObjectOf of my IShellFolder/IShellFolder2 implementations are ...
gouigoui's user avatar
2 votes
0 answers
176 views

The new folder button created for virtual folder cannot be displayed in CFileDialog

By using shell namespace extension, I create a virtual folder and add a "New Folder" button on the toolbar, and I can see the button when I use windows explorer to open it: The related code about the ...
beasone's user avatar
  • 1,085
0 votes
1 answer
362 views

How to add background photos/text in the folder view on windows by shell namespace extension

I used miscrosoft SDK sample to create a virtual folder by shell namespace extension: In this virtual folder, it has several folders. One of the folders is empty. I want to change the background for ...
beasone's user avatar
  • 1,085
2 votes
1 answer
420 views

Receiving parent's window handle on IShellFolder/IShellFolder2 EnumObjects implementations while searching?

I'm scratching my head in receiving the parent window handle in a namespace extension project i'm working on. The use case is as follows: User browses to a virtual folder through windows explorer ...
ArielB's user avatar
  • 1,254
0 votes
1 answer
216 views

How to retrieve the ISearchBoxInfo interface?

i would like to capture the Windows' search box, for that i found out i can use the ISearchBoxInfo interface: https://msdn.microsoft.com/en-us/library/windows/desktop/dd562062(v=vs.85).aspx I have ...
ArielB's user avatar
  • 1,254
0 votes
0 answers
608 views

How to get the path of the virtual folder in file save dialog?

----------------------------------update----------------------------------- If I implement the ParseDislayName like following, dialog will report "The file already exist, do you want to replace ...
beasone's user avatar
  • 1,085
0 votes
1 answer
832 views

cannot get the path for the virtual folder on windows 7 C++(shell namespace extension related)

By using Microsoft windows SDK 7.0, explorerDataProvider, I installed a virtual folder on windows 7. When I open the file browse dialog from an application, CFileDialog dlg(TRUE, NULL, 0, ...
beasone's user avatar
  • 1,085
1 vote
1 answer
438 views

virtual folder is invisible in the CFileDialog in windows 7

-------------------------update 5th------------------------------- if (fIsFolder) { dwAttribs |= SFGAO_FOLDER; } else { ...
beasone's user avatar
  • 1,085
2 votes
1 answer
322 views

how to display the virtual folder only when user open the windows explorer from an app on win 7?

--------------------------------second updates------------------------ I tried: STDAPI_(BOOL) DllMain(HINSTANCE hInstance, DWORD dwReason, void *) { // Get the path and module name. WCHAR ...
beasone's user avatar
  • 1,085
0 votes
1 answer
937 views

How to create shortcut for virtual folder in C++ on windows 7?

The platform I am using is windows 7. I need to create shortcut for the virtual folder on windows 7. I use windows 7 SDK sample to create a virtual folder under Computer: The sample project name is ...
beasone's user avatar
  • 1,085
0 votes
1 answer
87 views

Does MacOS have any API equivalent to Windows's "Shell Namespaces" that allow browsing directly in the Finder of non-filesystem tree structures?

Windows has had a concept of "Shell Namespaces" ¹ ² ³ for about 20 years now that allows developers to add support for interacting with things in the File Explorer that have tree structures ...
hippietrail's user avatar
  • 16.9k
1 vote
1 answer
381 views

Add Custom Banner to Namespace Extension

Windows explorer has the ability to show a custom banner when doing a search and indexing is disabled: I would like to display a similar banner in a custom namespace extension with a custom message ...
John Koerner's user avatar
10 votes
0 answers
787 views

How Microsoft Implemented shell extensions for upcoming OneDrive On-Demand features?

Within the upcoming (currently insider) version of OneDrive client - On-Demand feature Microsoft introduced some new shell / namespace extensions. There is additional column showing file availability ...
Beaver's user avatar
  • 267
3 votes
1 answer
589 views

SHChangeNotify with SHCNE_RMDIR behavior inconsistent between Windows 7 and Windows 10

Overview I am using SHChangeNotify with SHCNE_RMDIR to notify the shell of a folder that has been removed from within my shell namespace extension. My expectation is that this will cause any ...
Matt Smith's user avatar
  • 17.4k
3 votes
1 answer
759 views

Reload a namespace extension in explorer.exe that failed to load previously

Background I have a Shell Namespace Extension that is located (using a virtual folder as its junction point) under MyComputer. It is possible to create a shortcut to my namespace extension. Here I ...
Matt Smith's user avatar
  • 17.4k
-1 votes
1 answer
51 views

Manage and cache UI objects

I am writing a namespace extension for windows explorer. In the context of the extension there is no UI thread. So when I create a UI object and cache it to reuse it, I get cross threading exception. ...
Mayank's user avatar
  • 8,852