M
Mobile Boy 36
Does someone know a way to cast a string to a form ?
Or an working alternative for the compact framework:
Function GetFormByName(ByVal FormName As String) As Form
Dim Fullname As String = Application.ProductName & "." & FormName
Return Activator.CreateInstance(Type.GetType(Fullname, True, True))
End Function
Or an working alternative for the compact framework:
Function GetFormByName(ByVal FormName As String) As Form
Dim Fullname As String = Application.ProductName & "." & FormName
Return Activator.CreateInstance(Type.GetType(Fullname, True, True))
End Function