Click here to Skip to main content
15,885,216 members
Home / Discussions / C#
   

C#

 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
AspDotNetDev20-Apr-11 9:25
protectorAspDotNetDev20-Apr-11 9:25 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
BobJanova20-Apr-11 23:32
BobJanova20-Apr-11 23:32 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 3:36
DaleDaleM19-May-11 3:36 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Luc Pattyn20-Apr-11 12:19
sitebuilderLuc Pattyn20-Apr-11 12:19 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 3:39
DaleDaleM19-May-11 3:39 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Luc Pattyn19-May-11 3:57
sitebuilderLuc Pattyn19-May-11 3:57 
GeneralRe: Anyone know if this is possible and, if so, how to go about it? Pin
DaleDaleM19-May-11 4:10
DaleDaleM19-May-11 4:10 
AnswerRe: Anyone know if this is possible and, if so, how to go about it? Pin
Luc Pattyn19-May-11 4:29
sitebuilderLuc Pattyn19-May-11 4:29 
OK, so if the number of related methods (such as ErrorOccurred) is rather small, you could still make a list ("intermediateCallers") of them; you could do this either manually, or by generating a list of all methods calling TheMethod with a variable error number, not a constant one (you would have to make sure the list is good!).

You could then search all code for calls to either TheMethod or any method in intermediateCallers; parse the error number (I know, the method signature may vary, you have to teach your utility that); if it is a variable one, hope or check you are inside an intermediateCallers method; if it is a constant, check it in your Dictionary.

Smile | :)
Luc Pattyn [Forum Guidelines] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, improve readability, and make me actually look at the code.

QuestionVisual C# 2010 Express Pin
arkiboys20-Apr-11 5:10
arkiboys20-Apr-11 5:10 
AnswerRe: Visual C# 2010 Express Pin
#realJSOP20-Apr-11 5:23
mve#realJSOP20-Apr-11 5:23 
GeneralRe: Visual C# 2010 Express Pin
arkiboys20-Apr-11 11:50
arkiboys20-Apr-11 11:50 
Questionsaving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
DivyaReddyM20-Apr-11 2:47
DivyaReddyM20-Apr-11 2:47 
AnswerRe: saving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
BobJanova20-Apr-11 4:08
BobJanova20-Apr-11 4:08 
AnswerRe: saving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
Blue_Boy20-Apr-11 4:13
Blue_Boy20-Apr-11 4:13 
QuestionRe: saving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
ku_do_thien20-Apr-11 17:50
ku_do_thien20-Apr-11 17:50 
AnswerRe: saving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
Blue_Boy20-Apr-11 21:47
Blue_Boy20-Apr-11 21:47 
AnswerRe: saving items in the Listbox after adding /moving items from other Listbox/removing etc Pin
Tarun.K.S20-Apr-11 22:17
Tarun.K.S20-Apr-11 22:17 
QuestionUser names can contain only alphabates Pin
DivyaReddyM20-Apr-11 2:37
DivyaReddyM20-Apr-11 2:37 
AnswerRe: User names can contain only alphabates Pin
Wayne Gaylard20-Apr-11 2:51
professionalWayne Gaylard20-Apr-11 2:51 
AnswerRe: User names can contain only alphabates Pin
Tarun.K.S20-Apr-11 3:48
Tarun.K.S20-Apr-11 3:48 
GeneralRe: User names can contain only alphabates Pin
OriginalGriff20-Apr-11 5:28
mveOriginalGriff20-Apr-11 5:28 
GeneralRe: User names can contain only alphabates Pin
Tarun.K.S20-Apr-11 7:21
Tarun.K.S20-Apr-11 7:21 
AnswerRe: User names can contain only alphabates Pin
DaveyM6920-Apr-11 7:11
professionalDaveyM6920-Apr-11 7:11 
Questionget an indication when a control added to a pnel in CF 3.5 Pin
prasadbuddhika20-Apr-11 1:07
prasadbuddhika20-Apr-11 1:07 
AnswerRe: get an indication when a control added to a pnel in CF 3.5 Pin
Luc Pattyn20-Apr-11 1:13
sitebuilderLuc Pattyn20-Apr-11 1:13 

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.