Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Access VFP from VB
Message
 
À
15/03/2000 08:55:28
Steven Dyke
Safran Seats USA
Texas, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00345765
Message ID:
00345818
Vues:
20
It's not clear what your trying to do, but you can't bind VB DataControl to a VFP object, you can do one of several things:

1) You can use the VFP ODBC connection to use VFP data natively in the VB DataControl, you don't need VFP in this case, the VFPODBC
installs as part of ADO 2.x

2) You can write a VFP .DLL that is installed as a COM object, you can then create a VB custom control that is a data provider, and
write code in the VB control to instantiate the VFP COM object and call your methods. In this case, the distribution penalty is the VB
runtime DLL, the VFP runtime DLL, your DLL, and any VB OCX controls you use (thats why this isn't that popular)

HTH,
Ed

>Where or who can give me guideance on accessing VFO from VB? I can't seem to get my table to work in the VB DataControl environment.
>
>Thanks and God Bless,
>S. Dyke
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform