473,486 Members | 2,394 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Distribute Access .mdb file

Hi,

We're are about to develop an app in C# that will use a MS Access
database file for data storage. The db structure will not be
modified. The user will use the C# developed app to view and edit the
data (as well as add/delete records etc.).

In order to distribute or app (including .mdb file) to PC's without MS
Access installed do we need anything (I'm thinking specically about
the MS Access Runtime)?

What are the licensing implications for distributing access databases
(not access) to PC's without Access installed?

Regards and thanks,

Nick

P.S. This is going to be our first C# project after years with
Borland Builder. If anyone else has made the transition and has any
tales to tell I would be very interested in hearing them here or
ni*****@yahoo.co.uk
Nov 16 '05 #1
9 2701
Nick

I am under the impression that you need to have the Developer's Edition to
distribute .mdbs and the Runtime, OR, the user needs to have MS Access.
This is just an impression.

Have you checked for information on the Microsoft site?

--
Good luck

Jeff Boyce
<Access MVP>

Nov 16 '05 #2
Distributing an mdb file requires no license. The runtime allows one to
distribute an Access front-end. If being read from and written to by C#, you
won't need the Access runtime since you already have a front-end.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

"Nick" <ni*****@yahoo.co.uk> wrote in message
news:24*************************@posting.google.co m...
Hi,

We're are about to develop an app in C# that will use a MS Access
database file for data storage. The db structure will not be
modified. The user will use the C# developed app to view and edit the
data (as well as add/delete records etc.).

In order to distribute or app (including .mdb file) to PC's without MS
Access installed do we need anything (I'm thinking specically about
the MS Access Runtime)?

What are the licensing implications for distributing access databases
(not access) to PC's without Access installed?

Regards and thanks,

Nick

P.S. This is going to be our first C# project after years with
Borland Builder. If anyone else has made the transition and has any
tales to tell I would be very interested in hearing them here or
ni*****@yahoo.co.uk

Nov 16 '05 #3
"Nick" <ni*****@yahoo.co.uk> wrote in message
news:24*************************@posting.google.co m...

Firstly, please don't crosspost...
In order to distribute or app (including .mdb file) to PC's without MS
Access installed do we need anything (I'm thinking specically about
the MS Access Runtime)?
No - the MS Access Runtime is for running actual Access applications, not C#
applications which interface with a Jet database file (.MDB).
What are the licensing implications for distributing access databases
(not access) to PC's without Access installed?


None.
Nov 16 '05 #4
Thanks, Arvin. I wasn't familiar with the "arcania" of the licensing.

Nick, pardon my mis-understanding.

Jeff Boyce
<Access MVP>

"Arvin Meyer" <a@m.com> wrote in message
news:ep*************@tk2msftngp13.phx.gbl...
Distributing an mdb file requires no license. The runtime allows one to
distribute an Access front-end. If being read from and written to by C#, you won't need the Access runtime since you already have a front-end.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

"Nick" <ni*****@yahoo.co.uk> wrote in message
news:24*************************@posting.google.co m...
Hi,

We're are about to develop an app in C# that will use a MS Access
database file for data storage. The db structure will not be
modified. The user will use the C# developed app to view and edit the
data (as well as add/delete records etc.).

In order to distribute or app (including .mdb file) to PC's without MS
Access installed do we need anything (I'm thinking specically about
the MS Access Runtime)?

What are the licensing implications for distributing access databases
(not access) to PC's without Access installed?

Regards and thanks,

Nick

P.S. This is going to be our first C# project after years with
Borland Builder. If anyone else has made the transition and has any
tales to tell I would be very interested in hearing them here or
ni*****@yahoo.co.uk



Nov 16 '05 #5
To extend the original question a bit. If developing a C# app that uses an
access database should I install the latest Jet drivers during my apps
installation?

As I understand it MDAC no longer comes with Jet drivers so there is no need
to install MDAC. I believe there is a separate installer for the Jet
drivers. Should I be concerned with installing this to make sure the Jet
drivers are there or can I assume that every Windows machine has some
version of Jet? Or does the .Net Framework 1.1 include everything I need to
manipulate access databases?

