S
Steve Long
Hello,
this is probably fairly simple and I know how to do it in the COM world but
it's escaping me in the .NET world.
I have a string value that contains the name of an object I want to create.
In the COM world, I would just use the CreateObject function passing in the
string value for the ProgID and VB6 would create it. How do I do that for a
..NET type in VB.NET?
VB6 example:
dim s as string
s = "SomeProgID"
dim obj as object
Set obj = CreateObject(s)
The .NET types will not be COM objects.
Your help is much appreciate.
I hope I have been clear here.
Steve
this is probably fairly simple and I know how to do it in the COM world but
it's escaping me in the .NET world.
I have a string value that contains the name of an object I want to create.
In the COM world, I would just use the CreateObject function passing in the
string value for the ProgID and VB6 would create it. How do I do that for a
..NET type in VB.NET?
VB6 example:
dim s as string
s = "SomeProgID"
dim obj as object
Set obj = CreateObject(s)
The .NET types will not be COM objects.
Your help is much appreciate.
I hope I have been clear here.
Steve