Click here to Skip to main content
16,005,222 members
Home / Discussions / C#
   

C#

 
Questionsize requested in a EM_GETLINE Pin
manustone26-Mar-07 22:28
manustone26-Mar-07 22:28 
AnswerRe: size requested in a EM_GETLINE Pin
Christian Graus27-Mar-07 2:26
protectorChristian Graus27-Mar-07 2:26 
QuestionExporting Data from Windows form to MSExcel Pin
seemadavid26-Mar-07 21:18
seemadavid26-Mar-07 21:18 
QuestionHow to save the data while moving from one page to another page Pin
AR Reddy26-Mar-07 20:54
AR Reddy26-Mar-07 20:54 
AnswerRe: How to save the data while moving from one page to another page Pin
Harini N K26-Mar-07 22:50
Harini N K26-Mar-07 22:50 
GeneralRe: How to save the data while moving from one page to another page Pin
AR Reddy27-Mar-07 1:39
AR Reddy27-Mar-07 1:39 
AnswerRe: How to save the data while moving from one page to another page Pin
Christian Graus27-Mar-07 2:29
protectorChristian Graus27-Mar-07 2:29 
Questionusing Reflection Pin
goldli26-Mar-07 20:49
goldli26-Mar-07 20:49 
there is a dll. code below
--------------------------
namespace CommonFunctionLibrary
{
public class ClsMain
{
public string setValue(string a,ref string b)
{
b = a;
return a;
}
}
}
-------------------------------------------------------
and there is a Host
--------------------------------------------------------------------
string filepath = @"E:\VS2005_work\CommonFunctionLibrary\CommonFunctionLibrary\bin\Debug\CommonFunctionLibrary.dll";
string s = string.Empty;
string p = string.Empty;
Assembly myDllAssembly = Assembly.LoadFrom(filepath);
Type dllType = myDllAssembly.GetType("CommonFunctionLibrary.ClsMain");
MethodInfo dllMethod = dllType.GetMethod("setValue");
if (dllMethod != null)
{
Object dllObj = Activator.CreateInstance(dllType);
s=(string)dllMethod.Invoke(dllObj, new object[] {"goldli",p });
MessageBox.Show(s+"\r\n"+p);
}
myDllAssembly = null;
------------------------------------------------------------------------------
question:
1、the Invoke method no need to use "ref" ,why?
2、the "p" parameter has no return value,why?
AnswerRe: using Reflection Pin
m@u26-Mar-07 21:41
m@u26-Mar-07 21:41 
GeneralRe: using Reflection Pin
goldli26-Mar-07 21:56
goldli26-Mar-07 21:56 
QuestionCrash Reports Pin
Mridang Agarwalla26-Mar-07 20:37
Mridang Agarwalla26-Mar-07 20:37 
QuestionListView Question? Pin
Khoramdin26-Mar-07 20:33
Khoramdin26-Mar-07 20:33 
AnswerRe: ListView Question? Pin
Christian Graus27-Mar-07 2:31
protectorChristian Graus27-Mar-07 2:31 
QuestionFolderBrowserDialog Pin
HUMPPAAA!26-Mar-07 20:04
HUMPPAAA!26-Mar-07 20:04 
AnswerRe: FolderBrowserDialog Pin
stancrm26-Mar-07 20:08
stancrm26-Mar-07 20:08 
GeneralRe: FolderBrowserDialog Pin
HUMPPAAA!26-Mar-07 20:24
HUMPPAAA!26-Mar-07 20:24 
NewsRe: FolderBrowserDialog Pin
HUMPPAAA!26-Mar-07 23:22
HUMPPAAA!26-Mar-07 23:22 
AnswerRe: FolderBrowserDialog Pin
HUMPPAAA!27-Mar-07 0:38
HUMPPAAA!27-Mar-07 0:38 
QuestionHow to create HH:MM:SS format? Pin
Khoramdin26-Mar-07 20:03
Khoramdin26-Mar-07 20:03 
AnswerRe: How to create HH:MM:SS format? Pin
stancrm26-Mar-07 20:05
stancrm26-Mar-07 20:05 
AnswerRe: How to create HH:MM:SS format? Pin
Muammar©26-Mar-07 20:13
Muammar©26-Mar-07 20:13 
AnswerRe: How to create HH:MM:SS format? Pin
Guffa26-Mar-07 20:29
Guffa26-Mar-07 20:29 
QuestionForm validating Pin
7126-Mar-07 19:52
7126-Mar-07 19:52 
QuestionExpecting the answer Pin
nivipandit26-Mar-07 19:06
nivipandit26-Mar-07 19:06 
AnswerRe: Expecting the answer Pin
PlayByTheRules27-Mar-07 0:56
PlayByTheRules27-Mar-07 0:56 

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.