sharpshell | SharpShell makes it easy to create Windows Shell Extensions

 by   dwmkerr C# Version: v2.7.2.0 License: MIT

kandi X-RAY | sharpshell Summary

kandi X-RAY | sharpshell Summary

sharpshell is a C# library. sharpshell has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

SharpShell makes it easy to create Windows Shell Extensions using the .NET Framework.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              sharpshell has a medium active ecosystem.
              It has 1318 star(s) with 243 fork(s). There are 71 watchers for this library.
              OutlinedDot
              It had no major release in the last 12 months.
              There are 79 open issues and 203 have been closed. On average issues are closed in 192 days. There are 4 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of sharpshell is v2.7.2.0

            kandi-Quality Quality

              sharpshell has 0 bugs and 0 code smells.

            kandi-Security Security

              sharpshell has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              sharpshell code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              sharpshell is licensed under the MIT License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              sharpshell releases are available to install and integrate.
              Installation instructions, examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of sharpshell
            Get all kandi verified functions for this library.

            sharpshell Key Features

            No Key Features are available at this moment for sharpshell.

            sharpshell Examples and Code Snippets

            No Code Snippets are available at this moment for sharpshell.

            Community Discussions

            QUESTION

            WiX: How to restart Windows Explorer to install / uninstall a shell extension
            Asked 2022-Mar-02 at 14:16

            I am trying to write a WiX installer that includes a managed icon shell extension (using SharpShell). I've finally figured out how to register it via Wix (I couldn't get the SharpShell registration manager to work whenn called via WiX).

            During installation, the following dialog appears:

            If I select "Ignore", the icon shell extension is successfully installed and Window Explorer picks up the change immediately. I'm not sure which files that its detecting as "In Use".

            During uninstall, the following dialog appears:

            If you select the "Automatically close and attempt to restart" option, it closes Windows Explorer, but it does not restart at the end of the installation. I have to manually restart it via task manager.

            WiX Fragment Definition

            The WiX fragment that defines the shell extension installation is shown below:

            ...

            ANSWER

            Answered 2022-Mar-02 at 14:16

            The best solution that seemed to work and did not display any unwanted dialogs was to remove the MSIRMSHUTDOWN and MSIDISABLERMRESTART properties and set the following property:

            Source https://stackoverflow.com/questions/71158991

            QUESTION

            C# - How to trigger the App in open with context menu properly
            Asked 2020-Dec-07 at 07:51

            I need to display the Windows native context menu of Open with in my application and I already can show it. However, I encountered a problem is I can't execute any Apps (Photos/Paint/...) in Open with submenu properly.

            For example, I press right click on a jpg image and hover cursor to open with, then choose Paint to open it, but nothing happen (no exeception, error) after clicking Paint (There is no Paint process in Task Manager).

            The screenshot below can reveals my problem precisely, Apps in red block can't be execute properly (Neither native nor third-party applications can be executed). But Search the Microsoft Store and Choose another app can work well.

            I found that @yberk 's post also mentioned this problem, but he didn't find any solution

            I have read lots of documents and examples, but still can't figure out the problem.

            By the way, my development environment is .NET Framework 4.7.2 on Windows10 2004 version.

            The following is my code snippet

            ...

            ANSWER

            Answered 2020-Dec-07 at 07:51

            Finally, I found the reason. We need put the [STAThread] on the entry point.

            See windows document STAThread

            This attribute must be present on the entry point of any application that uses Windows Forms; if it is omitted, the Windows components might not work correctly. If the attribute is not present, the application uses the multithreaded apartment model, which is not supported for Windows Forms.

            Source https://stackoverflow.com/questions/65139754

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install sharpshell

            Install SharpShell by searching for 'SharpShell' in the NuGet package manager, or using the Package Manager Console:.

            Support

            The following extensions are supported by SharpShell.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/dwmkerr/sharpshell.git

          • CLI

            gh repo clone dwmkerr/sharpshell

          • sshUrl

            git@github.com:dwmkerr/sharpshell.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link