Click here to Skip to main content
15,908,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: how to mouse gesture without window? Pin
Darryl Borden20-Nov-08 8:44
Darryl Borden20-Nov-08 8:44 
GeneralRe: how to mouse gesture without window? Pin
ping_jacob22-Nov-08 2:35
ping_jacob22-Nov-08 2:35 
GeneralRe: how to mouse gesture without window? Pin
Giorgi Dalakishvili22-Nov-08 3:18
mentorGiorgi Dalakishvili22-Nov-08 3:18 
GeneralRe: how to mouse gesture without window? Pin
ping_jacob14-Dec-08 6:22
ping_jacob14-Dec-08 6:22 
GeneralRe: how to mouse gesture without window? Pin
Giorgi Dalakishvili14-Dec-08 7:03
mentorGiorgi Dalakishvili14-Dec-08 7:03 
Questionhow to access a property / member variable at run time Pin
here2learn20-Nov-08 1:02
here2learn20-Nov-08 1:02 
AnswerRe: how to access a property / member variable at run time PinPopular
Giorgi Dalakishvili20-Nov-08 1:10
mentorGiorgi Dalakishvili20-Nov-08 1:10 
GeneralRe: how to access a property / member variable at run time Pin
here2learn20-Nov-08 1:50
here2learn20-Nov-08 1:50 
Hi Giorgi... thanks for your time for replying.

actually in core of my question, i wanted to know how to access a class's property if you know property name, i know we can do with reflection, but frankly speeking don't have any experience with reflection, so i don't know how to achieve it. i have long list of fields in my application, and the class i am referring to is actually web service's exposed class with dynamic fileds exposed.

Also security is not a risk , as it is just intranet application and i will take care of other risks in some way...

i am again explaining my question with another example, in case i was not bit clear first time... Smile | :)

A practical example:

suppose my class is System.Type and i want to set value to it's Delimiter property, like this i will need to set some proerties too, but i don't know it's delimiter or something else.

so i need to write this logic somehow:-
System.Type.NameOfField = "Some Value"; // here after ., NameOfField represents property name which i want to set i could be delimiter or other proerties...


could you please elaborate little bit on your suggestion of reflection as solution...


People often say that motivation doesn't last. Well, neither does bathing - that's why we recommend it daily
Akhilesh Singh

GeneralRe: how to access a property / member variable at run time Pin
Giorgi Dalakishvili20-Nov-08 1:58
mentorGiorgi Dalakishvili20-Nov-08 1:58 
GeneralRe: how to access a property / member variable at run time Pin
here2learn20-Nov-08 2:20
here2learn20-Nov-08 2:20 
GeneralRe: how to access a property / member variable at run time Pin
Giorgi Dalakishvili20-Nov-08 2:21
mentorGiorgi Dalakishvili20-Nov-08 2:21 
AnswerRe: how to access a property / member variable at run time Pin
Ashfield20-Nov-08 1:16
Ashfield20-Nov-08 1:16 
GeneralRe: how to access a property / member variable at run time Pin
here2learn20-Nov-08 1:52
here2learn20-Nov-08 1:52 
AnswerRe: how to access a property / member variable at run time Pin
Simon P Stevens20-Nov-08 1:25
Simon P Stevens20-Nov-08 1:25 
GeneralRe: how to access a property / member variable at run time Pin
here2learn20-Nov-08 1:56
here2learn20-Nov-08 1:56 
QuestionDetecting the Mouse Wheel on a ListView Control Pin
Darryl Borden19-Nov-08 23:34
Darryl Borden19-Nov-08 23:34 
AnswerRe: Detecting the Mouse Wheel on a ListView Control Pin
DaveyM6919-Nov-08 23:48
professionalDaveyM6919-Nov-08 23:48 
AnswerRe: Detecting the Mouse Wheel on a ListView Control Pin
Seraph_summer20-Nov-08 3:42
Seraph_summer20-Nov-08 3:42 
AnswerRe: Detecting the Mouse Wheel on a ListView Control Pin
DaveyM6920-Nov-08 4:32
professionalDaveyM6920-Nov-08 4:32 
QuestionProcessor ID Pin
Syed Shahid Hussain19-Nov-08 22:21
Syed Shahid Hussain19-Nov-08 22:21 
AnswerRe: Processor ID Pin
Samer Aburabie19-Nov-08 22:31
Samer Aburabie19-Nov-08 22:31 
AnswerRe: Processor ID Pin
#realJSOP19-Nov-08 23:40
professional#realJSOP19-Nov-08 23:40 
QuestionGetting data from database with ado.net with more conditions? Pin
Matjaz-xyz19-Nov-08 20:48
Matjaz-xyz19-Nov-08 20:48 
AnswerRe: Getting data from database with ado.net with more conditions? Pin
Ashfield19-Nov-08 21:43
Ashfield19-Nov-08 21:43 
GeneralRe: Getting data from database with ado.net with more conditions? Pin
Matjaz-xyz19-Nov-08 22:24
Matjaz-xyz19-Nov-08 22:24 

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.