r/visualbasic • u/nicholas_chye • Mar 10 '25
VB.NET Help please help me on this problem , idk what to do anymore
i tried alot of things but i cant seem to find the problem of why my visual basic database connection is not working , please help me
2
Upvotes


6
u/GeraldGrenade Mar 10 '25
I really struggled with that man, and I think the solution was to install the 32 bit version and force the VB to use the 32 bit version .. What version of VB are you using now ?
3
u/jd31068 Mar 10 '25
When you say you're trying to connect it to Visual Studio 2022, are you using the SQL Explorer? Have you created an app and are attempting to create a connection string? What version of vb.net?
Your code and connection string will be needed as well as the type and version of database you are trying to use.
2
u/falthazar Mar 10 '25
Is the database you are connecting too actually an Access db? Also have you googled the error?
1
u/Hel_OWeen Mar 10 '25
What exactly is your problem? I.e. show failing code and describe what you are trying to achieve.
1
u/bradinphx Mar 12 '25
What is the extension of your database file? I have been working with an old .MDB file lately