TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
RICHARD ARNOLD
NA
11
0
Retrieving specific DSN configuration data
Dec 27 2006 12:50 PM
I am writing a C# WinForm application to work with ODBC DSN configuration data.
My form has a text box that will take a
particular DSN
name as a search value. I want to be able to do the following two things:
#1)
Retrieve a specific DSN by name, i.e., HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\
MyDSN
interate through ALL the "name", "data type", & "value"s associated with that particular DSN and write the data to a file.
Also,
#2)
retrieve this information and recreate the DSN using this data.
I can see several DSNs via LocalMachine\Software\ODBC\ODBC.INI\ODBC Data Sources. However, I want to retrieve just a specific DSN by name and acquire its values.
Any coding suggestions to accomplish this would be much appreciated. Thank you.
Reply
Answers (
0
)
Some questiones from a beginner...
Excel report: error in code