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

C#

 
QuestionMonitoring installations Pin
nemopeti26-Oct-06 22:03
nemopeti26-Oct-06 22:03 
Questionproblem with word addins Pin
ppforpyxis26-Oct-06 21:40
ppforpyxis26-Oct-06 21:40 
Questionwhy the imageindex setting is not working Pin
kalaveer26-Oct-06 21:20
kalaveer26-Oct-06 21:20 
QuestionProblem of menus Pin
slSoftware26-Oct-06 21:09
slSoftware26-Oct-06 21:09 
AnswerRe: Problem of menus Pin
u4h2m26-Oct-06 21:34
u4h2m26-Oct-06 21:34 
AnswerRe: Help Me Pin
Nader Elshehabi26-Oct-06 21:41
Nader Elshehabi26-Oct-06 21:41 
QuestionHow to generate a random number Pin
CodeItWell26-Oct-06 20:44
CodeItWell26-Oct-06 20:44 
AnswerRe: How to generate a random number Pin
Neha_Gupta26-Oct-06 20:52
Neha_Gupta26-Oct-06 20:52 
AnswerRe: How to generate a random number Pin
Guffa26-Oct-06 21:05
Guffa26-Oct-06 21:05 
GeneralRe: How to generate a random number Pin
Neha_Gupta26-Oct-06 21:08
Neha_Gupta26-Oct-06 21:08 
GeneralRe: How to generate a random number Pin
seee sharp26-Oct-06 21:43
seee sharp26-Oct-06 21:43 
Questionhow to install asian language support for windows when installing my software Pin
sikandarhayat26-Oct-06 20:13
sikandarhayat26-Oct-06 20:13 
AnswerRe: how to install asian language support for windows when installing my software Pin
Sebastian Schneider27-Oct-06 1:25
Sebastian Schneider27-Oct-06 1:25 
GeneralRe: how to install asian language support for windows when installing my software Pin
sikandarhayat27-Oct-06 1:52
sikandarhayat27-Oct-06 1:52 
QuestionHow to Create my own component using C# Pin
pubudu_nt26-Oct-06 20:05
pubudu_nt26-Oct-06 20:05 
AnswerRe: How to Create my own component using C# Pin
Nader Elshehabi26-Oct-06 21:15
Nader Elshehabi26-Oct-06 21:15 
QuestionIcomparer runtime error Pin
kshet2626-Oct-06 20:01
kshet2626-Oct-06 20:01 
AnswerRe: Icomparer runtime error Pin
Stefan Troschuetz26-Oct-06 21:32
Stefan Troschuetz26-Oct-06 21:32 
AnswerRe: Icomparer runtime error Pin
ednrgc27-Oct-06 2:30
ednrgc27-Oct-06 2:30 
QuestionReflection Help Pin
lavanya_satheesh26-Oct-06 19:41
lavanya_satheesh26-Oct-06 19:41 
AnswerRe: Reflection Help Pin
engsrini26-Oct-06 21:09
engsrini26-Oct-06 21:09 
AnswerRe: Reflection Help Pin
Nader Elshehabi26-Oct-06 21:37
Nader Elshehabi26-Oct-06 21:37 
Beside what engsrini alrready said, you can think of it as an advanced way of dynamic coding. Currently it isn't widely used, but I believe in the future it may. One example is like making your own forms editor. Something like MS Access where your users can make a form and bind it to the Db. Maybe you want to add custom controls in your form.

Another example is using reflection as a mean of adding update capability in your program, where you dunamically instantiate a class from a dll and call certain methods. When you update all you need to do is to replace that dll. I know this is crap but it is possible.

One last thing is to use reflection to reference to a library that is not included in your program by default -for example optional downloadable plug-ins to your program-, and make error checking when using the classes in it. So that users can un/install plug-ins as suits them without changing anything in the main program. If a plug-in makes an error or was deleted by mistake, using reflection and not hardcoding the references into your program will give you flexibility and prevent your program from crashing.

That was some of the things I could come up with in 5 minutes. Creativity has no limits.Smile | :)



RegardsRose | [Rose]

AnswerRe: Reflection Help Pin
Pete O'Hanlon27-Oct-06 1:30
mvePete O'Hanlon27-Oct-06 1:30 
GeneralRe: Reflection Help Pin
lavanya_satheesh27-Oct-06 19:07
lavanya_satheesh27-Oct-06 19:07 
Questionhow to make a treeview node invisible using the code in C# Pin
kalaveer26-Oct-06 18:55
kalaveer26-Oct-06 18:55 

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.