Paul, The problem is that the message doesn't show any file name, only that a file could not be opened, and KeePass shortcut doesn't have any arguments. What I investigated is that this message does appear when I start a browser where the ChromeIPass extension is installed and this extension tries to connect to KeePass on start while none database is already opened in KeePass at this time. If I open any database manually this error doesn't appear when I use that extension in the browser.
There is no DB file specified in keepass's startup cmd line, I just tick the 'Load on windows start' checkbox in its options. Also, if I manually restart it after Windows start that error does not appear again. Note that the 'Load last previously used DB file' isn't ticked as it bring the unneeded login dialog after start while I don't need my passwords yet. Also, in KeePass settings file (user\appdata\Roaming\KeePass) there is the last used file xml node and its Path subnode is null: <LastUsedFile>...
No luck with filling LastUsedFile path, same error appeared.
Is there any other reason for raising this error on keepass start? I'm loading my pw file from a local(not network) folder, the "Remember and auto open last used database on startup" (options\advanced) checkbox is not ticked, KeePass is loading on Windows 10 start but still show the "specified file could not be found" error on each start. The further opening of that file via File\Open recent is opening that file w/o problems. That error message just boring. Win10 x64, KeePass 2.36
Thank you, Dominik, now I don't need to recompile each new version.
No problem, attached, it is v2.33. It is not changed in any way, but I can't prove...
For those who don't want to lock the KP when Escape is pressed, in the sources\KeePass\Forms\MainForm_Functions.cs\bool...
Sorry.