Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I made a small program in vb.net that uses a Access database. Now I'm wondering:

Do the users have to have Access installed on their computers to be able to use my program? I did a similiar program in vb 6 a time ago and then I solved the problem with including a .dll file so the users weren't access dependeble.

Grateful for answers.

Thanks!

Posted
As long as the user has the tools to access the mdb file - ie for .NET the appropriate system.data namespaces and OLEDB or ODBC drivers/providers then they don't need Access installed on their PC. If there is any doubt these namespaces & drivers/providers should be included in your setup project.

Afraits

"The avalanche has started, it is too late for the pebbles to vote"

Posted

Thanks for the answer!

So what more exactly should I include in my setup project to get this to work? I have used the oleDB namespace to connect to the database.

Posted
Checking the references your app uses should answer that question for you. If you are using Access then I think that everything you need would be contained within the standard .NET framework. If (for future reference) you use a provider for something that doesn't come with the .NET framework perhaps MYSQL as an example - then the setup package for that provider would need to be distributed with your app, after checking licensing requiremnets of course.

Afraits

"The avalanche has started, it is too late for the pebbles to vote"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...