Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP OleDb Provider Name
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01304763
Message ID:
01304774
Vues:
21
This message has been marked as the solution to the initial question of the thread.
The first one is version independent ProgID. The second one is version specific ProgID. In case of VFP OLE DB provider there ever was only version 1 so either one will work.

In general, when version independent ProgID is specified, Windows will use the lates instaled version of the COM server/ActiveX control.

>When specifying ConnectionString before opening AdoDb object I have seen two different syntax-es:
>
>
>loConn = Createobject("Adodb.connection")
>loConn.ConnectionString = "Provider=VFPOLEDB;Data Source="+Sys(2023)
>
>or
>
>loConn = Createobject("Adodb.connection")
>loConn.ConnectionString = "Provider=VFPOLEDB.1;Data Source="+Sys(2023)
>
>
>Note the difference in the Provider name. In one case it is VFPOLEDB and in the other case it is VFPOLEDB.1. Is this a significant difference? Which name will make the code better?
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform