Page 1 of 6

Service Explorer Plugin

Posted: 28 Aug 2009, 14:33
by Mike12345
Service Explorer is a filesystem plugin which allows you to browse and configure installed services within Altap Salamander.

Usage:
After installation the plugin is accessible via the ChangeDrive Menu (ALT+F1/F2) and will show all installed services.
Panelview
Panelview
Usage002.png (12.97 KiB) Viewed 33137 times

Restrictions/Known Bugs:
- column sorting (sort by "Status", "Startup Type") is currently not supported

Any comments, suggestions or bug reports are welcome. :D

Update 2013-07-25:
This post now also contains the source code of the plugin based on SDK 2.55/VC 6.

Code: Select all

Version 0.0.10 (12.09.2009)
--------------------------
- missing contextmenu functionality for "delete" service - fixed
* "service is marked for deletion" errormessage

Version 0.0.9 (11.09.2009)
-------------------------
+ F8/DEL | FS_SERVICE_DELETE implemented
* "delete service" function moved from properties dialog to contextmenu
- if two service panels were active only the active panel was refreshed on a state change - fixed

Version 0.0.8 (08.09.2009)
-------------------------
+ new "delete service" function (use with caution!)
* changed tab order 
* Servicename is now selectable

Version 0.0.7 (08.09.2009)
-------------------------
* new default context menu entry "Properties" 

Version 0.0.6 (08.09.2009)
-------------------------
+ changing the startupmode is now supported
* RTL is now statically linked

Version 0.0.5 (07.09.2009)
-------------------------
+ new "Info" dialog
+ moved all strings to the lanugage dll
* removed the extension column
* doesn't need admin privileges anymore (at least for listing) 
- numerous smaller bugfixes (icons, infolinecontent,..)

Version 0.0.4 (29.08.2009)
-------------------------
+ new contextmenu entry "Open Service Control Manager"
- invalid string in the information line when selecting multiple files (@Jan)
- removed (hopefully) all debugmessages

Version 0.0.3 (28.08.2009)
-------------------------
+ integrated contextmenu functionality for start/stop/restart services
* changed filesystemname from "srv" to "svc"
* changed plugin directory from "SrvExp" to "svcexp" 

Version 0.0.2 (28.08.2009)
-------------------------
- fixed a debug "Error" message in the "About" dialog (thx @thomas)

Version 0.0.1 (28.08.2009)
-------------------------
First public release.

Legend
------
[*] Change
[-] Bugfix
[+] New feature, enhancement

Re: Service Explorer

Posted: 28 Aug 2009, 15:37
by Petr Solin
Many thanks for this new plugin! And sorry for only Czech documentation, unfortunately we have no power to translate it at least in near future.

Sorting custom columns is not supported, I have it on my to-do list pretty long, but I still have no idea when I add it. :oops:

Re: Service Explorer

Posted: 28 Aug 2009, 16:23
by thomas
Hi,

by testing this plugin I found a simple bug. If you are using the "About" function of Salamander for the installed plugins, you get an error.

Re: Service Explorer

Posted: 28 Aug 2009, 16:27
by Jan Rysavy
Mike, it's great, thank you! I will test it today.
Any chance to display (kill) running processes?

Re: Service Explorer

Posted: 28 Aug 2009, 16:55
by MartinS
Hi,

very nice plugin.

By testing on Vista I found, that when your AS is not running as Admin, you won't get any detail information. This is understandable - you should only take this into account when displaying the information - it shows some wrong values.

In the future I would expect that double clicking the service would open the Service properties...

Any chance to set up detailed view as default for this plugin?

Thanks

Re: Service Explorer

Posted: 28 Aug 2009, 16:58
by SelfMan
Sorry guys, I don't want to downplay the work done on this. Its great, but isnt ProcessExplorerfom SysInternals a better options for handling this stuff? You can even replace the Task Manager, so CTRL+SHIFT+ESC and pop you have Process Explorer running.

