Jump to content
Xtreme .Net Talk

Mercestes

Members
  • Posts

    1
  • Joined

  • Last visited

Mercestes's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. I am writing a windows service that is basically going to monitor a telephone switch and process the call records. Since it is a windows service, it will be running in the background. What I am trying to do is write a seperate program, or component, or class, or whatever, that will basically pull debugging messages out of the windows service and display them in incremental lines. I've been trying to do this as a console program so it will output the lines to a dos prompt, but a windows form textbox would work fine. I also need an event, or method, to let it know when to output this line. I am using a system.timer now to control the "heartbeat" of the program, however, during long backed up reads the timer gets out of sync, which is fine, honestly, I only want it to heartbeat on idle times. Somehow, this seperate program will have to know when to output the line from the phone switch program either by the same tick event in the phone switch program, by some artifically coded event, or by a change in the string variable I am trying to pass to it. Unfortunately, I seem to be a little lost on how to pass this information from my main windows service program to another windows form program or console program. I'm also trying to set it up so that I can close this output dialog and reopen it at will. A console program would work perfectly with a console.writeline method if I could figure out how to pass it the information I need to pass to it. I appreciate any help/advice/input you can offer. --Mercestes
×
×
  • Create New...