Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating generic objects
Message
 
À
11/05/2000 13:43:47
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00368538
Message ID:
00368771
Vues:
30
>>Can someone give me some guidance with creating objects in VFP? I would like to create an object that will retrieve a customer record.
>>TIA!
>
>You can either use the class deisgner to create an object based on "custom", or define your class in a prg with DEFINE CLASS. To instanciate the object use
>
>SET CLASSLIB TO "MyClasslib" ADDITIVE
>* or
>SET PROCEDURE TO "MyClassDef" ADDITIVE
>* and then
>oObj = CREATEOBJECT("MyObject")

I guess I wasn't real clear. I found that I need to create an automation server. I am getting some weird errors and the examples stink and don't work. Have you created an automation server before?
DLC
"Use the Right Tool for the Job!"
davidandcynthia@email.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform