|
-
May 27th, 2006, 01:16 PM
#1
Thread Starter
Frenzied Member
[2005] Windows Service
I am working with a tutorial that I found on windows services. I am able to set properties of the service using OnCustomCommand from an external app. So for example in this tutorial I created a timer, and I can change the interval of the timer in the service from an external app. Is it possible from the external app to get information from the service. In this case what the interval of the timer is set to?
-
May 27th, 2006, 03:53 PM
#2
Re: [2005] Windows Service
Yes it's possible to get information from a Windows service.
for better examples goto msdn.microsoft.com and look under 101 VB2005 code samples
In this case what the interval of the timer is set to?
What do you mean by that?
Last edited by ComputerJy; May 27th, 2006 at 04:11 PM.
Reason: incorrect quote
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
-
May 27th, 2006, 04:03 PM
#3
Thread Starter
Frenzied Member
Re: [2005] Windows Service
In this case the interval of the timer
I was just using that to stay consistent with my example I'm working on. I have an app that can set the interval of a timer that is in the service, but I can't tell what that tier is set to.
I tried looking under 2003 101 samples, but that just has how to get the status of the timer i.e. Start, Stop. Do you have an idea what I would search for. I haven't been able to find what I'm lookign for.
-
May 27th, 2006, 04:16 PM
#4
Re: [2005] Windows Service
I'm not really familiar with windows services but you can store the value in a database or in the "windows events", I don't remember how to do this
"I'm not normally a praying man, but if you're up there, save me... Superman!" - Homer Simpson
My Blog
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|