Results 1 to 4 of 4

Thread: [2005] Windows Service

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    [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?
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  2. #2
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Jul 2005
    Posts
    1,521

    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.
    Visual Studio Team Edition 2005
    GDI+ Links: Bob Powell VB.Net Heaven
    API Links: All API Pinvoke.Net
    VB6 to VB.Net: Visual Basic 6 to .NET Function Equivalents (Thread)

  4. #4
    Arabic Poster ComputerJy's Avatar
    Join Date
    Nov 2005
    Location
    Happily misplaced
    Posts
    2,513

    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
  •  



Click Here to Expand Forum to Full Width