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.

VB6 and SQL 2005

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Emma - 27 Oct 2006 20:18 GMT
How do I connect to SQL Server 2005 from within VB? I am currently using the
collowing connection string:

"Driver={SQL
Server};Server=ServerName;Database=MyDBName;Uid=UserName;Pwd=MyPWD;"

thanks
Emma
Ralph - 27 Oct 2006 20:36 GMT
> How do I connect to SQL Server 2005 from within VB? I am currently using the
> collowing connection string:
[quoted text clipped - 4 lines]
> thanks
> Emma

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.