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 

ODBC Connection?

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





PostPosted: Thu Feb 22, 2007 5:56 am    Post subject: ODBC Connection? Reply with quote



How,

I'm guessing this isn't the correct forum, but I was wondering if anybody
could point me in the right direction for connecting to a DB through ODBC
using C++Builder. I been searching through the borland site and can't find
anything. Thanks,
MGA
Back to top
Azrin Aris
Guest





PostPosted: Thu Feb 22, 2007 8:04 pm    Post subject: Re: ODBC Connection? Reply with quote



MGA wrote:
Quote:
How,

I'm guessing this isn't the correct forum, but I was wondering if anybody
could point me in the right direction for connecting to a DB through ODBC
using C++Builder.

you can use TADOConnection and other ADO components
Back to top
Ron Sawyer
Guest





PostPosted: Fri Feb 23, 2007 8:02 pm    Post subject: Re: ODBC Connection? Reply with quote



If you use those, do you have to distribute the BDE?
Back to top
Azrin Aris
Guest





PostPosted: Sat Feb 24, 2007 9:06 am    Post subject: Re: ODBC Connection? Reply with quote

Ron Sawyer wrote:
Quote:
If you use those, do you have to distribute the BDE?


sorry, I'm not sure of it.
Back to top
Vassiliev V. V.
Guest





PostPosted: Sat Feb 24, 2007 6:02 pm    Post subject: Re: ODBC Connection? Reply with quote

You do not need to distribute BDE if you will not connect to Paradox or DBF
files. You may also look for third-party components for ODBC.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Ron Sawyer" <XXXRSAWYER8128XQQXX (AT) aol (DOT) com> сообщил/сообщила в новостях
следующее: news:45def3af$1 (AT) newsgroups (DOT) borland.com...
Quote:
If you use those, do you have to distribute the BDE?

Back to top
Ron Sawyer
Guest





PostPosted: Sat Feb 24, 2007 8:26 pm    Post subject: Re: ODBC Connection? Reply with quote

I will be using an MS Access file. I would prefer not to have to install
the BDE if I don't have to.

"Vassiliev V. V." <support (AT) oledbdirect (DOT) com> wrote in message
news:45e02950$1 (AT) newsgroups (DOT) borland.com...
Quote:
You do not need to distribute BDE if you will not connect to Paradox or
DBF
files. You may also look for third-party components for ODBC.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Ron Sawyer" <XXXRSAWYER8128XQQXX (AT) aol (DOT) com> сообщил/сообщила в новостях
следующее: news:45def3af$1 (AT) newsgroups (DOT) borland.com...
If you use those, do you have to distribute the BDE?



Back to top
Vassiliev V. V.
Guest





PostPosted: Sun Feb 25, 2007 1:10 am    Post subject: Re: ODBC Connection? Reply with quote

Use TADOConnection and provider Microsoft.Jet.OLEDB.4.0 - it is native OLEDB
provider that does not use ODBC. It is one of best options for MS Access, if
you have ADO components in your C++ Builder.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)



"Ron Sawyer" <XXXRSAWYER8128XQQXX (AT) aol (DOT) com> сообщил/сообщила в новостях
следующее: news:45e04aca$1 (AT) newsgroups (DOT) borland.com...
Quote:
I will be using an MS Access file. I would prefer not to have to install
the BDE if I don't have to.

"Vassiliev V. V." <support (AT) oledbdirect (DOT) com> wrote in message
news:45e02950$1 (AT) newsgroups (DOT) borland.com...
You do not need to distribute BDE if you will not connect to Paradox or
DBF
files. You may also look for third-party components for ODBC.

//------------------------------------------
Regards,
Vassiliev V. V.
http://www.managed-vcl.com - using .Net objects in Delphi for Win32 +
ADO.Net
http://www.oledbdirect.com - The fastest way to access MS SQL Server,
MS Jet (Access) and Interbase (through OLEDB)


"Ron Sawyer" <XXXRSAWYER8128XQQXX (AT) aol (DOT) com> сообщил/сообщила в новостях
следующее: news:45def3af$1 (AT) newsgroups (DOT) borland.com...
If you use those, do you have to distribute the BDE?





Back to top
Ron Sawyer
Guest





PostPosted: Sun Feb 25, 2007 6:07 pm    Post subject: Re: ODBC Connection? Reply with quote

Excellent, thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> C++ Builder Databases (SQL Servers) 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.