Please correct me if I've made any incorrect statements above.

-Brett-

"Arvin Meyer" <a@m.com> wrote in message
news:ep*************@tk2msftngp13.phx.gbl...
Distributing an mdb file requires no license. The runtime allows one to
distribute an Access front-end. If being read from and written to by C#, you won't need the Access runtime since you already have a front-end.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access

"Nick" <ni*****@yahoo.co.uk> wrote in message
news:24*************************@posting.google.co m...
Hi,

We're are about to develop an app in C# that will use a MS Access
database file for data storage. The db structure will not be
modified. The user will use the C# developed app to view and edit the
data (as well as add/delete records etc.).

In order to distribute or app (including .mdb file) to PC's without MS
Access installed do we need anything (I'm thinking specically about
the MS Access Runtime)?

What are the licensing implications for distributing access databases
(not access) to PC's without Access installed?

Regards and thanks,

Nick

P.S. This is going to be our first C# project after years with
Borland Builder. If anyone else has made the transition and has any
tales to tell I would be very interested in hearing them here or
ni*****@yahoo.co.uk


Nov 16 '05 #6
"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:eD*************@TK2MSFTNGP10.phx.gbl...
Or does the .Net Framework 1.1 include everything I need to
manipulate access databases?


Yes it does. You need to reference either the System.Data.OleDb namespace
(preferred) or the System.Data.Odbc namespace to provide connectivity with
your .MDB file, and everything you need from that point is included in the
..Net Framework.

E.g. if you wrote a WinForms app which used a .MDB file for database
services, all you would need to do would be to compile the app and deploy
it. At install time, the compiled app would detect the presence or absence
of the .NET Framework, and invite you to install it if wasn't already
installed.
Nov 16 '05 #7
Excellent. So I simply need to be sure the .Net Framework is installed and
my C# Winforms app can be guaranteed that all necessary MS Access drivers
are in place on the machine?

That is just what I wanted to hear.

Thanks...

-Brett-

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:Om****************@TK2MSFTNGP10.phx.gbl...
"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:eD*************@TK2MSFTNGP10.phx.gbl...
Or does the .Net Framework 1.1 include everything I need to
manipulate access databases?


Yes it does. You need to reference either the System.Data.OleDb namespace
(preferred) or the System.Data.Odbc namespace to provide connectivity with
your .MDB file, and everything you need from that point is included in the
.Net Framework.

E.g. if you wrote a WinForms app which used a .MDB file for database
services, all you would need to do would be to compile the app and deploy
it. At install time, the compiled app would detect the presence or absence
of the .NET Framework, and invite you to install it if wasn't already
installed.

Nov 16 '05 #8
Brett,
Actually you will need MDAC 2.7 or greater to use an access back end so
you have to install that manually or integrate it into your distribution.
Also the newer version of MDAC don't include the Jet database engine files
see http://support.microsoft.com/default...b;en-us;239114 for
instructions on downloading the latest Jet 4.0 service pack which does
contain the files needed to use an Acess database under MDAC. I'd reccomend
using MDAC 2.8 as there have been some improvements in the engine's
performace with the latest version.

Ron Allen
"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Excellent. So I simply need to be sure the .Net Framework is installed and my C# Winforms app can be guaranteed that all necessary MS Access drivers
are in place on the machine?

That is just what I wanted to hear.

Thanks...

-Brett-

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:Om****************@TK2MSFTNGP10.phx.gbl...
"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:eD*************@TK2MSFTNGP10.phx.gbl...
Or does the .Net Framework 1.1 include everything I need to
manipulate access databases?


Yes it does. You need to reference either the System.Data.OleDb namespace (preferred) or the System.Data.Odbc namespace to provide connectivity with your .MDB file, and everything you need from that point is included in the .Net Framework.

E.g. if you wrote a WinForms app which used a .MDB file for database
services, all you would need to do would be to compile the app and deploy it. At install time, the compiled app would detect the presence or absence of the .NET Framework, and invite you to install it if wasn't already
installed.


