Community
    • 登入

    Context menu entry in the potable version of Notepad++

    已排程 已置頂 已鎖定 已移動 General Discussion
    33 貼文 8 Posters 9.5k 瀏覽
    正在載入更多貼文
    • 從舊到新
    • 從新到舊
    • 最多點贊
    回覆
    • 在新貼文中回覆
    登入後回覆
    此主題已被刪除。只有擁有主題管理權限的使用者可以查看。
    • JaanyaarJ
      Jaanyaar
      最後由 編輯

      Hi!

      Is there any way to have this entry when using the portable version? A setting or…

      EkopalypseE 1 條回覆 最後回覆 回覆 引用 1
      • EkopalypseE
        Ekopalypse @Jaanyaar
        最後由 編輯

        @J4NY4R

        I think you are looking for the shell extension, correct?

        1 條回覆 最後回覆 回覆 引用 1
        • JaanyaarJ
          Jaanyaar
          最後由 編輯

          Yes, I need it. It was written that it is a separate program, where can I find and install it?

          EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
          • EkopalypseE
            Ekopalypse @Jaanyaar
            最後由 Ekopalypse 編輯

            @J4NY4R

            Did you read the link I’ve provided?? regsvr32 is the answer.

            1 條回覆 最後回覆 回覆 引用 1
            • JaanyaarJ
              Jaanyaar
              最後由 編輯

              Would you please be more in detail? What should I do exactly?

              EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
              • EkopalypseE
                Ekopalypse @Jaanyaar
                最後由 編輯

                @J4NY4R

                Hmm, reading the post from the link I gave I guess.
                To quote from it

                If you issue the install command for the dll, which is regsvr32 /i NppShell_01.dll, a dialog box will pop up from which various details of the behaviour of the extension can be tweaked. The trailing number will increase as versions go.

                Is that unclear? If so, what should be changed here?

                Alan KilbornA Michael VincentM 2 條回覆 最後回覆 回覆 引用 2
                • Alan KilbornA
                  Alan Kilborn @Ekopalypse
                  最後由 編輯

                  @Ekopalypse said in Context menu entry in the potable version of Notepad++:

                  Is that unclear? If so, what should be changed here?

                  Perhaps for complete noobs the fact that you’d need to do this from a command prompt in the same folder is a point of confusion.

                  Also, would the command prompt need to be an “admin” one?

                  Not sure as I don’t use this extension, I just add my “Edit with Notepad++” thingy to the registry manually (and I have my own notes on how I do this in case I ever need to set it up again).

                  EkopalypseE ? 2 條回覆 最後回覆 回覆 引用 2
                  • EkopalypseE
                    Ekopalypse @Alan Kilborn
                    最後由 編輯

                    @Alan-Kilborn said in Context menu entry in the potable version of Notepad++:

                    Also, would the command prompt need to be an “admin” one?

                    I suppose it depends on where it writes its data.
                    Since I don’t use it either, I can only speculate.

                    1 條回覆 最後回覆 回覆 引用 1
                    • Michael VincentM
                      Michael Vincent @Ekopalypse
                      最後由 編輯

                      @Ekopalypse said in Context menu entry in the potable version of Notepad++:

                      Is that unclear? If so, what should be changed here?

                      Perhaps where to get ‘NppShell_01.dll’ - it is not available in the portable ZIP download the OP references.

                      Cheers.

                      EkopalypseE Alan KilbornA 2 條回覆 最後回覆 回覆 引用 2
                      • EkopalypseE
                        Ekopalypse @Michael Vincent
                        最後由 編輯

                        @Michael-Vincent said in Context menu entry in the potable version of Notepad++:

                        Perhaps where to get ‘NppShell_01.dll’ - it is not available in the portable ZIP download the OP references.

                        That makes sense. I thought it was included, but obviously it is not.

                        1 條回覆 最後回覆 回覆 引用 1
                        • Alan KilbornA
                          Alan Kilborn @Michael Vincent
                          最後由 編輯

                          @Michael-Vincent said in Context menu entry in the potable version of Notepad++:

                          Perhaps where to get ‘NppShell_01.dll’ - it is not available in the portable ZIP download

                          Where DOES one obtain it?

                          1 條回覆 最後回覆 回覆 引用 0
                          • EkopalypseE
                            Ekopalypse
                            最後由 編輯

                            If I’m correct, the only way currently is to download an installer package and extract it from there using tools like 7z.

                            1 條回覆 最後回覆 回覆 引用 1
                            • EkopalypseE
                              Ekopalypse
                              最後由 Ekopalypse 編輯

                              But I think this should also ship with the portable version.
                              What do you think, worth opening an FR?

                              1 條回覆 最後回覆 回覆 引用 1
                              • JaanyaarJ
                                Jaanyaar
                                最後由 編輯

                                I found the last version of the .dll “NppShell_06.dll” from the installer package. Tried regsvr32 /i NppShell_06.dll by the CMD Prompt (Adminstrator) but encountered an error:

                                The module “NppShell_06.dll” was loaded but the call to DLLRegisterServer failed with error code 0x80004005.

                                Any hint?

                                Alan KilbornA EkopalypseE 2 條回覆 最後回覆 回覆 引用 2
                                • Alan KilbornA
                                  Alan Kilborn @Jaanyaar
                                  最後由 編輯

                                  此回覆已被刪除!
                                  1 條回覆 最後回覆 回覆 引用 0
                                  • EkopalypseE
                                    Ekopalypse @Jaanyaar
                                    最後由 編輯

                                    @J4NY4R said in Context menu entry in the potable version of Notepad++:

                                    0x80004005.

                                    Can you post the debug-info from npp? Is available from the last menu, the ? menu?

                                    JaanyaarJ 1 條回覆 最後回覆 回覆 引用 1
                                    • JaanyaarJ
                                      Jaanyaar @Ekopalypse
                                      最後由 編輯

                                      @Ekopalypse

                                      Notepad++ v7.9.2 (32-bit)
                                      Build time : Dec 31 2020 - 03:58:36
                                      Path : D:\Portable Programs\Notepad++\notepad++.exe
                                      Admin mode : ON
                                      Local Conf mode : ON
                                      OS Name : Windows 10 Enterprise LTSC 2019 (64-bit)
                                      OS Version : 1809
                                      OS Build : 17763.1637
                                      Current ANSI codepage : 1252
                                      Plugins : mimeTools.dll NppConverter.dll NppExport.dll

                                      EkopalypseE 1 條回覆 最後回覆 回覆 引用 0
                                      • EkopalypseE
                                        Ekopalypse @Jaanyaar
                                        最後由 編輯

                                        @J4NY4R said in Context menu entry in the potable version of Notepad++:

                                        v7.9.2 (32-bit)

                                        Did you use the file from the 32bit installation package or the one from the 64bit package?

                                        JaanyaarJ 1 條回覆 最後回覆 回覆 引用 1
                                        • JaanyaarJ
                                          Jaanyaar @Ekopalypse
                                          最後由 編輯

                                          @Ekopalypse said in Context menu entry in the potable version of Notepad++:

                                          @J4NY4R said in Context menu entry in the potable version of Notepad++:

                                          v7.9.2 (32-bit)

                                          Did you use the file from the 32bit installation package or the one from the 64bit package?

                                          32 bit one.

                                          EkopalypseE 2 條回覆 最後回覆 回覆 引用 1
                                          • EkopalypseE
                                            Ekopalypse @Jaanyaar
                                            最後由 編輯

                                            @J4NY4R

                                            Ok, give me a few minutes, I will start my virtualbox and try to see what the problem is. It’s the least I can do after pointing you to this solution.

                                            1 條回覆 最後回覆 回覆 引用 2
                                            • 第一個貼文
                                              最後的貼文
                                            The Community of users of the Notepad++ text editor.
                                            Powered by NodeBB | Contributors