Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

how to open a service properties dialog

I would like to add a button to my application ( frontend to a service) that will open the service properties dialog (like in services mmc snapin ) for my service.

There are numerous examples to open file properties, but that is not what i want. i dont know where to start.

like image 639
Lawrence Ward Avatar asked Nov 26 '12 13:11

Lawrence Ward


People also ask

How do I get the Properties dialog box?

To open a properties dialog box where you can add or edit all the properties at once and view document information, click Properties at the top of the page, and then click Advanced Properties.

How is the Display Properties dialog box opened?

Open the Display Properties dialog box (right-click the desktop and select Properties).


1 Answers

Based off of the services.msc, the page comes from filemgmt.dll and is called ServicePageGeneral. While the COM components are registered, I cannot find any documentation for the CLSID in question, nor for any of the other strings present in filemgmt.dll.

This does not rule out the possibility that there exists an established API, or a command line option to show the dialog, but I certainly can't find one.

Further substantiating the case that the dialog is not reusable, Process Explorer and SQL Server Configuration Manager both re-implement the dialog, rather than showing the services.msc version.

Related: How do I open properties box for individual services from command line or link?

like image 83
Mitch Avatar answered Sep 22 '22 18:09

Mitch