Click here to Skip to main content
16,019,768 members
Home / Discussions / C#
   

C#

 
AnswerRe: my console application doesn't run on other pc Pin
Michael P Butler8-Sep-05 0:23
Michael P Butler8-Sep-05 0:23 
GeneralRe: my console application doesn't run on other pc Pin
Sasuko8-Sep-05 3:40
Sasuko8-Sep-05 3:40 
GeneralRe: my console application doesn't run on other pc Pin
Ashok Dhamija8-Sep-05 4:18
Ashok Dhamija8-Sep-05 4:18 
Questionhow can i get filed from C3 Form to Crystal Pin
Anonymous7-Sep-05 23:59
Anonymous7-Sep-05 23:59 
QuestionDataGrid.DataSource customization Pin
Corax7-Sep-05 23:55
Corax7-Sep-05 23:55 
QuestionHow 2 select best display resolution? Pin
majidbhutta7-Sep-05 23:01
majidbhutta7-Sep-05 23:01 
AnswerRe: How 2 select best display resolution? Pin
Dave Kreskowiak8-Sep-05 1:53
mveDave Kreskowiak8-Sep-05 1:53 
QuestionProblem with ParameterInfo in System.Reflection Pin
israfel7-Sep-05 22:56
israfel7-Sep-05 22:56 
Hi,
I wonder could anyone help me. Basically, I need to use reflection to get all the classes, methods and parameters of an assembly which im going to use to output NUnit tests. Problem is for some reason when i call Type and MethodInfo i get all the information no problem, when i try to call ParameterInfo for a given Method it's giving me a System.IO.FileNotFoundException. I can see nothing I'm doing differently for ParameterInfo. These things always end up being something silly, you anyone sees what im doing wrong please point it out, Thanks

The error seems to occur on m.GetParameters() by the way.

foreach(Type t in mytypes)
{
OutputLabel.Text += "CLASS: " + t.Name + System.Environment.NewLine;

MethodInfo[] mi = t.GetMethods();

foreach(MethodInfo m in mi)
{
OutputLabel.Text += "-- Method: " + m.Name + System.Environment.NewLine;

foreach(ParameterInfo p in m.GetParameters())
{
OutputLabel.Text += "Parameters: " + p.Name + System.Environment.NewLine;
}
}
}


AnswerRe: Problem with ParameterInfo in System.Reflection Pin
israfel8-Sep-05 0:36
israfel8-Sep-05 0:36 
QuestionHow to locate and read a xml file,search an element in that file and return the data corresponding to that element in string format,then deserialize the string to value object. Pin
Member 22374277-Sep-05 22:37
Member 22374277-Sep-05 22:37 
QuestionSending XML (file,stream) to server and recieving response Pin
Stefan_ Spenz7-Sep-05 22:21
Stefan_ Spenz7-Sep-05 22:21 
AnswerRe: Sending XML (file,stream) to server and recieving response Pin
Guffa7-Sep-05 23:05
Guffa7-Sep-05 23:05 
GeneralRe: Sending XML (file,stream) to server and recieving response Pin
Stefan_ Spenz7-Sep-05 23:14
Stefan_ Spenz7-Sep-05 23:14 
GeneralRe: Sending XML (file,stream) to server and recieving response Pin
Guffa8-Sep-05 3:26
Guffa8-Sep-05 3:26 
GeneralRe: Sending XML (file,stream) to server and recieving response Pin
Stefan_ Spenz8-Sep-05 21:23
Stefan_ Spenz8-Sep-05 21:23 
Questionusing comboBox in datagird Pin
Member 21264687-Sep-05 21:25
Member 21264687-Sep-05 21:25 
Answer[Message Deleted] Pin
| Muhammad Waqas Butt |7-Sep-05 22:56
professional| Muhammad Waqas Butt |7-Sep-05 22:56 
AnswerRe: using comboBox in datagird Pin
| Muhammad Waqas Butt |7-Sep-05 23:00
professional| Muhammad Waqas Butt |7-Sep-05 23:00 
QuestionGet content of a web page Pin
kokain7-Sep-05 21:22
kokain7-Sep-05 21:22 
Questionhow to prevent duplicate file in Access db? Pin
nidhelp7-Sep-05 21:20
nidhelp7-Sep-05 21:20 
AnswerRe: how to prevent duplicate file in Access db? Pin
enjoycrack8-Sep-05 1:48
enjoycrack8-Sep-05 1:48 
GeneralRe: how to prevent duplicate file in Access db? Pin
nidhelp8-Sep-05 15:01
nidhelp8-Sep-05 15:01 
GeneralRe: how to prevent duplicate file in Access db? Pin
enjoycrack8-Sep-05 21:29
enjoycrack8-Sep-05 21:29 
QuestionGet window handle Pin
Dario Solera7-Sep-05 21:00
Dario Solera7-Sep-05 21:00 
AnswerRe: Get window handle Pin
Lapje10-Sep-05 0:02
Lapje10-Sep-05 0:02 

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.