I have a vb6 app that calls a function which returns a class
Dim stepToBeProgrammed As Object
Set stepToBeProgrammed = getClassOrFormFromStep(stepNameLong, "class")
The function getClassOrFormFromStep, is set up to return an object, in this case a class.
Is this how I should do it in vb.net?
Does setting the object cast it's type?
Is there a performance issue here?