Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: SQL-server-2005
Hello,
 
Can anyone tell me how to connect DB in SQL 2005 from VB6 using ODBC ???
 
thank you
Nazeem
Posted 7-Apr-10 0:25am

1 solution

Rate this: bad
good
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.
 
Regards.
Jitendra
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 359
1 Nirav Prabtani 273
2 OriginalGriff 229
3 _Amy 165
4 Maciej Los 145
0 OriginalGriff 7,744
1 Sergey Alexandrovich Kryukov 6,956
2 Maciej Los 3,994
3 Peter Leow 3,708
4 CHill60 2,742


Advertise | Privacy | Mobile
Web03 | 2.8.140721.1 | Last Updated 7 Apr 2010
Copyright © CodeProject, 1999-2014
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