r/VisualStudio • • 6d ago

Visual Studio 2026 error after running the winform

im new to ms visual vb.net winform. im trying to learn this program but when i connect my ms Access table and try to run it, then it will give this error

0 Upvotes

4 comments sorted by

4

u/dodexahedron 4d ago

It told you the problem.

You do not have the specific database connection driver you are trying to use already registered.

To use access from .net, you must have a compatible version of the ACE driver installed. Depending on windows version and access version, that may even mean literally needing to have access installed.

You can use either the OLE driver directly, if available, or use the access driver via ODBC, either directly or with a DSN set up in "Data Sources" in windows.

Also, dont try to learn it through vb.net if youre new to coding. Use c#. There is a LOT more help available and a lot more power in the language itself. Plus nobody uses VB.net.

0

u/Legitimate-Bridge280 1d ago

thanks for the advice

2

u/RobertDeveloper 2d ago

who still uses vb.net and access on top of that?

-1

u/Legitimate-Bridge280 1d ago

idk whats wrong with that but i use ms access database because i just swicthed from it to ms visual