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

C#

 
AnswerRe: In C# the fastest way to turn on/off a pixel or a group of pixels ? Pin
leppie6-Nov-03 9:43
leppie6-Nov-03 9:43 
AnswerRe: In C# the fastest way to display a pixel or a full quadrilateral shape ? Pin
perlmunger6-Nov-03 12:00
perlmunger6-Nov-03 12:00 
GeneralGetting events properly logged in Events.Application Pin
LongRange.Shooter6-Nov-03 9:23
LongRange.Shooter6-Nov-03 9:23 
GeneralRe: Getting events properly logged in Events.Application Pin
Heath Stewart6-Nov-03 11:50
protectorHeath Stewart6-Nov-03 11:50 
GeneralChanging Registry Permissions Programmatically Pin
perlmunger6-Nov-03 9:21
perlmunger6-Nov-03 9:21 
GeneralRe: Changing Registry Permissions Programmatically Pin
leppie6-Nov-03 9:33
leppie6-Nov-03 9:33 
GeneralRe: Changing Registry Permissions Programmatically Pin
perlmunger6-Nov-03 9:59
perlmunger6-Nov-03 9:59 
GeneralReflections question Pin
Den2Fly6-Nov-03 8:06
Den2Fly6-Nov-03 8:06 
Regards,
Hello every buddy, wishing all are coding greate(!) I have the following question:

Suppose following runtime invokation:

myInstance.getType().InvokeMember(aMember, BindingFlags.Public|BindingFlags.Instance|BindingFlags.GetField|BindingFlags.GetProperty, null, new object[] {});

If I execute this line while aMember is an inherited member property name of myInstance (not it's own) it works and returns the value.

Now if I call the same member and try to set the same member(inherited member property) it will throw an exception that 'Member not found'.

myInstance.getType().InvokeMember(aMember, BindingFlags.Public|BindingFlags.Instance|BindingFlags.SetField|BindingFlags.SetProperty, null, new object[] {newValueArray});

How can I fix this and set inherited properties of myInstance using Reflections?

Thank you

---
"Art happens when you least expect it"
GeneralRe: Reflections question Pin
leppie6-Nov-03 9:29
leppie6-Nov-03 9:29 
GeneralRe: Reflections question Pin
Den2Fly6-Nov-03 23:22
Den2Fly6-Nov-03 23:22 
GeneralRe: Reflections question Pin
Den2Fly7-Nov-03 0:45
Den2Fly7-Nov-03 0:45 
GeneralMicrosoft .Net Applications Window! Pin
Silly Boy6-Nov-03 6:30
Silly Boy6-Nov-03 6:30 
GeneralRe: Microsoft .Net Applications Window! Pin
leppie6-Nov-03 9:34
leppie6-Nov-03 9:34 
GeneralProblems with ActiveX Pin
System_Reflection6-Nov-03 6:13
System_Reflection6-Nov-03 6:13 
GeneralRe: Problems with ActiveX Pin
Stephane Rodriguez.6-Nov-03 8:53
Stephane Rodriguez.6-Nov-03 8:53 
GeneralRe: Problems with ActiveX Pin
System_Reflection6-Nov-03 22:31
System_Reflection6-Nov-03 22:31 
GeneralRe: Problems with ActiveX Pin
Stephane Rodriguez.6-Nov-03 23:37
Stephane Rodriguez.6-Nov-03 23:37 
GeneralRe: Problems with ActiveX Pin
System_Reflection8-Nov-03 8:47
System_Reflection8-Nov-03 8:47 
GeneralRe: Problems with ActiveX Pin
Stephane Rodriguez.9-Nov-03 5:45
Stephane Rodriguez.9-Nov-03 5:45 
GeneralDataGrid in C# Pin
Kenneth Childs6-Nov-03 5:39
Kenneth Childs6-Nov-03 5:39 
GeneralRe: DataGrid in C# Pin
NormDroid6-Nov-03 5:49
professionalNormDroid6-Nov-03 5:49 
GeneralRe: DataGrid in C# Pin
Kenneth Childs6-Nov-03 6:17
Kenneth Childs6-Nov-03 6:17 
GeneralRe: DataGrid in C# Pin
Guillermo Rivero6-Nov-03 7:08
Guillermo Rivero6-Nov-03 7:08 
GeneralConnecting to Com port... Pin
Amirjalaly6-Nov-03 5:04
Amirjalaly6-Nov-03 5:04 
GeneralRe: Connecting to Com port... Pin
perlmunger6-Nov-03 9:28
perlmunger6-Nov-03 9:28 

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.