I have a textbox on my form. I want the form which name is typed into the textbox (if exists) to open. How do I get this to happen?
With that code I get this error:vb.net Code:
Dim frmName As String Dim objFRM As New Form Try frmName = tmp(1) objFRM = CreateObject(frmName) Catch ex As Exception modgen_ErrorLog(ex.Message.ToString) End Try Try objFRM.show Catch ex As Exception modgen_ErrorLog(ex.Message.ToString) End Try
"Cannot create ActiveX component"




Reply With Quote
