Click here to Skip to main content
15,909,205 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is it possible to share objects (Managed code c#) across applications? Pin
Diana Fernandez31-Jan-07 0:02
Diana Fernandez31-Jan-07 0:02 
GeneralRe: Is it possible to share objects (Managed code c#) across applications? Pin
Christian Graus31-Jan-07 0:09
protectorChristian Graus31-Jan-07 0:09 
GeneralRe: Is it possible to share objects (Managed code c#) across applications? Pin
Diana Fernandez31-Jan-07 2:01
Diana Fernandez31-Jan-07 2:01 
GeneralRe: Is it possible to share objects (Managed code c#) across applications? Pin
Christian Graus31-Jan-07 8:44
protectorChristian Graus31-Jan-07 8:44 
GeneralRe: Is it possible to share objects (Managed code c#) across applications? Pin
Diana Fernandez22-Feb-07 19:13
Diana Fernandez22-Feb-07 19:13 
AnswerRe: Is it possible to share objects (Managed code c#) across applications? Pin
Russell Jones30-Jan-07 22:11
Russell Jones30-Jan-07 22:11 
GeneralRe: Is it possible to share objects (Managed code c#) across applications? Pin
Diana Fernandez31-Jan-07 0:05
Diana Fernandez31-Jan-07 0:05 
QuestionReflecting an object like the PropertyGrid does Pin
Uwe Keim30-Jan-07 18:50
sitebuilderUwe Keim30-Jan-07 18:50 
When an exception is thrown in my application I use a PropertyGrid to dynamically show the exception to the user, allowing him to inspect all details.

I also log the exception to a log file (through LOG4NET).

Now I would like to be able to not only log the standard properties of the catched base Exception object but also any (nested) properties of derived exceptions (e.g. the Response property of a WebException and therein the ResponseUri property of that Response property).

Question: How can I do this in a "generic" way?

I already started doing some simple reflection but didn't manage to detect the type of the property and to decide whether to dig deeper or simple to call and output the ToString() method.

Any hints, please? Smile | :)

--
Try our Windows-based CMS: www.zeta-producer.com
Try our ticket helpdesk system: www.zeta-helpdesk.com
See me working: www.magerquark.com

AnswerRe: Reflecting an object like the PropertyGrid does Pin
Martin#30-Jan-07 23:07
Martin#30-Jan-07 23:07 
AnswerRe: Reflecting an object like the PropertyGrid does Pin
J. Dunlap31-Jan-07 1:32
J. Dunlap31-Jan-07 1:32 
QuestionCalling external application with arbitary input parameters Pin
Eyungwah30-Jan-07 18:33
Eyungwah30-Jan-07 18:33 
AnswerRe: Calling external application with arbitary input parameters Pin
Christian Graus30-Jan-07 18:37
protectorChristian Graus30-Jan-07 18:37 
AnswerRe: Calling external application with arbitary input parameters Pin
Tyler4530-Jan-07 18:48
Tyler4530-Jan-07 18:48 
AnswerRe: Calling external application with arbitary input parameters Pin
Martin#30-Jan-07 19:13
Martin#30-Jan-07 19:13 
GeneralRe: Calling external application with arbitary input parameters Pin
Eyungwah31-Jan-07 6:40
Eyungwah31-Jan-07 6:40 
QuestionRe: Calling external application with arbitary input parameters Pin
Eyungwah31-Jan-07 7:28
Eyungwah31-Jan-07 7:28 
AnswerRe: Calling external application with arbitary input parameters Pin
Martin#31-Jan-07 10:24
Martin#31-Jan-07 10:24 
QuestionRe: Calling external application with arbitary input parameters Pin
Eyungwah31-Jan-07 12:49
Eyungwah31-Jan-07 12:49 
AnswerRe: Calling external application with arbitary input parameters [modified] Pin
Martin#31-Jan-07 22:48
Martin#31-Jan-07 22:48 
Questionclear all values from text boxes while logging out Pin
Ankit Aneja30-Jan-07 18:07
Ankit Aneja30-Jan-07 18:07 
AnswerRe: clear all values from text boxes while logging out Pin
Ankit Aneja30-Jan-07 18:10
Ankit Aneja30-Jan-07 18:10 
GeneralRe: clear all values from text boxes while logging out Pin
Ankit Aneja30-Jan-07 18:35
Ankit Aneja30-Jan-07 18:35 
AnswerRe: clear all values from text boxes while logging out Pin
Christian Graus30-Jan-07 18:36
protectorChristian Graus30-Jan-07 18:36 
GeneralRe: clear all values from text boxes while logging out Pin
Ankit Aneja30-Jan-07 18:45
Ankit Aneja30-Jan-07 18:45 
AnswerRe: clear all values from text boxes while logging out Pin
Martin#30-Jan-07 19:21
Martin#30-Jan-07 19:21 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.