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.aspxAnd RegOpenKey to see if the DSN exists, see:
http://msdn2.microsoft.com/en-us/library/ms724897.aspxOne 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