Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiate ActiveX object programmatically
Message
De
08/01/2009 16:06:10
 
 
À
08/01/2009 15:23:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 6 SP5
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01372176
Message ID:
01372184
Vues:
24
The trick is to find the moniker, which is sometimes non-obvious. If the control can be dropped on a form, you can find it (most of the time; at least some of the ChilKat controls differ on this, and you have to use the moniker provided in their help pages for VFP) in the OleClass property. If there is a .1 or .2, etc., on the end, you can usually ignore that, which will make your program a little more robust.

And of course, the control must be registered using regsvr32.exe, in your %winsys% directory.

Hank

>yeah...what the title says.
>
>I've tried CREATEOBJ, but VFP keeps telling me that it can't find the class definition
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform