To show form via string, I tried to convert your codes into VB.NET:
Dim DLLName As String = "Test"
Dim ClassName As String ="FrmInvoice"
Dim oClass As Object
Dim oDLL As Object
oDLL = System.Reflection.Assembly.LoadFrom(DLLName)
oClass = oDLL.CreateInstance(ClassName)
oClass.Show
but it returned with errors .. I'm sure that I already missed something.. I need advise .. many thanks in advance
Regards
Winanjaya
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only