Nov 16 '05 #9
Argh! Thank you for correcting me on this issue. This is in fact what I
was originally expecting. I was elated to hear from another poster that I
need not worry about this, so I am a bit dissapointed now of course.

But thanks for giving me more correct info. I would undoubtedly have run
into problems had I taken the original advice.

-Brett-
"Ron Allen" <rallen@_nospam_src-us.com> wrote in message
news:eX**************@TK2MSFTNGP11.phx.gbl...
Brett,
Actually you will need MDAC 2.7 or greater to use an access back end so you have to install that manually or integrate it into your distribution.
Also the newer version of MDAC don't include the Jet database engine files
see http://support.microsoft.com/default...b;en-us;239114 for
instructions on downloading the latest Jet 4.0 service pack which does
contain the files needed to use an Acess database under MDAC. I'd reccomend using MDAC 2.8 as there have been some improvements in the engine's
performace with the latest version.

Ron Allen
"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...
Excellent. So I simply need to be sure the .Net Framework is installed

and
my C# Winforms app can be guaranteed that all necessary MS Access drivers
are in place on the machine?

That is just what I wanted to hear.

Thanks...

-Brett-

"Mark Rae" <ma**@mark-N-O-S-P-A-M-rae.co.uk> wrote in message
news:Om****************@TK2MSFTNGP10.phx.gbl...
"Brett Robichaud" <br************@nospam.yahoo.com> wrote in message
news:eD*************@TK2MSFTNGP10.phx.gbl...

> Or does the .Net Framework 1.1 include everything I need to
> manipulate access databases?

Yes it does. You need to reference either the System.Data.OleDb

namespace (preferred) or the System.Data.Odbc namespace to provide connectivity with your .MDB file, and everything you need from that point is included in the .Net Framework.

E.g. if you wrote a WinForms app which used a .MDB file for database
services, all you would need to do would be to compile the app and deploy it. At install time, the compiled app would detect the presence or absence of the .NET Framework, and invite you to install it if wasn't already
installed.



Nov 16 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
3944
by: Ed Landau | last post by:
Hi: I've just developped a really simple MS Access App. The VBA runs within the database. It uses some DLLs which I register with a script. It's on MS Access2003 (Office11). I've got 2003Pro...
8
6929
by: Larry__Weiss | last post by:
What kind of licensing is needed to be able to use the Microsoft Access product and distribute the applications? In other words, what version of Microsoft Access does a developer need to buy in...
1
1432
by: Rufus DeDufus | last post by:
I want to write an app that uses the jet back end. What Access (Jet) binaries must I distribute? Where do I get (that is, what must I purchase) to get the Jet bits and the rights to distribute? ...
1
522
by: pw | last post by:
Hi, I can't find anything about a toolkit on Microsoft site or what is needed to distribute an Access 2003 application (like the SDK w/ Access 97). I assume this is still possible. What do I...
3
2389
by: Nick | last post by:
Hi, We're are about to develop an app in C# that will use a MS Access database file for data storage. The db structure will not be modified. The user will use the C# developed app to view and...
4
1718
by: Darius | last post by:
How to distribute a C program into many C files ? this is the first question a C programmer asks after learning C basics, Questions like --what is a header file --where should i put global...
15
1950
by: Bob Alston | last post by:
Is it considered best practice to distribute FE databases as MDEs rather than MDBs? Without flaming me for asking the question, could someone please enumerate the key advantages? Also I like to...
1
4053
by: akbar | last post by:
Hi, I am creating not-so-important opensource application written in python for Linux. I have two files python source in src directory, named blabla1.py and blabla2.py. There are byte compiled...
11
2674
by: jackbenimble999 | last post by:
Hello! I'd like to distribute an application developed in MS Access 2003. I've looked at the MS web site and it says although the ability to distribute is included with MS Office Retail, you...
2
1513
by: sms1973 | last post by:
Hello, I have built an application web site using ASP.NET 2003 and MSSQL database server. I now need to distribute the entire application to customers on a CD to run the web application...
0
7105
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6967
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6846
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7341
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5439
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4870
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
1381
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
600
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
266
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.