Click here to Skip to main content
15,887,596 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionReflection with local variables Pin
Clay Walnum13-Feb-09 3:30
Clay Walnum13-Feb-09 3:30 
GeneralRe: Reflection with local variables Pin
Luc Pattyn13-Feb-09 4:45
sitebuilderLuc Pattyn13-Feb-09 4:45 
GeneralRe: Reflection with local variables Pin
Clay Walnum13-Feb-09 5:39
Clay Walnum13-Feb-09 5:39 
GeneralRe: Reflection with local variables Pin
Gideon Engelberth13-Feb-09 6:25
Gideon Engelberth13-Feb-09 6:25 
AnswerRe: Reflection with local variables Pin
Dave Kreskowiak13-Feb-09 5:06
mveDave Kreskowiak13-Feb-09 5:06 
GeneralRe: Reflection with local variables Pin
Clay Walnum13-Feb-09 5:48
Clay Walnum13-Feb-09 5:48 
GeneralRe: Reflection with local variables Pin
Luc Pattyn13-Feb-09 6:07
sitebuilderLuc Pattyn13-Feb-09 6:07 
AnswerRe: Reflection with local variables Pin
Guffa13-Feb-09 19:10
Guffa13-Feb-09 19:10 
One major problem with that approach is that the LogLocalVariables method doesn't get references to the local variables at all. What it gets is references to two newly created objects on the heap, that contains copies of the values that the local variables had when calling the method. There is no association at all between those object and the local variables, so it's impossible to use the references to get any information at all about the actual variables.

Despite everything, the person most likely to be fooling you next is yourself.

GeneralRe: Reflection with local variables Pin
Clay Walnum16-Feb-09 2:17
Clay Walnum16-Feb-09 2:17 
AnswerRe: Reflection with local variables Pin
Samir Ibrahim15-Feb-09 14:17
Samir Ibrahim15-Feb-09 14:17 
GeneralRe: Reflection with local variables Pin
Clay Walnum16-Feb-09 2:26
Clay Walnum16-Feb-09 2:26 
GeneralRe: Reflection with local variables Pin
Samir Ibrahim16-Feb-09 4:36
Samir Ibrahim16-Feb-09 4:36 
QuestionDeleting all datas from Combo Box Pin
jishbalan13-Feb-09 1:11
jishbalan13-Feb-09 1:11 
AnswerRe: Deleting all datas from Combo Box Pin
Rupesh Kumar Swami13-Feb-09 1:43
Rupesh Kumar Swami13-Feb-09 1:43 
GeneralRe: Deleting all datas from Combo Box Pin
jishbalan13-Feb-09 1:52
jishbalan13-Feb-09 1:52 
GeneralRe: Deleting all datas from Combo Box Pin
EliottA13-Feb-09 2:21
EliottA13-Feb-09 2:21 
GeneralRe: Deleting all datas from Combo Box Pin
jishbalan13-Feb-09 2:58
jishbalan13-Feb-09 2:58 
GeneralRe: Deleting all datas from Combo Box Pin
EliottA13-Feb-09 3:10
EliottA13-Feb-09 3:10 
Questionbit shifting Pin
aswd12-Feb-09 20:30
aswd12-Feb-09 20:30 
AnswerRe: bit shifting Pin
Guffa13-Feb-09 1:11
Guffa13-Feb-09 1:11 
AnswerRe: bit shifting Pin
riced13-Feb-09 3:34
riced13-Feb-09 3:34 
QuestionLayered Window Pin
red_moon12-Feb-09 18:37
red_moon12-Feb-09 18:37 
AnswerRe: Layered Window Pin
Dave Kreskowiak13-Feb-09 3:56
mveDave Kreskowiak13-Feb-09 3:56 
QuestionHow to display blob into Picturebox using Vb.net 2003 Pin
kerek212-Feb-09 16:42
kerek212-Feb-09 16:42 
AnswerRe: How to display blob into Picturebox using Vb.net 2003 Pin
Guffa12-Feb-09 20:00
Guffa12-Feb-09 20:00 

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.