Hi I have been trying all sorts of ways to set a FORM object variable that is derived from a String rtrived from a database.
I use this method to load specific start modules depending on the Group name.
The code below gives me the following error:
Could not load type 'MyProj.MainDBPiForm' from assembly 'My Project, Version=220.127.116.11, Culture=neutral, PublicKeyToken=null'.
The variable FormName returns the propper output including the dot that represents project.form
don't know what to do from there.. :(
Can anyone help or suggect a better method ?
Dim frm As Form
Dim FormName As String = "MyProj."
FormName += Staff.MainFormName
frm = System.Activator.CreateInstance(Nothing, FormName).Unwrap()