Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7966471
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T06:26:09+00:00 2026-06-04T06:26:09+00:00

Do you know which module in VB.net will allow me to connect to a

  • 0

Do you know which module in VB.net will allow me to connect to a file (mdf/mdb) and SQL Server (not at the same time but to change in runtime).

Or do you know of two modules which have the same API?

I’m building software which I will wont work both locally and on a server. But I don’t want to have to go changing all of my code just because I’m using a different modules. I know VB.net, but I’ve never used databases.

There’s so many different database connectors its confusing!

Thank you, answers and comments are much appreciated!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T06:26:10+00:00Added an answer on June 4, 2026 at 6:26 am

    The System.Data namespace provides base classes that can work against any supported data source via ADO. You could connect to both SQL and MDB with the OleDb provider, but it would be much faster if you used the native SqlClient provider when accessing SQL Server. You may find the DbProviderFactories class very helpful:

    http://msdn.microsoft.com/en-us/library/dd0w4a2z.aspx

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I built a small module in ASP.net MVC which consists of a javascript file
I am looking for a Monodevelop module which would allow me to run ADO.NET
Does somebody know a module, which has a function that returns ( for example
I need to know which stored procedures are running. It's not an option to
I am writing a plug-in module for Revit Architecture, which provides a .NET API.
I want to build a website in ASP.net, and to integrate a module which
I've got a VB.NET module that reads from a resource file to display text
I am rewriting urls in my ASP.net application (not mvc) using a custom module.
Hmm. I found this which seems promising: http://sourceforge.net/projects/mjpg-streamer/ Ok. I will try to explain
I have made a module which is transmitting but I don't know whether the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.