Mike12345 wrote:Instead i thought asking for confirmation for each and every service would be a saver way.
OK, it sounds reasonable.
I have tried to delete two services. I selected them, click Delete from context menu, confirmed first service, it was deleted and that's all. Second service survived, please check it.
Delete from context menu has different confirmation messagebox than Delete (e.g. using Delete key), I think there should be no difference. Both Deletes should execute the same code. Maybe you should add MSGBOXEX_ESCAPEENABLED to standard MB_YESNO (when Escape is pressed, it returns IDNO).
Error message when service is already deleted (marked for deletion) and I try to Start it (you should disable Start button in Properties dialog too, context menu is already disabled) (I have used Ctrl+C in messagebox to copy all texts):
---------------------------
Service Explorer
---------------------------
The operation you attempted was not successfull.
Errorcode 1058: Unknown.
---------------------------
[OK]
---------------------------
When I try to Delete it (message is OK):
---------------------------
Service Explorer
---------------------------
The operation you attempted was not successfull.
Errorcode 1072: The service is marked for deletion.
---------------------------
[OK]
---------------------------
When I try to change Startup type from Properties dialog (same number but message is not OK):
---------------------------
Service Explorer
---------------------------
The operation you attempted was not successfull.
Errorcode 1072: Unknown.
---------------------------
[OK]
---------------------------
BTW, you have typo in Properties dialog: "Path to execut
eable".
Do you have some plans with Help button in Properties dialog? Maybe the best solution would be to hide it, or not?