Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to show / showdialog form thru a string
Message
De
18/07/2004 10:14:27
 
 
À
18/07/2004 01:58:05
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00907643
Message ID:
00925570
Vues:
19
Hi Bonnie,
What I have done is to run below codes:

Function GetFormByName(Byval pAppProd as String, ByVal pFormName As String) As Form
Dim FullName As String = pAppProd & "." & pFormName
Return Activator.CreateInstance(Type.GetType(FullName, True, True))
End Function

The above codes run correctly for showing a form via string, but it DOES NOT working If I want to show a form that located in the other DLL or not in the same solution / project file, I am facing with below error message:

An unhandled exception of type 'System.TypeLoadException' occurred in NetAdmin.exe

Additional information: Could not load type PlugIn2._1101001 from assembly NetAdmin, Version=1.0.1660.37972, Culture=neutral, PublicKeyToken=null.

any idea? .. many thanks in advance ..

Regards
Winanjaya
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform