Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Data Design Question
Message
De
29/04/2008 10:42:31
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Formulaires
Divers
Thread ID:
01313710
Message ID:
01313828
Vues:
10
>>>But the question still is how to make that determination without having some kind of code in table. I can't see any way around it.
>>
>>PMFJI,
>>
>>Just to elaborate a little on Viv's suggestion, you don't need any code in the table, just a class name and assembly name. The class could either implement an interface or inherit from a base class. There was a discussion about this in the Interfaces thread a couple of weeks ago.
>>
>>Bruce
>
>I believe it was in .NET forum (thread started by Kevin himself, if I recall correctly), but this is a VFP question.

It is even easier then. Use AddObject or NewObject to instantiate the class from a class library. Store class name and library name in the table. If all inherit from the same base class, you would know what methods are available, or you could do all processing in the class (launch the process in the class Init).

Bruce
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform