Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsVB SyntaxEnterprise DevelopmentDatabase AccessControlsCOMWin APICrystal ReportDeploymentGeneralGeneral 2
Related Topics
VB.NET / ASP.NETMS SQL ServerMS AccessOther Database ProductsMore Topics ...

VB Forum / Database Access / October 2006



Tip: Looking for answers? Try searching our database.

Accessing SQL Server 2005 With VB6.0 ADO

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Robert E. Flaherty - 24 Oct 2006 23:04 GMT
The connection string that I have been using to connect to SQL Server 2000
is like the following:

provider=sqloledb.1;Persist Security Info=False;Data Source=MyServer;Initial
Catalog=MyDatabase;User ID=MyUsername;Password=MyPassword;

What changes would I need to make to the above connection string in order to
be able to access SQL Server 2005?
Ralph - 25 Oct 2006 12:53 GMT
> The connection string that I have been using to connect to SQL Server 2000
> is like the following:
[quoted text clipped - 4 lines]
> What changes would I need to make to the above connection string in order to
> be able to access SQL Server 2005?

http://www.connectionstrings.com/

Also check out the "Using Data Link" topic in the Windows Help file
(Start->Help). Udl provides a simple mechanism for building and testing
connection strings for your domain. When you are done, open the file in
notepad and copy the connection string into your program.

hth
-ralph
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.