Error Log of third party App

Reply

Join Date: May 2009
Posts: 26
Reputation: havejeet is an unknown quantity at this point 
Solved Threads: 0
havejeet havejeet is offline Offline
Light Poster

Error Log of third party App

 
0
  #1
May 25th, 2009
Hi all,

In my windows application written in C#, I am calling one windows utility...but it is likely to fail the execution of that windows utility execution...How do I log the error of that utility into my C# application?

regards
Jeet
Reply With Quote Quick reply to this message  
Join Date: Jan 2008
Posts: 2,058
Reputation: serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light serkan sendur is a glorious beacon of light 
Solved Threads: 124
Featured Poster
serkan sendur serkan sendur is offline Offline
Banned

Re: Error Log of third party App

 
0
  #2
May 25th, 2009
are you able to use try catch block where you use that utility?
Reply With Quote Quick reply to this message  
Join Date: May 2009
Posts: 26
Reputation: havejeet is an unknown quantity at this point 
Solved Threads: 0
havejeet havejeet is offline Offline
Light Poster

Re: Error Log of third party App

 
0
  #3
May 26th, 2009
Originally Posted by serkan sendur View Post
are you able to use try catch block where you use that utility?
Yes, I can try-catch....
but the problem is that error occurred by windows utility is not being trapped..... and which is right too....as error is not from my application...

e.g. my utility requires network connection, but if the connection is not there - utility will get failed...but My application does not know about that...This is just one possibility of an error...

Thanks
Jeet
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C# Forum


Views: 354 | Replies: 2
Thread Tools Search this Thread



Tag cloud for C#
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2010 DaniWeb® LLC