Click here to Skip to main content
13,301,591 members (95,572 online)
Rate this:
Please Sign up or sign in to vote.

Can anyone tell me how to connect DB in SQL 2005 from VB6 using ODBC ???

thank you
Posted 7-Apr-10 1:25am

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

Hi Nadeem,
the simplest way is to use DSN.
Go to control panel, select administrative tools then Open Database connectivity.
In that create a DSN for SQL Server and user that DSN in your code.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web02 | 2.8.171207.1 | Last Updated 7 Apr 2010
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100