So after reading plenty on the CreateInstance method, and the Type.getTypeFromProgID method, I thought I had it figured out. However I keep getting a null reference returned when trying to recieve the type. I simply have a Class1, inside a Project1 (with the default namespace of "Project1"). Now from my understanding, I should be able to complete a line of code like this
this keeps returning null though. I have been messing around with this for a good 2 hours, any help would be much appreciated.
thanks,
Phil
VB.NET:
Dim myType as Type = Type.GetTypeFromProgID("Project1.Class1")
this keeps returning null though. I have been messing around with this for a good 2 hours, any help would be much appreciated.
thanks,
Phil