Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding ActiveX control to a form
Message
 
 
À
28/06/2009 00:32:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Divers
Thread ID:
01408828
Message ID:
01408836
Vues:
43
>I don't know much about vb the original code was from VB5 I opened it in VB8 and it did a conversion. Here is what I can find in declarations.
>
>Attribute VB_Name = "Common"
>Public gps As New GarXface4Lib.gps
>Public msgLogger As New GarXface4Lib.MessageLogger

Try

thisform.gps = Createobject("GarXFace4Lib.gps')
thisform.MessageLoger = Createobject('GarXface4Lib.MessageLogger')

(First made these new properties in the Form's menu). If, of course, Sergey's advice of adding them from Form's toolbar would not work.
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform