Re: Saving DSNs?

Tech-Archive recommends: Speed Up your PC by fixing your registry



Walter
We're actually using C rather than C#, but since I speak C# better than C
I used C# as a testbed for our ODBC/PostgreSQL work. In any case I'll take a
look at the referenced article and see if I can translate that into C.

Thanks again.

Bill

"Walter Wang [MSFT]" <wawang@xxxxxxxxxxxxxxxxxxxx> wrote in message
news:ILSVhogZHHA.540@xxxxxxxxxxxxxxxxxxxxxxxxx
Hi Bill,

Glad to work with you again.

Instead of exporting/importing DSN from/to registry, do you think
programmatically creating the DSN will meet your requirement? From your
previous post, I understand that you're using C#, therefore I recommend
following article on an example on how to do this in C#:

#Dynamically adding DSN-names - The Code Project - C# Database
http://www.codeproject.com/cs/database/DSNAdmin.asp

Please feel free to let me know if I've misunderstood anything.

Regards,
Walter Wang (wawang@xxxxxxxxxxxxxxxxxxxx, remove 'online.')
Microsoft Online Community Support

==================================================
When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.
==================================================

This posting is provided "AS IS" with no warranties, and confers no
rights.



.