Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Any advantage to using a DLL as middleware in a C/S app?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Divers
Thread ID:
00105729
Message ID:
00106990
Vues:
29
>John, I know I should know this, but what is "ActiveX Data Binding", besides >something that VFP doesn't do yet? :-) Also, how about "surfacing events"? >Thanks much....

In VB, you can bind an ADO recordset directly to a grid. Bascially, thats ActiveX Data Binding.

With regarding to surfacing events, in a VB Class Module, you can issue this code:

Dim WithEvents oconn As ADODB.Connection

All of the events associated with an ADO Connection are exposed in the VB class. This does not occur in VFP. Hence, all we can attached code to is our own methods. In VB, you can attached code to the ConnectComplete() Event. In VFP, because we dont have the ability to include events - the events can't be surfaced in VFP. A major limitation for VFP COM Objects IMHO.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform