Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / October 2007

Tip: Looking for answers? Try searching our database.

Monitoring events in a windows service, from a forms app

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Stuart Parker - 19 Oct 2007 13:52 GMT
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
Michel Posseth  [MCP] - 19 Oct 2007 19:18 GMT
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

> Hi... I'm messing about with windows services in vb.net 2005 and have the
> following question.
[quoted text clipped - 14 lines]
> Cheers
> Stu

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.