Click here to Skip to main content
12,626,089 members (25,619 online)
Rate this:
 
Please Sign up or sign in to vote.
Hello,

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

thank you
Nazeem
Posted 7-Apr-10 1: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
Top Experts
Last 24hrsThis month


Advertise | Privacy | Mobile
Web02 | 2.8.161205.3 | Last Updated 7 Apr 2010
Copyright © CodeProject, 1999-2016
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