Questions tagged [sharpshell]

SharpShell is a .NET framework library that allows you to create Windows Shell Extensions quickly, using C# or Visual Basic.

SharpShell is a .NET framework library that allows you to create Windows Shell Extensions quickly, using C# or Visual Basic.

https://github.com/dwmkerr/sharpshell

28 questions
12
votes
2 answers

Select a file for renaming in SharpShell context menu

I'm using SharpShell to write a tiny new shell context menu item that copies the currently selected files to a new subfolder, then prompts the user for the directory's new name. Searching StackOverflow, I found this answer. However, I'd like to do…
Lynn
  • 10,425
  • 43
  • 75
5
votes
2 answers

Create a Shell ContextMenu by right clicking on Desktop or Directory Background

The .NET Shell extension framework called SharpShell is great; I've developed a right-click file Shell ContextMenu "quite easily" that works selecting both files and directories. Now I would like to develop a Shell ContextMenu by righ-clicking on an…
baru
  • 401
  • 3
  • 9
  • 29
3
votes
4 answers

How to change Sharpshell Icon Overlay Handler name in registry to contains space before name?

I created Icon Overlay Handlers using sharpshell as this sample:- http://www.codeproject.com/Articles/545781/NET-Shell-Extensions-Shell-Icon-Overlay-Handlers My Sharpshell handler is [ComVisible(true)] [DisplayName(" Test")] public class…
yo2011
  • 971
  • 2
  • 12
  • 38
3
votes
1 answer

Register sharpshell assembly with setup.

I was looking for a way to add a menu item on right click for special files until I found this article SharpShell I was able to write my modified shell and to register it using ServerManager.exe. How can i register my shell in a system when the user…
2
votes
1 answer

how to add a shell context menu for recycle bin by sharpshell?

How to add a shell context menu for recycle bin by sharpshell? Is it possible?
smartiz
  • 151
  • 7
2
votes
2 answers

SharpShell server .dll NOT signed

I need to develop a Shell Context Menu extension that references some other custom assemblies... I don't want to assign a Strong Name Key to those custom assemblies! The guide I followed to do this uses the SharpShell project and illustrates how to…
baru
  • 401
  • 3
  • 9
  • 29
2
votes
1 answer

srm.exe install shell extension: Fails with "Cannot cast the underlying exported value"

I have written this simplistic shell extension (explorer context menu) with SharpShell: [ComVisible(true)] [COMServerAssociation(AssociationType.AllFiles)] public class SampleExtension : SharpContextMenu { protected override bool CanShowMenu() …
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
2
votes
0 answers

How to deploy a SharpShell-based shell extension via WiX?

I have written this simplistic shell extension (explorer context menu) with SharpShell: [ComVisible(true)] [COMServerAssociation(AssociationType.AllFiles)] public class SampleExtension : SharpContextMenu { protected override bool CanShowMenu() …
Nicolas Raoul
  • 58,567
  • 58
  • 222
  • 373
1
vote
1 answer

Registering SharpShell extension using SRM via WIX installer

Firstly I should clarify that I am a novice and have been struggling to understand the WIX formatting, but by cobbling together examples found on-line, I now have the files installing fine so I next need to register my DLL. I used the example here…
Max Headroom
  • 151
  • 7
1
vote
0 answers

How can I switch between custom preview panel and default preview pane in windows file explorer?

I created my custom preview for "*.txt" files via using SharpShell. For creating preview pane I used the example from next link: https://github.com/dwmkerr/sharpshell/tree/master/SharpShell/Samples/PreviewHandler My custom preview pane works well…
1
vote
0 answers

How to add SharpShell extensions at a specific position

I'm adding some extensions to the contextmenu by using sharpshell. Yet I cannot see any option to specify the posion where these extensions appear in the contextmenu. So I would like to know, if there is a possibility to define at which positon the…
Boba
  • 11
  • 2
1
vote
1 answer

Sharpshell issue facing on deployment

Iam facing some issues when deploying sharpshell on the client machines, really appritiated if some one could help me out. The configurations as follows Sharpshell 2.2.0 64Bit OS Framework 4.5.1 Vc++ 2010 redistributable Deployment package was…
titan61
  • 33
  • 7
1
vote
1 answer

How to change SharpShell Icon Overlay handler name to contain space in registry to take priority over Dropbox and other programs?

I want to change Sharpshell Icon over handler name so, my handlers will take precedence over other handlers. I noted that Dropbox and Google Drive use space in their handler names so, they take precedence over my sharpshell handlers but i can't add…
yo2011
  • 971
  • 2
  • 12
  • 38
1
vote
1 answer

.NET Create Icon Overlay(the same behavior as Dropbox and google drive ) using Sharpshell along with FileSystemWatcher

I want to create Icon overlay in my synchronization app (i want the same behavior as Dropbox and google drive); i already watched the local changes using FileSystemWatcher but i can't add icon overlay according to file status; I read this article…
yo2011
  • 971
  • 2
  • 12
  • 38
1
vote
0 answers

How to develop a shell ext. that adds a new button in a Explorer window? using SharpShell

Scenario My current O.S. is Windows 8.1 x64, with plans to updgrade to Windows 10 x64 in the near future. I frequently need to toggle between to show hidden files in explorer. To solve this, I added a simple contextmenu item via registry, then when…
ElektroStudios
  • 19,105
  • 33
  • 200
  • 417
1
2