Questions tagged [shell-namespace-extension]

36 questions
10
votes
0 answers

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 status, and text within the status bar. Did…
5
votes
2 answers

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: Reading a file is done via IDataObject::GetData that…
4
votes
0 answers

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 and sync their files and folder from local machine…
4
votes
0 answers

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 extension, I would like to avoid restarting all…
4
votes
1 answer

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 explorer (or other shell) windows which have their folder…
Matt Smith
  • 17,026
  • 7
  • 53
  • 103
3
votes
1 answer

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). I see that there are SFGAO flags that looks what…
3
votes
1 answer

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 show my namespace extension with a shortcut on the…
Matt Smith
  • 17,026
  • 7
  • 53
  • 103
2
votes
0 answers

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 interface. The following call no longer…
2
votes
0 answers

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, but not Shell Namespace Extensions for some…
2
votes
1 answer

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 files and folders in the Windows Explorer. Moving,…
H. Rüger
  • 25
  • 1
  • 5
2
votes
0 answers

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 it etc., but I've run into a little stumbling…
Bert
  • 51
  • 1
  • 2
2
votes
0 answers

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 "New Folder" button is simple: class…
2
votes
1 answer

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 User performs search (search box above) I need to…
ArielB
  • 1,184
  • 2
  • 11
  • 36
2
votes
1 answer

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 szModulePathAndName[MAX_PATH]; GetModuleFileName(hInstance,…
beasone
  • 1,073
  • 1
  • 14
  • 32
1
vote
0 answers

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 have seen SFGAO_NONENUMERATED flag which I…
1
2 3