Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Data Design Question
Message
From
29/04/2008 10:42:31
 
General information
Forum:
ASP.NET
Category:
Forms
Miscellaneous
Thread ID:
01313710
Message ID:
01313828
Views:
9
>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform