Grok,
Well, you could create a Microsoft Management Console snap in and then
modify the settings from there. Changing the settings for the config file
doesn't warrant an MMC plug in, IMO, as those plug-ins are meant to really
show more real-time information. If you want to do that, then you will have
to create a remoting endpoing of some kind in your service (using remoting,
WCF, or some other technology/protocol) and then communicate with it from
your plug-in/stand alone program.
--
- Nicholas Paldino [.NET/C# MVP]
-
mv*@spam.guard.caspershouse.com
"Grok" <gr**@valhallalegends.comwrote in message
news:3u********************************@4ax.com...
On Sun, 16 Dec 2007 15:26:17 -0500, "Nicholas Paldino [.NET/C# MVP]"
<mv*@spam.guard.caspershouse.comwrote:
>>Grok,
2) There isn't a way to do this from .NET. You can not export functions
from a DLL in .NET, which is what a control panel applet needs. You could
create an unmanaged DLL in an unmanaged language, and then call into a
.NET
assembly though.
(I accept that control panel is 'out', and only brought it up as an
example)
Given that, what are people doing in .NET to create user GUI to change
settings for a service? Surely, writing a service and then providing
GUI access to its configurable values is not uncommon.
I'm hesitant to write a simple windows app that will show up on their
start menu as more clutter. Is there another container? Just want to
do the right thing and conform to how the community is doing it.