On Oct 18, 3:39 pm, SeanMac <Sean...@discus sions.microsoft .comwrote:
How do I access public properties in a windows service, from a desktop
application written in vb 2005?
--
Sean McIntire
You can't directly access properties of a service. If you need to
support communication with a service, then you need to implement some
sort of interprocess communication. Since your using .NET - remoting
or WCF would be a good choice.
If all you need is to send commands (no responses), it is possible to
use the ServiceControll er class to send custom integer commands to a
service. In your service class, you would override servicebases
OnCustomCommand method.
Comment