Unix Technical Forum

New to SQL, Problem setting up "Data Sources (ODBC)"

This is a discussion on New to SQL, Problem setting up "Data Sources (ODBC)" within the MS SQL ODBC forums, part of the Microsoft SQL Server category; --> I'm an old C/C++ programmer, but new to SQL and MS SQL Server. I'm writing an application in C++/MFC ...


Go Back   Unix Technical Forum > Database Server Software > Microsoft SQL Server > MS SQL ODBC

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 08:43 PM
Corey Cooper
 
Posts: n/a
Default New to SQL, Problem setting up "Data Sources (ODBC)"

I'm an old C/C++ programmer, but new to SQL and MS SQL Server.

I'm writing an application in C++/MFC (6.0) that happens to need some access
to data from an SQL Server. When installing Visual C++, it has option for
installing database components and ODBC Drivers, which I did a while ago
when I installed VC. This sets up a program in the Control Panel called
"Data Sources (ODBC)", all well and good. However I wanted to do some work
on my Laptop, and it doesn't have that control panel. I went through the
procedure talked about in the "Sams Teach yourself Database Programming with
Visual C++ 6.0" to add the ODBC drivers from the Visual C++ installation
disks, and it says that they are all already installed.

All this is frustrating, and I need to get this resiolved, but the bigger
question is; how do I load this on my Client's machine? Is this the "Client
Tools" or "Drivers" that can be loaded from the SQL Server installation
disk? I don't have a 'clean' machine available to try it out.

Corey


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 08:43 PM
Cindy Winegarden
 
Posts: n/a
Default Re: New to SQL, Problem setting up "Data Sources (ODBC)"

Hi Corey,

You haven't said which OS you are using. Mine's in the Administrative Tools
section of the Control Panel. Alternatively (in XP at least) you can run
%systemroot%\system32\odbcad32.exe .

Since you're starting new code have you considered OLE DB? ODBC has been
deprecated.

--
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Corey Cooper" <CoreyC at InnovativeDesign dot com> wrote in message
news:u%23YF1WSVFHA.2768@tk2msftngp13.phx.gbl...
> I'm an old C/C++ programmer, but new to SQL and MS SQL Server.
>
> I'm writing an application in C++/MFC (6.0) that happens to need some
> access
> to data from an SQL Server. When installing Visual C++, it has option for
> installing database components and ODBC Drivers, which I did a while ago
> when I installed VC. This sets up a program in the Control Panel called
> "Data Sources (ODBC)", all well and good. However I wanted to do some
> work
> on my Laptop, and it doesn't have that control panel. I went through the
> procedure talked about in the "Sams Teach yourself Database Programming
> with
> Visual C++ 6.0" to add the ODBC drivers from the Visual C++ installation
> disks, and it says that they are all already installed.
>
> All this is frustrating, and I need to get this resiolved, but the bigger
> question is; how do I load this on my Client's machine? Is this the
> "Client
> Tools" or "Drivers" that can be loaded from the SQL Server installation
> disk? I don't have a 'clean' machine available to try it out.
>
> Corey
>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-27-2008, 08:43 PM
Corey Cooper
 
Posts: n/a
Default Re: New to SQL, Problem setting up "Data Sources (ODBC)"

Thanks for the response. I'm working with Win 2K machines, and I'll look
for the file.

The other part of that question, is what is the correct way to 'distribute'
the odbc drivers for MS SQL Server?

I have several MFC books that talk about how to use CRecordset, and so that
became the way I decided to go. Since my app is relativly simple on the
database end of things, the MFC classes seemed to do everything I needed,
just lookup and display.

c.

"Cindy Winegarden" <cindy_winegarden@msn.com> wrote in message
news:u93K2TbVFHA.2520@TK2MSFTNGP09.phx.gbl...
> Hi Corey,
>
> You haven't said which OS you are using. Mine's in the Administrative

Tools
> section of the Control Panel. Alternatively (in XP at least) you can run
> %systemroot%\system32\odbcad32.exe .
>
> Since you're starting new code have you considered OLE DB? ODBC has been
> deprecated.
>
> --
> Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
> cindy_winegarden@msn.com www.cindywinegarden.com
> Blog: http://spaces.msn.com/members/cindywinegarden
>
>
> "Corey Cooper" <CoreyC at InnovativeDesign dot com> wrote in message
> news:u%23YF1WSVFHA.2768@tk2msftngp13.phx.gbl...
> > I'm an old C/C++ programmer, but new to SQL and MS SQL Server.
> >
> > I'm writing an application in C++/MFC (6.0) that happens to need some
> > access
> > to data from an SQL Server. When installing Visual C++, it has option

for
> > installing database components and ODBC Drivers, which I did a while ago
> > when I installed VC. This sets up a program in the Control Panel called
> > "Data Sources (ODBC)", all well and good. However I wanted to do some
> > work
> > on my Laptop, and it doesn't have that control panel. I went through

the
> > procedure talked about in the "Sams Teach yourself Database Programming
> > with
> > Visual C++ 6.0" to add the ODBC drivers from the Visual C++

installation
> > disks, and it says that they are all already installed.
> >
> > All this is frustrating, and I need to get this resiolved, but the

bigger
> > question is; how do I load this on my Client's machine? Is this the
> > "Client
> > Tools" or "Drivers" that can be loaded from the SQL Server installation
> > disk? I don't have a 'clean' machine available to try it out.
> >
> > Corey
> >
> >

>
>



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-27-2008, 08:43 PM
Cindy Winegarden
 
Posts: n/a
Default Re: New to SQL, Problem setting up "Data Sources (ODBC)"

They should already be on the machines.

--
Cindy Winegarden MCSD, Microsoft Visual Foxpro MVP
cindy_winegarden@msn.com www.cindywinegarden.com
Blog: http://spaces.msn.com/members/cindywinegarden


"Corey Cooper" <CoreyC at InnovativeDesign dot com> wrote in message
news:e4ojWLgVFHA.2128@TK2MSFTNGP15.phx.gbl...
> The other part of that question, is what is the correct way to
> 'distribute'
> the odbc drivers for MS SQL Server?



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:13 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com