Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get the database drivers on the machine
Message
De
19/11/2009 06:29:55
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01435535
Message ID:
01435538
Vues:
41
>>how to get the database drivers on the machine so as to create a stringconnect to sqlserver
>>Rajesh
>
>
>CLEAR
>DECLARE INTEGER SQLGetInstalledDrivers IN odbccp32 STRING @, INTEGER, INTEGER @
>m1 = SPACE(80000)
>m2 = 0
>IF SQLGetInstalledDrivers(@m1, 80000, @m2) # 0
>    m1 = STRTRAN(LEFT(m1, m2),CHR(0), CHR(13)+CHR(10))
>    lnLines = ALINES(aaaa,m1)
>    FOR lnFor = 1 TO lnLines
>        ? aaaa[lnFor]
>    NEXT
>ENDIF
>
Thanks it what I wanted.
But why can't I mark it as solution.
Back after lot of days.
Rajesh
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform