473,387 Members | 1,453 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,387 software developers and data experts.

Listening to traces exhibited by other application

Hi I want to listen to traces exhibited by other
applications. Can some one help me and let me know how to
do it?

Can TextWriterTraceListener class be used from outside
application to listen to traces?

Thanks,
Vinay
Nov 15 '05 #1
4 1811
Hi Vinay,

Check DebugView utility:
http://www.sysinternals.com/ntw2k/fr...ebugview.shtml

--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com

"Vinay" <an*******@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl...
Hi I want to listen to traces exhibited by other
applications. Can some one help me and let me know how to
do it?

Can TextWriterTraceListener class be used from outside
application to listen to traces?

Thanks,
Vinay

Nov 15 '05 #2
Hi Miha,
I want to do it programatically using C#. Otherwise
logman also comes with Windows XP which also logs traces.
Is it possible using C#.(specifically class like
TextWriterTraceListener)

Thanks,
Vinay
-----Original Message-----
Hi Vinay,

Check DebugView utility:
http://www.sysinternals.com/ntw2k/fr...debugview.shtm l
--
Miha Markic - RightHand .NET consulting & software developmentmiha at rthand com
www.rthand.com

"Vinay" <an*******@discussions.microsoft.com> wrote in messagenews:08****************************@phx.gbl...
Hi I want to listen to traces exhibited by other
applications. Can some one help me and let me know how to do it?

Can TextWriterTraceListener class be used from outside
application to listen to traces?

Thanks,
Vinay

.

Nov 15 '05 #3
Hi,

"Vinay" <an*******@discussions.microsoft.com> wrote in message
news:02****************************@phx.gbl...
Hi Miha,
I want to do it programatically using C#.
Ah, I see.
I guess you'll have to resort to interop to catch outputdebug api.
Other than that, I don't think that trace produces any other well known
messages.

Otherwise logman also comes with Windows XP which also logs traces.
Is it possible using C#.(specifically class like
TextWriterTraceListener)


--
Miha Markic - RightHand .NET consulting & software development
miha at rthand com
www.rthand.com
Nov 15 '05 #4
I don't believe the framework has any built in
cross-AppDomain-trace-listeners...

However, one could inherit from the base TraceWriterListener (sp?) and have
it write to a certain network socket and have a corresponding listener that
would connect to the socket and output all Tracing messages from the
socket...

Probably another way to do it via the built-in Remoting framework too, not
exactly sure how you'd go about it...

HTH
--
Eric Newton
C#/ASP Application Developer
http://ensoft-software.com/
er**@cc.ensoft-software.com [remove the first "CC."]

"Vinay" <an*******@discussions.microsoft.com> wrote in message
news:08****************************@phx.gbl...
Hi I want to listen to traces exhibited by other
applications. Can some one help me and let me know how to
do it?

Can TextWriterTraceListener class be used from outside
application to listen to traces?

Thanks,
Vinay

Nov 15 '05 #5

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

Similar topics

0
by: Jacek | last post by:
Hi If it is wrong newsgroup, please let me know where to find the answer. I am trying to get item text form ListView (there are few items and 5 columns) from other application (application written...
4
by: Marcel Hug | last post by:
Hello NG ! I would like to test, if a file in my subtree is allready in use by an other application. Do anybody know how to get this information ? It is possible to get this information ? ...
0
by: mukundis | last post by:
My basic aim is to Hide some application window using my application. In short I am trying to build an application which is similar to http://www.eusing.com/hidewindows/bosskey.htm So how can...
2
by: shalender verma | last post by:
I am using VB6. I created a small project. I Want that i can activate my running project(minimized and appearing at the task bar) by pressing any code while working in any other application....
0
by: CLarkou | last post by:
I have a program in Access 2003. I use DDE commands for sending data to excel and setting up the page setup. on 2 machines the error "error 286: the other application in the DDE conversation...
0
by: Geoff Wedig | last post by:
Is it possible to create a DLL (pr on unix a .a, .so, etc) from python code, perhaps using freeze or some other application? Freeze seems to assume that it's creating the main program body, but I...
4
snowwwolf
by: snowwwolf | last post by:
Hi all, I want to start other application process from my project. by sample, i want to become like that ( i have a button in my web form, when click it, the adobe reader will be open.) Let me...
1
by: Jean Stachler | last post by:
We have a VB app that is set off automatically when a file exists in a certain directory. The file contains a listing of part numbers which the program reads and than retrieves drawings which are in...
1
by: jchau | last post by:
Is anyone has any idea what i need to do if i would like to integrate the IIS with other application server, where the IIS will serves as a front end web server and forward the request to the...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
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:
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...

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.