ASPFriends.com 'ngfx-reflection' list Archive - November 2001
Messages
Page: 1
Reflection conundrum. (2 replies)
ASPFriends.com 'ngfx-reflection' list
Hi, In my infinite search to reduce the number of lines of code I write, I have a problem. Consider the following situation, where I have 5 panels, names panelX, with X 3D1 to 5. 20 I want to change the Visible property of each of them to true, using a loop. I've invented a mythical GetObject(string objectName) function, which returns a reference to the object specified by the string. Initially, i...
System.Reflection - Loading Assemblies (5 replies)
ASPFriends.com 'ngfx-reflection' list
I'm having some difficulty with the Reflection class and I'm at my wits end. If I do this everything works fine: public void invokeMethod(string sMethodName) { object obj null; Type type typeof(MyNameSpace.MyClass); // Create an instance of AccountEnumeration in Memory obj Activator.CreateInstance (type); //Get info for method MethodInfo mi type.GetMethod(sMethodName); //invoke method mi.Invoke(ob...
Ad
Need Dot Net Interview Questions?
Ask ExamGuru, Inc. for advice and help on Passing .Net Interviews
.Net Projects
Best-of-breed application framework for .NET projects, developed by ExamGuru, Inc. and ExamGuru IT
Free .net Help
Commission ExamGuru, Inc. and his team for your next bespoke software project
FogBUGZ
The only bug tracking system carefully crafted with one goal in mind: helping teams create great software.
Awesome Tools
If you don't know about these, you're missing out... IT Certification Questions
IT Interview Questions
Free Oracle 10g Training
MCSE Boortcamp
Cisco Study Guides
Cheap Study Guides
Exact Questions
Dot Net Interview Questions
Oracle OCP
Cheap Travel
Designer Perfumes - Wholesale Prices
Free Programming Tutorials
 
ExamGuru IT Solutions - .Net Guru is owned and operated by ExamGuru, Inc., the man behind .Net Guru. If you're in the market for bespoke software or software consultancy, why not get him and his highly trained team to help? - www.examguru.net/ITCertification
 Copyright © ExamGuru, Inc. 2001-2006
Contact Us - Terms of Use - Privacy Policy - www.dot-net-guru.com - www.examguru.net - www.oraclesource.net - www.itinterviews.net - www.examguru.net/ITCertification