Free for PREMIUM members
Function Sample(ByVal MyClassName as String) As Object
Dim item As Object = Activator.CreateInstance(Type.GetType( MyClassName ))
Open in new window
Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention. Check out this how-to article for more information.