Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if SQL Server Native Client are installed?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Client/serveur
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01616877
Message ID:
01617165
Vues:
59
>>Hi All
>>
>>I'm using a SQL Azure Db in a project with VFP.
>>Everything works well so far. Now, accessing the SQL Azure DB needs SQL Server Native Client drivers v10 or V11.
>>
>>The idea is to check for the drivers and if not installed, install them.
>>
>>a) How can I check from VFP if the drivers are installed? (other than trap the error, which I'm doing already).
>>
>>b) How to install them programmatically if needed?
>>I'm thinking on including the sqlnclix32.msi in the VFP exe and then extracting it and running it, but I'm wondering if there is a best way.
>>
>>Thanks in advance!
>>
>>Max
>
>Hi Max,
>
>they are in the registry at HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.
>
>The FFC registry class is your friend. :)
>
>Hank

Hi Hank
Long time no talk!
At the end the error trapping worked very well, thanks for your input.
Max

...Y soy feliz, bien feliz, asi lo grito;
Mira, que el mundo sepa, que se sepa:
Soy feliz....                       

...And I'm happy, quite happy, so do I yell it;
Look, so the world knows it, so be known:
I'm happy...
 

Ismael Rivera "Oye cosita linda"
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform