By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,747 Members | 1,352 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,747 IT Pros & Developers. It's quick & easy.

Monitoring events in a windows service, from a forms app

P: n/a
Hi... I'm messing about with windows services in vb.net 2005 and have the
following question.

I have a service which has a timer in it, which fires every minute -
Textbook stuff
I have a windows forms app which I would like to respond to the service
firing an event

For example. Service's timer triggers, and windows forms app then displays a
message saying "Event Fired"

Is this obvious and easy to do ... can't help feeling I have missed
something.

Or, does this need remoting/wcf to achieve ?

Cheers
Stu

Oct 19 '07 #1
Share this Question
Share on Google+
1 Reply


P: n/a
You need remoting / WCF or a sql server and notification services i use
this in my current project as i wanted this to function at all times (
without Admin intervention to open the needed ports )

my Client just subscribes to a dataset where the windows service is writing
its events in , on every event the client is notified by notification
services and can thus synchronize the messages that were written

if you can not set up notfication services there is also the posibility to
poll the database once in a while to see if there are changes

HTH

Michel

"Stuart Parker" <me@here.comschreef in bericht
news:AA**********************************@microsof t.com...
Hi... I'm messing about with windows services in vb.net 2005 and have the
following question.

I have a service which has a timer in it, which fires every minute -
Textbook stuff
I have a windows forms app which I would like to respond to the service
firing an event

For example. Service's timer triggers, and windows forms app then displays
a message saying "Event Fired"

Is this obvious and easy to do ... can't help feeling I have missed
something.

Or, does this need remoting/wcf to achieve ?

Cheers
Stu

Oct 19 '07 #2

This discussion thread is closed

Replies have been disabled for this discussion.