Service Explorer Plugin

Support for developers of new plugins, third-party plugin announcements and discussions.
Raptor

Re: Service Explorer Plugin

Post by Raptor »

Hi, just found one thing.
When service is disabled, there is no active "Start" button in Service manager's dialog window. But in your plugit button is enabled. But it doesn't work. It throws error, because service is disabled and must be switched to Manual mode first. Right-click menu is ok.
Service manager
Service manager
manager.png (35.55 KiB) Viewed 15286 times
Plugin
Plugin
plugin.png (27.32 KiB) Viewed 15287 times
Mike12345
Plugin Developer
Plugin Developer
Posts: 43
Joined: 03 May 2006, 00:11
Location: Germany

Re: Service Explorer Plugin

Post by Mike12345 »

Thank you. Will fix that in the next version.
User avatar
vld
Posts: 174
Joined: 06 Feb 2009, 21:21

Re: Service Explorer Plugin

Post by vld »

Just tested this in v2.5 and won't install
This plugin is freeware and supports Altap Salamander Version 2.50, 2.51 and 2.52.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1111
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Service Explorer Plugin

Post by Petr Solin »

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 executeable".

Do you have some plans with Help button in Properties dialog? Maybe the best solution would be to hide it, or not? ;-)
Jan Rysavy
ALTAP Staff
ALTAP Staff
Posts: 5197
Joined: 08 Dec 2005, 06:34
Location: Novy Bor, Czech Republic
Contact:

Re: Service Explorer Plugin

Post by Jan Rysavy »

Petr Solin wrote:BTW, you have typo in Properties dialog: "Path to executeable".
Already reported, lost in posts ;-)
http://forum.altap.cz/viewtopic.php?p=17003#p17003
Mike12345
Plugin Developer
Plugin Developer
Posts: 43
Joined: 03 May 2006, 00:11
Location: Germany

Re: Service Explorer Plugin

Post by Mike12345 »

Thanks @all for reporting.
Will be fixed in next version. 8)
thomas
Translator
Translator
Posts: 108
Joined: 29 Apr 2007, 21:57
Location: Germany

Re: Service Explorer Plugin

Post by thomas »

There is an issue with the recognition of the language file since version 0.09. The plugin will not be loaded if you use an other language as english. You can rename the English language file or test it with the German language package.
error.png
error.png (8.47 KiB) Viewed 15155 times
The older versions run very well, I hope it's only a simple problem. :)
Mike12345
Plugin Developer
Plugin Developer
Posts: 43
Joined: 03 May 2006, 00:11
Location: Germany

Re: Service Explorer Plugin

Post by Mike12345 »

Thanks for reporting. :shock:
I will try to reproduce this.
Mike12345
Plugin Developer
Plugin Developer
Posts: 43
Joined: 03 May 2006, 00:11
Location: Germany

Re: Service Explorer Plugin

Post by Mike12345 »

Can't reproduce. Renamed the "english.slg" from the 0.10 version to "german.slg" - changed AS Language to german and it worked.
Maybe you use a older (translated) version of the "german.slg" ?
thomas
Translator
Translator
Posts: 108
Joined: 29 Apr 2007, 21:57
Location: Germany

Re: Service Explorer Plugin

Post by thomas »

You have to change only the main language file of AS! If the plugin was installed under English language it won't work anymore and if you try to add "Windows services" as a new plugin, you can't install this plugin.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1111
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Service Explorer Plugin

Post by Petr Solin »

I can confirm this problem. Just go to plugins\svcexp\lang and rename english.slg to german.slg (lang directory will contain only german.slg), then run Salamander (in English), remove your plugin from Plugins Manager, and then try to add your plugin. It displays that messageboxes.

I have debugged this and problem is that your english.slg is missing SLGAuthor, SLGEmail, SLGWeb, and SLGComment in VERSIONINFO resource. These strings are required, if I understand it well, you have removed them between versions 0.0.9 and 0.0.10.
Mike12345
Plugin Developer
Plugin Developer
Posts: 43
Joined: 03 May 2006, 00:11
Location: Germany

Re: Service Explorer Plugin

Post by Mike12345 »

Weird. Must be a conflict with some resource/include files or something.
Don't remember any substantial change in the resource files since 0.9. :?
Thanks for digging that deep, Petr. Will try to fix that in the next version.

Thomas has reported the same problem also exists in the WinSCP Plugin.
Maybe you have time to look at this plugin also.
Petr Solin
ALTAP Staff
ALTAP Staff
Posts: 1111
Joined: 08 Dec 2005, 09:13
Location: Novy Bor, Czech Republic
Contact:

Re: Service Explorer Plugin

Post by Petr Solin »

See PLUGINS\SHARED\versinfo.rc with defined _LANG macro.

Martin Prikryl will build German/Czech version of language module for WinSCP, then I'll try to check it for this problem, thanks for info.
xm
Posts: 67
Joined: 11 Dec 2007, 11:11

Re: Service Explorer Plugin

Post by xm »

Is it possible to display another (sortable) column with the "real" service name?
(by the "real" I mean e.g. the "dot3svc" for the "Wired AutoConfig" service etc...)
Thanks.
azaz44
Posts: 25
Joined: 03 Jan 2012, 13:04

Re: Service Explorer Plugin

Post by azaz44 »

Is there any update or replacement that would allow to control services in AS 64-bit beta?
Post Reply