Re: Saving DSNs?
- From: "Bill Cohagan" <cohagan@xxxxxxxxxxxxx>
- Date: Wed, 14 Mar 2007 11:55:37 -0500
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.
.
- Follow-Ups:
- Re: Saving DSNs?
- From: Walter Wang [MSFT]
- Re: Saving DSNs?
- References:
- Saving DSNs?
- From: Bill Cohagan
- RE: Saving DSNs?
- From: Walter Wang [MSFT]
- Saving DSNs?
- Prev by Date: RE: Saving DSNs?
- Next by Date: Am I a fool or idiot?!! ODBC Access Error
- Previous by thread: RE: Saving DSNs?
- Next by thread: Re: Saving DSNs?
- Index(es):