Hello I have a question. I have a project called "Primary" and in that
project I have a reference to a Com application called "engine". In "engine"
I have a function that does many things and calls other local functions for
several purposes. In one of those functions I have the code:
Dim myType As Type
Application_AssemblyName = "Primary"
Nameclass = "inventory"
Namemethod ="product"
myType = Type.GetType(Application_AssemblyName & "." &
nameclass)
MyObject = CreateInstance(myType)
myMethodInfo = myType.GetMethod(namemethod)
The class "inventory" exists in the "Primary" project but it looks like
because this code is in the "engine" project, the Type.GetType returns null.
If I put this code in any function in the "Primary" project it works. How
can I solve this problem? It looks like I have to do something additional.
Thanks in advance
Jennyfer