Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Active X Object
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Titre:
Active X Object
Divers
Thread ID:
00230088
Message ID:
00230088
Vues:
56
How can I implement and active X (ocx file) in an application without dropping it onto a form? This is copy protection software and I am trying to create an object defined through a calss that specifies the ocx file I am implementing.

My class looks like this:

DEFINE CLASS SoftProtectionX1 as OLEControl
DocumentFile = "D:\source\vfp\dev\SoftProtectionX1.ocx"
ENDDEFINE

My create code looks like:

SoftProt=CreateObject("SoftProtectionX1")
SoftProt.Execute

Thanks,
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform