Thanks Mark. I appreciate the help.
>That would be correct.
>
>>Hi Mark,
>>
>>So I only need to look for the KEY 'MyDSN' under ODBC.INI? I thought i would be more involved.
>>Thanks.
>>
>>>>I found some info here on the UT to programaticaly create a new ODBC DSN. Now I need determine if one already exists. Is there a way?
>>>>
>>>>I want to use this in a post executable as part of the setup. The DSN will connect to a Visual FoxPro .dbc
>>>
>>>I use Rick Strahl's Registry class to check the registry for its existence. It is a free download from his web site.
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!