V
vinoth
Hi,
I want to create an Instance of Class using Assembly.CreateInstance
method. I have loaded my assmbly
Assembly exeAssmb = Assembly.LoadWithPartialName"CommonStructures");
//Assembly exeAssmb =
Assembly.LoadFrom("C:\\Inetpub\\wwwroot\\Vinoth\\CommonStructures.dll");
Then when i create an Instance of the Assembly it giving Undefined
Value.
string instClass = "ManWrapper";
object inst =exeAssmb.CreateInstance(instClass);
//object inst =Activator.CreateInstance(exeAssmb.FullName,instClass);
This class(ManWrapper) is in CommonStructures and i registered it in
gacutil also.
I tried the Commentd line also. What is the problem? Is anybody knows
solution please let me know.
Thanks,
Vinoth
I want to create an Instance of Class using Assembly.CreateInstance
method. I have loaded my assmbly
Assembly exeAssmb = Assembly.LoadWithPartialName"CommonStructures");
//Assembly exeAssmb =
Assembly.LoadFrom("C:\\Inetpub\\wwwroot\\Vinoth\\CommonStructures.dll");
Then when i create an Instance of the Assembly it giving Undefined
Value.
string instClass = "ManWrapper";
object inst =exeAssmb.CreateInstance(instClass);
//object inst =Activator.CreateInstance(exeAssmb.FullName,instClass);
This class(ManWrapper) is in CommonStructures and i registered it in
gacutil also.
I tried the Commentd line also. What is the problem? Is anybody knows
solution please let me know.
Thanks,
Vinoth