I'm trying to load a form inside a tab page control.
I can do so if the form exists in the current project by using the following code.
Private Sub LoadTabForm(ByVal FormName As String)
Dim frmTabForm As Form
Dim tpType As Type
tpType = Type.GetType(FormName)
frmTabForm = Activator.CreateInstance(tpType)
frmTabForm.TopLevel = False
frmTabForm.FormBorderStyle = FormBorderStyle.None
frmTabForm.Dock = DockStyle.Fill
I'd like to call a form from another project in the same solution.
When i try it, it can't find it. Even giving it the full path.