 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Raul Lorenzo Guest
|
Posted: Mon Feb 20, 2006 1:03 am Post subject: How could I Access ODBC configuracion? |
|
|
Hi,
How could I Access ODBC configuracion to create, delete, modify entries
from ODBC DSN? |
|
| Back to top |
|
 |
Jayme Jeffman Filho Guest
|
Posted: Mon Feb 20, 2006 3:03 pm Post subject: Re: How could I Access ODBC configuracion? |
|
|
Hi,
By using BDE Administrator (in the Control Panel) or Database Explorer
(C++Builder IDE) when you right click on "Databases" ( the root of the
TreeView) it shows the "ODBC Administrator" or directly call the Windows
ODBC Data Source Admin. It is located on the "Administrative Tool" folder of
the Control Panel if you are using XP, I am not sure if on W2K it is on the
same place.
After openinng the ODBC Administrator you can just click on the data sources
and delete or modify their parameters values.
HTH
Jayme.
"Raul Lorenzo" <rlorenb (AT) agalisa (DOT) es> escreveu na mensagem
news:43f9056a (AT) newsgroups (DOT) borland.com...
| Quote: | Hi,
How could I Access ODBC configuracion to create, delete, modify entries
from ODBC DSN? |
|
|
| Back to top |
|
 |
Raul Lorenzo Guest
|
Posted: Mon Feb 20, 2006 9:03 pm Post subject: Re: How could I Access ODBC configuracion? (With CODE) |
|
|
I mean by code, sorry i don´t explain it well
Jayme Jeffman Filho escribió:
| Quote: | Hi,
By using BDE Administrator (in the Control Panel) or Database Explorer
(C++Builder IDE) when you right click on "Databases" ( the root of the
TreeView) it shows the "ODBC Administrator" or directly call the Windows
ODBC Data Source Admin. It is located on the "Administrative Tool" folder of
the Control Panel if you are using XP, I am not sure if on W2K it is on the
same place.
After openinng the ODBC Administrator you can just click on the data sources
and delete or modify their parameters values.
HTH
Jayme.
"Raul Lorenzo" <rlorenb (AT) agalisa (DOT) es> escreveu na mensagem
news:43f9056a (AT) newsgroups (DOT) borland.com...
Hi,
How could I Access ODBC configuracion to create, delete, modify entries
from ODBC DSN?
|
|
|
| Back to top |
|
 |
Vladimir Stefanovic Guest
|
Posted: Mon Feb 20, 2006 11:03 pm Post subject: Re: How could I Access ODBC configuracion? (With CODE) |
|
|
Search the net for SQLConfigDataSource()
There are many examples available.
And in your BCB coud you'll have to add:
#include <odbcinst.h>
#pragma comment(lib, "odbccp32.lib")
to start with it.
--
Best Regards,
Vladimir Stefanovic |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|