G
Guest
Hi
I try load a form by reflection :
Assembly myAssembly = Assembly.LoadFrom(dtr.GetString(0));
Form frmForm = myAssembly.CreateInstance("Nox.Grade") as Form;
but a NullReferenceException is generated.
If I use
Type type = Assembly.GetType("Nox.Grade")
it's Ok.
What is wrong ?
I try load a form by reflection :
Assembly myAssembly = Assembly.LoadFrom(dtr.GetString(0));
Form frmForm = myAssembly.CreateInstance("Nox.Grade") as Form;
but a NullReferenceException is generated.
If I use
Type type = Assembly.GetType("Nox.Grade")
it's Ok.
What is wrong ?