Click here to Skip to main content
14,925,975 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
I have taken VB 6.0 project from my friend. I opened VB and SQL server.But its showing an error occured in the connection string.
please help me out with the problem! please

What I have tried:

VB 6.0 and SQL SERVER MANAGEMENT STUDIO
Posted
Updated 26-Apr-21 3:53am
Comments
SeanChupas 23-Apr-21 13:54pm
   
Fix the connection string.
Dave Kreskowiak 23-Apr-21 14:20pm
   
Without seeing your connection string, and knowing a couple details of your SQL Server installation, IT IS IMPOSSIBLE FOR ANYONE TO HELP YOU.

On top of that, why on earth are you still using VB6? It's been dead for 20 years now.

1 solution

As you have not deemed to share the details of the connection string the only help we can offer is a generic set of instructions to create that connection string See SQL Server connection strings - ConnectionStrings.com[^]

Some other information that might help
Connecting to SQL Server using VB6-VBForums[^]
How to Connect to SQL From VB6 | Small Business - Chron.com[^]

If you actually share some details we might be able to help further
   

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




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900