Click here to Skip to main content
15,889,879 members
Home / Discussions / C#
   

C#

 
AnswerRe: Dataset format inconsistency. Pin
kabeervh8-Aug-07 1:05
kabeervh8-Aug-07 1:05 
QuestionHow i can save a form and send it through mail. Pin
sundeep.A7-Aug-07 20:25
sundeep.A7-Aug-07 20:25 
AnswerRe: How i can save a form and send it through mail. Pin
kabeervh8-Aug-07 1:07
kabeervh8-Aug-07 1:07 
QuestionHow can i declare a global variable which can be used in the multiple projects Pin
nicolus7-Aug-07 20:22
nicolus7-Aug-07 20:22 
AnswerRe: How can i declare a global variable which can be used in the multiple projects Pin
Hessam Jalali7-Aug-07 21:11
Hessam Jalali7-Aug-07 21:11 
AnswerRe: How can i declare a global variable which can be used in the multiple projects Pin
Urs Enzler7-Aug-07 22:24
Urs Enzler7-Aug-07 22:24 
QuestionGetting the Name of the Method Which Invoked the Current Method Pin
vvijaykrishna7-Aug-07 20:10
vvijaykrishna7-Aug-07 20:10 
AnswerRe: Getting the Name of the Method Which Invoked the Current Method Pin
originSH7-Aug-07 22:53
originSH7-Aug-07 22:53 
#region GetCallingStackFrame
[MethodImpl(MethodImplOptions.NoInlining)]
public static StackFrame GetCallingStackFrame()
{
return new StackFrame(2, true);
}
#endregion

this method will return the calling method of the calling method hehe

To put that a bit more clearly:

MethodA calls MethodB.
MethodB calls GetCallingStackFrame.
GetCallingStackFrame returns the stack frame for MethodA calling MethodB.

this code will return the MethodBase for the stack frame and so get the info about the method.
StackFrame callingStackFrame = GetCallingStackFrame();
MethodBase callingMethodBase = callingStackFrame.GetMethod();
QuestionC# Colorizer for HTML Code Pin
Michael Sync7-Aug-07 20:02
Michael Sync7-Aug-07 20:02 
AnswerRe: C# Colorizer for HTML Code Pin
Paul Conrad12-Aug-07 6:42
professionalPaul Conrad12-Aug-07 6:42 
GeneralRe: C# Colorizer for HTML Code Pin
Michael Sync12-Aug-07 15:02
Michael Sync12-Aug-07 15:02 
QuestionConnecting Exchange 2003 Server Pin
Pratik Vasant Shah7-Aug-07 19:57
Pratik Vasant Shah7-Aug-07 19:57 
QuestionC# Socket issue Pin
dotman17-Aug-07 19:04
dotman17-Aug-07 19:04 
AnswerRe: C# Socket issue Pin
Hessam Jalali7-Aug-07 20:12
Hessam Jalali7-Aug-07 20:12 
GeneralRe: C# Socket issue Pin
dotman17-Aug-07 22:31
dotman17-Aug-07 22:31 
GeneralRe: C# Socket issue Pin
originSH7-Aug-07 22:55
originSH7-Aug-07 22:55 
GeneralRe: C# Socket issue Pin
dotman17-Aug-07 23:04
dotman17-Aug-07 23:04 
QuestionPlay Many mpg simultaneously Pin
alayle7-Aug-07 18:13
alayle7-Aug-07 18:13 
AnswerRe: Play Many mpg simultaneously Pin
Christian Graus7-Aug-07 18:14
protectorChristian Graus7-Aug-07 18:14 
QuestionPreview Files Pin
_Arthur7-Aug-07 18:12
_Arthur7-Aug-07 18:12 
AnswerRe: Preview Files Pin
Christian Graus7-Aug-07 18:15
protectorChristian Graus7-Aug-07 18:15 
GeneralRe: Preview Files Pin
_Arthur7-Aug-07 19:12
_Arthur7-Aug-07 19:12 
GeneralRe: Preview Files Pin
ekynox7-Aug-07 19:18
ekynox7-Aug-07 19:18 
QuestionTimer in C# Pin
mimimimilaw7-Aug-07 18:03
mimimimilaw7-Aug-07 18:03 
AnswerRe: Timer in C# Pin
Christian Graus7-Aug-07 18:13
protectorChristian Graus7-Aug-07 18: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.