Re: Service Explorer

Posted: 28 Aug 2009, 17:15
by MartinS
SelfMan wrote:Sorry guys, I don't want to downplay the work done on this. Its great, but isnt ProcessExplorerfom SysInternals a better options for handling this stuff? You can even replace the Task Manager, so CTRL+SHIFT+ESC and pop you have Process Explorer running.
Sure, there are many AS plugins/functions that could be replaced by better alternatives. But for me, I would use this plugin. I only need to check if the service is runnig, start, stop or see properties. Even the creation of file list from selected services by AS (Ctrl-M) is useful for me. It is more comfortable for me to see this inside AS with my configured colors then start new different looking window.

Let us suprise what functionality Mike could add...

Re: Service Explorer

Posted: 28 Aug 2009, 17:58
by Mike12345
@Petr:
Thanks for clarification on column sorting.
The SDK is quite readable with the help of Google Translate. :D

@thomas:
Thanks for your feedback. This is fixed in the updated version (0.0.2).

@martins:
Thanks for reporting. I will look into this.

Actually this plugin is planned as "Windows Service Explorer" only so killing/listing processes is beyond scope of this plugin.
Nevertheless i will try to implement parts of the wishlist from Joakim Skoglund http://forum.altap.cz/viewtopic.php?f=14&t=2700 after
this plugin is finished and functional. So a "Process Explorer" is something which is proably on the "roadmap". :mrgreen:

Re: Service Explorer

Posted: 28 Aug 2009, 20:10
by Jan Rysavy
I like better quick search support in Salamander panel, option to change items order using familiar keyboard shortcut. Also chance to bookmark path for example in Windows Registry, etc.

Re: Service Explorer

Posted: 28 Aug 2009, 21:22
by thomas
@mike12345, thanks for the fast bug fixing. Sorry, that I'm so fussy but there is a problem with the context menu.
Some plugins has a context menu, if not then this function is disabled. But your plugin opens a unnecessary information dialog.

Re: Service Explorer

Posted: 28 Aug 2009, 21:29
by Mike12345
Hello Thomas,

the contextmenu is currently disabled because the functionality in this version is not implemented yet.
This is the part I'm currently working on. The next version will enable the menu's. Stay tuned. :)

Re: Service Explorer

Posted: 28 Aug 2009, 23:14
by Mike12345
Plugin is updated. Download from first post. :)

Code: Select all

Version 0.0.3 (28.08.2009)
-------------------------
+ integrated contextmenu functionality for start/stop/restart services
* changed filesystemname from "srv" to "svc"
* changed plugin directory from "SrvExp" to "svcexp"

Re: Service Explorer Plugin

Posted: 29 Aug 2009, 13:18
by Jan Rysavy
It works fine :)

Some small issues: while selecting multiple items in panel, the invalid string is displayed in Information Line:
D:\svc_msgbox.png
D:\svc_msgbox.png
svc_infoline.png (30.36 KiB) Viewed 32939 times
When your plugin is active in panel and some file is created on disk, the following message box is displayed:
svc_msgbox.png
svc_msgbox.png (7.39 KiB) Viewed 32940 times
The Properties item from context menu doesn't work on my system (Windows XP). Could you also open this
dialog on Enter, as standard Windows Services windows does?

Re: Service Explorer Plugin

Posted: 29 Aug 2009, 17:38
by Mike12345
Thanks for your feedback, Jan. A new version is uploaded. :D
The property (Info) dialog is planned for the next version.

Code: Select all

Version 0.0.4 (29.04.2009)
-------------------------
+ new contextmenu entry "Open Service Control Manager"
- invalid string in the information line when selecting multiple files (@Jan)
- removed (hopefully) all debugmessages

Re: Service Explorer Plugin

Posted: 02 Sep 2009, 04:08
by svyr
Salamander 2.5.2
errr, seems like it's broken. (all columns display boot and or nonsense)
furthermore, all of the rh mouse button context menu is grayed out