Click here to Skip to main content
15,898,588 members
Home / Discussions / C#
   

C#

 
GeneralRe: multiline textbox to .doc file Pin
ginji2022-Jun-08 19:46
ginji2022-Jun-08 19:46 
GeneralRe: multiline textbox to .doc file Pin
Christian Graus22-Jun-08 19:56
protectorChristian Graus22-Jun-08 19:56 
QuestionCodeDOM passing parameters Pin
xJorDyx22-Jun-08 13:46
xJorDyx22-Jun-08 13:46 
AnswerRe: CodeDOM passing parameters Pin
Mark Churchill22-Jun-08 20:21
Mark Churchill22-Jun-08 20:21 
GeneralRe: CodeDOM passing parameters Pin
xJorDyx23-Jun-08 9:35
xJorDyx23-Jun-08 9:35 
QuestionCan we get program's number line after compiling the source ? Pin
Mohammad Dayyan22-Jun-08 12:59
Mohammad Dayyan22-Jun-08 12:59 
AnswerRe: Can we get program's number line after compiling the source ? Pin
Gareth H22-Jun-08 13:05
Gareth H22-Jun-08 13:05 
AnswerRe: Can we get program's number line after compiling the source ? Pin
Luc Pattyn22-Jun-08 13:18
sitebuilderLuc Pattyn22-Jun-08 13:18 
Hi,

it is possible, but not very easy; there is no predefined symbol as in C/C++.

you can figure out where you are (and how you got there) by reading
Environment.StackTrace; you could even create a method that takes the second
entry (skipping the method itself) to extract the classname, methodname, and
line number.

The line numbers may or may not be present depending on circumstances such
as debug/release build.

Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

Voting for dummies? No thanks. Dead | X|


GeneralRe: Can we get program's number line after compiling the source ? Pin
Mohammad Dayyan23-Jun-08 2:07
Mohammad Dayyan23-Jun-08 2:07 
GeneralRe: Can we get program's number line after compiling the source ? Pin
Luc Pattyn23-Jun-08 2:08
sitebuilderLuc Pattyn23-Jun-08 2:08 
AnswerRe: Can we get program's number line after compiling the source ? Pin
Mohammad Dayyan23-Jun-08 2:48
Mohammad Dayyan23-Jun-08 2:48 
QuestionNewbie Question Pin
kruegersck22-Jun-08 12:59
kruegersck22-Jun-08 12:59 
AnswerRe: Newbie Question Pin
Gareth H22-Jun-08 13:03
Gareth H22-Jun-08 13:03 
GeneralRe: Newbie Question Pin
kruegersck22-Jun-08 13:09
kruegersck22-Jun-08 13:09 
GeneralRe: Newbie Question Pin
Christian Graus22-Jun-08 15:12
protectorChristian Graus22-Jun-08 15:12 
GeneralRe: Newbie Question Pin
kruegersck22-Jun-08 16:28
kruegersck22-Jun-08 16:28 
GeneralRe: Newbie Question Pin
Christian Graus22-Jun-08 18:27
protectorChristian Graus22-Jun-08 18:27 
GeneralRe: Newbie Question Pin
kruegersck23-Jun-08 2:58
kruegersck23-Jun-08 2:58 
GeneralRe: Newbie Question Pin
Christian Graus23-Jun-08 11:36
protectorChristian Graus23-Jun-08 11:36 
QuestionDrog and Drop question ? Pin
Mohammad Dayyan22-Jun-08 11:17
Mohammad Dayyan22-Jun-08 11:17 
AnswerRe: Drog and Drop question ? Pin
Christian Graus22-Jun-08 12:20
protectorChristian Graus22-Jun-08 12:20 
GeneralRe: Drog and Drop question ? Pin
Mohammad Dayyan22-Jun-08 12:28
Mohammad Dayyan22-Jun-08 12:28 
GeneralRe: Drog and Drop question ? Pin
Christian Graus22-Jun-08 12:31
protectorChristian Graus22-Jun-08 12:31 
GeneralRe: Drog and Drop question ? Pin
Mohammad Dayyan22-Jun-08 12:39
Mohammad Dayyan22-Jun-08 12:39 
AnswerRe: Drog and Drop question ? Pin
Anthony Mushrow22-Jun-08 14:50
professionalAnthony Mushrow22-Jun-08 14:50 

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.