Menu

File Association

Help
2006-06-15
2012-11-19
  • Nobody/Anonymous

    Where in the source can I see the code used to create or remove the association for the .kdb file type?? I've looked for a while and I can't find it (my native language is vb)

     
    • Paul

      Paul - 2006-06-15

      File associations are set in Windows, not KeePass. The installer may set the association?

      cheers, Paul

       
    • Nobody/Anonymous

      Actually you can create or remove the association in tools, options, setup, create/remove association. All withink keepass

       
      • Nobody/Anonymous

        So what im asking is where in the source do I find that code to look at to see how it is done ,

        Thanks in advance

         
    • Paul

      Paul - 2006-06-16

      Ah, yes. I forgot that bit.
      Try searching the source code for "association"?

      cheers, Paul

       
    • Dominik Reichl

      Dominik Reichl - 2006-06-16

      You can find it in the "PwSafe.cpp" file, functions
      BOOL CPwSafeApp::RegisterShellAssociation()
      and
      BOOL CPwSafeApp::UnregisterShellAssociation()

      Best regards
      Dominik

       
    • Nobody/Anonymous

      Thanks Dominik,

      Thats obviously what I was looking for, I didnt know where to begin and obviously i could search the code, but its like finding a needle in a hay stack

       

Log in to post a comment.

MongoDB Logo MongoDB