Windows Vista Forums
Vista Forums Home Join Vista Forums Windows 7 Forum Vista Tutorials Tags
Welcome to Windows Vista Forums. Our forum is dedicated to helping you find solutions with any problems, errors or issues you are experiencing with Windows Vista. The Vista forum also covers news and updates and has an extensive Windows Vista tutorial section that covers a wide range of tips and tricks.

Go Back   Vista Forums > Misc Newsgroups > .NET General

Vista - Read properties of Windows Service from Windows Forms App

Reply
 
Old 04-16-2008   #1 (permalink)
Nemisis


 
 

Read properties of Windows Service from Windows Forms App

Hi everyone,

I believe this is possible as i think this is how anti-virus works, i
have created a windows service with a couple public readonly
properties and i would like to read these properties from a Windows
Forms application?


Is this possible?


I have made a windows service that reads and sends emails from a
message queue using a timer control. But because people log on and
log off of our server, i cannot have it as a windows forms
application, as it closes when you log off.


Can anyone point me in the right direction?? Thanks in advance

My System SpecsSystem Spec
Old 04-16-2008   #2 (permalink)
Henning Krause [MVP - Exchange]


 
 

Re: Read properties of Windows Service from Windows Forms App

Hello,

you need some sort of inter process communcation. Look into WCF or Remoting
for this.

Kind regards,
Henning Krause

"Nemisis" <darrens2005@xxxxxx> wrote in message
news:1d00a95d-93d8-46e1-8c2a-16561ce29566@xxxxxx
Quote:

> Hi everyone,
>
> I believe this is possible as i think this is how anti-virus works, i
> have created a windows service with a couple public readonly
> properties and i would like to read these properties from a Windows
> Forms application?
>
>
> Is this possible?
>
>
> I have made a windows service that reads and sends emails from a
> message queue using a timer control. But because people log on and
> log off of our server, i cannot have it as a windows forms
> application, as it closes when you log off.
>
>
> Can anyone point me in the right direction?? Thanks in advance
My System SpecsSystem Spec
Reply

Thread Tools


Similar Threads
Thread Forum
adding a new tab into properties dialog of my Incoming Method in the Microsoft Windows Fax Service. Vista print fax & scan
Read properties in windows Mail Vista mail
simulate continuous forms & subforms in a windows forms application .NET General


Vista Forums is an independent web site and has not been authorized,
sponsored, or otherwise approved by Microsoft Corporation.
"Windows Vista", the Start Orb, and related materials are trademarks of Microsoft Corp.
© Designer Media Ltd

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46