Hello to all!
I am trying to accede to a method of a class invoking(the class) from a
variable string. The class is in other assembly called "infoInsumo "
The code:
Dim Tipo As Type = Type.GetType(No do) 'Nodo = "infoInsumo ,
infoInsumo" -->The assembly does not have root namespace
Dim Clase As Object = Activator.Creat eInstance(Tipo,
Reflection.Bind ingFlags.Create Instance)
But in line "2" the following error jumps to me:
Constructor on type 'infoInsumo' not found.
What implementation I must make in the contructor of the class (infoInsumo)
so that it can obtain my objective?
From already thank you very much!
Gustavo Arriola
I am trying to accede to a method of a class invoking(the class) from a
variable string. The class is in other assembly called "infoInsumo "
The code:
Dim Tipo As Type = Type.GetType(No do) 'Nodo = "infoInsumo ,
infoInsumo" -->The assembly does not have root namespace
Dim Clase As Object = Activator.Creat eInstance(Tipo,
Reflection.Bind ingFlags.Create Instance)
But in line "2" the following error jumps to me:
Constructor on type 'infoInsumo' not found.
What implementation I must make in the contructor of the class (infoInsumo)
so that it can obtain my objective?
From already thank you very much!
Gustavo Arriola
Comment