473,385 Members | 1,542 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

read process trace information

Greetings,

I hope this is an appropriate place to ask this. I have written a C# Windows Service that Traces important information and statistics. It is required for me to create a seperate Windows Forms application that can attach to this service and read in the trace information for display, so that a user can see what the service is doing, similar to VS.NET's debugger.

I'm at a loss for a good way to do this. For statistics I'm sure I could implement performance counters, but for messages and status, I'm not sure performance counters are entirely appropriate.

I could write the trace information to a text file, but a) the text file won't be able to be read because it's in use by the TraceListener b) the location of the log would have to be hardcoded or configured, which is sort of unattractive c) a system would have to be put in place to poll the log which is also sort of blah. I suppose I may not have a choice and just deal with doing it this way.

Does anyone have any suggestions of where to start?

Thanks in advance for any help.

Mike
Jul 21 '05 #1
0 1638

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Prince Kumar | last post by:
I joined a company recently and they have a java program which hangs (does nothing) after a while. This is no way consistent. It could succeed quite a few times and can fail a few other times....
2
by: Kevin | last post by:
Hi All, Can someone please tell me what the difference is between DEBUG and TRACE. From what I can see, they are two different classes, but with the same members? Whats the purpose of have two...
0
by: Antoine | last post by:
Can someone please tell me simply, if I include my PDB file with my dll, does that include line numbers on the deployed application If its being used at customer sites, in any trace stack error...
3
by: Bruno Paquette | last post by:
I have installed visual studio .net and now i started to write the first few examples from the 70-315 book by Kalani. It looks like all server side code that i put between <% %> doesnt process...
1
by: Patrick | last post by:
When Tracing in ASP.NET, the IIS process (on IIs5.1) is locking on the Trace file, and I can't read the trace file without restarting the IIS: Even the following does NOT work (how could I fix...
0
by: Mike G | last post by:
Greetings, I hope this is an appropriate place to ask this. I have written a C# Windows Service that Traces important information and statistics. It is required for me to create a seperate Windows...
0
by: =?Utf-8?B?R2lkaQ==?= | last post by:
Hi, I started a thread regarding this issue, but now i'm facing new problem, so i'm starting a new thread, hope it's ok... anyway, using my c# windows application, i'm excuting and exe file...
1
by: Alexander Wolff | last post by:
When asp.net trace is enabled in web.config, http://mywebserver/myApp/trace.axd list parameter/value pairs for each control in the HTML Form, ok (this is basic asp.net information and work for all...
2
by: gachsaran | last post by:
Hi I have some mp3 files and i want to write a program to read alle information regarding singers, name of song, and other technical info. and write them to my database. I need to read tags...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.