Computing.Net > Forums > Programming > Writing a program or script?

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

Writing a program or script?

Reply to Message Icon

Original Message
Name: Calibra94
Date: July 6, 2004 at 12:59:02 Pacific
Subject: Writing a program or script?
OS: Windows XP
CPU/Ram: 2.0Ghz P4 1GB RAM
Comment:

I am trying to find a way of writing some sort of program or script that will add some ODBC entries into the system DSN for me as I currently have to manually do this everytime I configure a certain application. Is there a way of doing this?

Any help much appreciated.
Rob.


Report Offensive Message For Removal


Response Number 1
Name: Chi Happens
Date: July 6, 2004 at 13:47:23 Pacific
Reply: (edit)

Yes,
You can do it using any windows programming language as there are several Win32 API functions that help you do this.


SQLDataSources
SQLAllocEnv
SQLConfigDataSource

Hope this helps,

Chi


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home








Do you have your own blog?

Yes
No
I did before
I will soon


View Results

Poll Finishes In 4 Days.
Discuss in The Lounge
Poll History




Data Recovery Software