Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using data driven class instantiation
Message
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Using data driven class instantiation
Versions des environnements
Environment:
C# 1.1
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01048141
Message ID:
01048141
Vues:
82
I'm wondering how people use the Classes table. I have an issue in that my assembly is "ADC Windows Forms.dll". This .dll is located in the application's folder. The problem, I think, is that when the current directory gets changed, Assembly.LoadFrom in mmFactoryGeneric fails because it can't find the .dll.

Putting the fully qualified path in the Assembly column fixes the problem, but I don't think that's good for production.

I'm thinking I could set Environment.CurrentDirectory when the form gets focus, or something similar, was wondering how others have gotten around this.

Any ideas appreciated,
Mike
Répondre
Fil
Voir

Click here to load this message in the networking platform