Hi Chris, sorry for the delay, I just email you a sample file that you
could use for this problem, I also uploaded the file here in the
Download section.
Good luck
>Thank you. That will be extremely helpful.
>
>>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.
Luis Guzman, MCP
"The only glory most of us have to hope for
is the glory of being normal." Katherine Fulleton Gerould