>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement