BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How could I Access ODBC configuracion?

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop)
View previous topic :: View next topic  
Author Message
Raul Lorenzo
Guest





PostPosted: Mon Feb 20, 2006 1:03 am    Post subject: How could I Access ODBC configuracion? Reply with quote



Hi,

How could I Access ODBC configuracion to create, delete, modify entries
from ODBC DSN?
Back to top
Jayme Jeffman Filho
Guest





PostPosted: Mon Feb 20, 2006 3:03 pm    Post subject: Re: How could I Access ODBC configuracion? Reply with 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...
Quote:
Hi,

How could I Access ODBC configuracion to create, delete, modify entries
from ODBC DSN?
Back to top
Raul Lorenzo
Guest





PostPosted: Mon Feb 20, 2006 9:03 pm    Post subject: Re: How could I Access ODBC configuracion? (With CODE) Reply with quote



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





PostPosted: Mon Feb 20, 2006 11:03 pm    Post subject: Re: How could I Access ODBC configuracion? (With CODE) Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (Desktop) All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.