I changed VB 2017 to 2022 and my Imports system.data.Sqlclient turned light color

manny cash

Active member
Joined
Oct 19, 2024
Messages
34
Programming Experience
Beginner
Hi, Guys, Blessing!

I changed my VB 2017 to VB 2022, and my code doesn't work. I had set up my Imports System.Data.SqlClient, and it turned a light color. My connection string doesn't work, and some textboxes and parameters don't work, either. I don't know what I can do. That is something weirder for me, I have no experience solving this situation, so I come back here to ask you for any suggestions.

Thank you very much to all of you.
 
Did you install the framework your project uses?

No, I do not know about that. The 2022 VB.NET doesn't recognize my connection string, but some textboxes in VB 2017 are running well. Also, the parameter for data collection, I tried to fix it with a friend withevents, but nothing worked. I feel frustrated, and I will be working in my old VB 2017.

Thank you
 
Did you install the framework your project uses?

If it's an existing project then, assuming it's still on the same machine, the target framework is already installed. If it's a new project then VS wouldn't let you target a framework that isn't installed.
 
Back
Top