Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Installation procedure for a VFP 7 and SQL Server 2000 a
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows Server 2003
Database:
MS SQL Server
Divers
Thread ID:
01196369
Message ID:
01197587
Vues:
17
Hi Chris, In my particular situation I have code embedded in my application to handle that, I checked for the existence of the DSN and if it doesn't exists I create it on the fly. You can use RegCreateKeyEX or RegCreateKey to create it, see:
http://msdn2.microsoft.com/en-us/library/ms724842.aspx

And RegOpenKey to see if the DSN exists, see:
http://msdn2.microsoft.com/en-us/library/ms724897.aspx

One way to learn this is by creating a DSN manually, look at it in the
registry and then make changes to the DSN or delete it and see how the registry changed. Let me know if you need further help.

Good luck



>Hi Luis,
>
>Will InstallShield also work for installing the ODBC System DSN? I hadn't even thought about that, as I have just used InstallShield for installing the VFP part of the system.
>
>>Hi Chris, you can use InstallShield, it comes with Fox, we have the same situation and we used InstallShield without a problem.
>>
>>HTH, good luck.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform