Menu

#1 Opening Notepad++ via ActiveX prompts to create "Embedding" file.

1.0
open
nobody
None
2016-08-26
2016-08-26
shaggie
No

Using the ActiveX plugin to open the latest version of Notepad++ prompts me with the following in Notepad++:


Create new file

C:\WINDOWS\system32-Embedding doesn't exist. Create it?

Yes No

The command used was this:

Set Editor = CreateObject("NotepadPlusPlus.Application")

Discussion

  • shaggie

    shaggie - 2016-08-26

    It is actually a message box that pops open in Notepad++. Copying it gives this (wish I could edit the original post):

    ---------------------------
    Create new file
    ---------------------------
    C:\WINDOWS\system32\-Embedding doesn't exist. Create it?
    ---------------------------
    Yes   No   
    ---------------------------
    
     
  • David Gausmann

    David Gausmann - 2016-08-26

    Wohoo, a respone of someone after some years. :D

    I have already knowledge of this bug (it is also listed in the help file under appendix > known bugs).
    But it is good that you reported that; I had almost forgot that topic. :D

    The reason why the bug occurs (cited from the help file):

    If you access Notepad++ via ActiveX and it is not open yet the user will be prompted whether to create the file "-Embedding". This occurs because COM automatically adds the "-Embedding" parameter to "local server" applications which become started via COM.

    So the fix must be done in Notepad++.
    I've created a feature request for Notepad++:
    https://notepad-plus-plus.org/community/topic/12283/feature-request-ignore-the-embedding-program-line-argument-if-given

    Kind Regards
    David Gausmann

     
  • shaggie

    shaggie - 2016-08-26

    Strange. I get this even when Notepad++ is open.

     

    Last edit: shaggie 2016-08-26

Log in to post a comment.