Posted by: stoyanov.st | Date: 05/22/2017 09:16 | IP: IP Logged
EditWithPSPad - error
PSPad 5.0.0 (227)
Version 1511 (OS Build 10586.916)
When PSPad is integrated into OS using DLL library
Compatibility flag is set to RUNASADMIN
The error appear.
Posted by: pspad | Date: 05/22/2017 09:53 | IP: IP Logged
Sorry, but your report down't give any useful information how to solve your problem.
Can I ask, why do you set run as admin compatibility? There is no reason for it.
Run PSPad as user, not as admin, go to program settings / System integration, change integration to registry, confirm, change it back to DLL, confirm.
Do the same when PSPad was started as admin.
It will fix association in registry for start PSpad from context menu.
Edited 1 time(s). Last edit at 05/22/2017 09:58 by pspad.
Posted by: stoyanov.st | Date: 05/22/2017 10:22 | IP: IP Logged
The reason is simple, avoiding some more clicks and actions - whenever I'm editing some .ini file inside Program files folder (the risk making such dangerous action is clear), or for example editing system hosts file, additional permissions are required and you have to save your file in other folder than to copy it back to the source folder, this is what I'm trying to avoid.
And yes I forgot mentioning it's via context menu.
I followed your instructions to reset the integration when the compatibility flag was set to runasadmin, no change.
Whenever integration is made via registry, it all OK, except icons in context menu
Edited 1 time(s). Last edit at 05/22/2017 10:24 by stoyanov.st.
Posted by: stoyanov.st | Date: 05/24/2017 08:24 | IP: IP Logged
As a workaround I found that solution for suitable:
Which appears to work within Program Files, but not with hosts file
Still under investigation.
Edited 1 time(s). Last edit at 05/24/2017 08:32 by stoyanov.st.
Posted by: stoyanov.st | Date: 06/05/2017 12:39 | IP: IP Logged
Last satisfying working configuration for me is to integrate PSPad via registry and add icons via default registry entries, i.e. in
add new REG_EXPAND_SZ with name icon and value:
Same for other two entries PSPad HEX and PSPad TextDiff.
This I believe can be easily integrated into the program it self.
And that way it is working with compatibility flag RUNASADMIN. No errors, no prompts.
Source for icons resolution: stackoverflow.com