Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE Class
Message
De
06/08/1998 19:01:37
 
 
À
06/08/1998 10:27:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00124458
Message ID:
00124640
Vues:
21
Theoretically, you should use a OLE Container Control. Look in the help at OLE Container Control. It has an example.

Practically, you can use CreateObject directly to create an object, but the parameter passed to CreateObject must be the value of the ProgID registry key for that control:

oOle = CreateObject("AControl.AControlCtrl.1") && or something like that :)

Vlad

>If I create a class based on an OLE Control. Then try to instanciate it it won't let me. I think I'm doing this right but I'm not sure.
>
>oOle=CreateObject('MyOleClass')
>
>It works for a form class.
>
>I just want to know what BaseClasses it works for and doesn't work for.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform