473,395 Members | 1,554 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Access to MDB's

What is the best way to get data from an MDB (Access)
file into a Win Form?

And is there a way to do this but not have to install the
H-U-G-E MDAC? (Note: My target users are on Windows 2000
and XP systems.)

My experiences up till now are:

I have been using the Jet driver under OleDbAdapter but I
understand from the MDAC web site that MS stopped
supporting Jet drivers in MDAC 2.6 and later.

I tried the OdbcDataAdapter and that worked but is that
support also going away?

Thanks!

Bob

Nov 21 '05 #1
10 1285
Bob,

My opinion is simple,

ADONET and OleDB

After a reinstall I have never installed MDAC's anymore.

Cor
Nov 21 '05 #2
"BobAchgill" <an*******@discussions.microsoft.com> schrieb:
And is there a way to do this but not have to install the
H-U-G-E MDAC? (Note: My target users are on Windows 2000
and XP systems.)


You can distribute MDAC as part of your application's setup:

"How to Install MDAC with a Windows Installer Merge Module" White Paper Is
Available
<URL:http://support.microsoft.com/?scid=kb;EN-US;320788>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
Nov 21 '05 #3
Yes, I have been successful to use this merge module. I
think you told me about it before and it works.

My question is is there a way to get the job done with
out having to install all of the MDAC (5+MB download ->
20MB installed)

I know when I worked with MYSQL database using ODBC the
driver was only 250KB.

Bob

-----Original Message-----
"BobAchgill" <an*******@discussions.microsoft.com> schrieb:
And is there a way to do this but not have to install the H-U-G-E MDAC? (Note: My target users are on Windows 2000 and XP systems.)


You can distribute MDAC as part of your application's

setup:
"How to Install MDAC with a Windows Installer Merge Module" White Paper IsAvailable
<URL:http://support.microsoft.com/?scid=kb;EN-US;320788>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>
.

Nov 21 '05 #4
To clarify...So your experience is that from a Clean
install of Windows 2000 or XP that you can get ADO.NET +
OleDB to access a MDB file from in a Win Form?? With out
installing MDAC.

Was that using the Jet driver selection? I guess that
would mean that .Net has the Jet driver built in?

I thought I had tried this before but maybe not.

The hard part is to test it because I don't have a clean
machine. Can't unintall MDAC to try it. :o(

Bob

-----Original Message-----
Bob,

My opinion is simple,

ADONET and OleDB

After a reinstall I have never installed MDAC's anymore.

Cor
.

Nov 21 '05 #5
On Mon, 17 Jan 2005 00:19:05 -0800, "BobAchgill"
<an*******@discussions.microsoft.com> wrote:

¤ What is the best way to get data from an MDB (Access)
¤ file into a Win Form?
¤
¤ And is there a way to do this but not have to install the
¤ H-U-G-E MDAC? (Note: My target users are on Windows 2000
¤ and XP systems.)
¤
¤ My experiences up till now are:
¤
¤ I have been using the Jet driver under OleDbAdapter but I
¤ understand from the MDAC web site that MS stopped
¤ supporting Jet drivers in MDAC 2.6 and later.
¤
¤ I tried the OdbcDataAdapter and that worked but is that
¤ support also going away?

The underlying technology is still the same. MDAC and Jet are required.

XP comes with Jet 4.0 and MDAC installed. I also seem to recall that MDAC is
installed with .NET Framework 1.1.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #6

I found this (see link below) which suggest that only ODBC Desktop Pack
drivers ARE included with 2000 and XP operating systems. I guess this
means not Jet.

What are the trades for me switching to using ODBC instead of Jet so I
don't have to have my users install Jet?

Bob

-------------------------------------------------------------------
How to obtain the latest service pack for the Microsoft Jet 4.0
Database Engine
http://support.microsoft.com/kb/239114#9

If you obtain the Jet 4.0 Service Pack 8 download for computers that
are running Microsoft Windows 95, Microsoft Windows 98, and Microsoft
Windows NT version 4.0, you will also receive the ODBC Desktop Driver
Pack drivers. These drivers are included with the Windows 2000
operating system, the Windows XP operating system, and the Windows
Server 2003 operating system. The ODBC Desktop Driver Pack drivers
includes the following files:

Nov 21 '05 #7
On 18 Jan 2005 01:16:47 -0800, "BobAchgill" <Bo********@hotmail.com> wrote:

¤
¤ I found this (see link below) which suggest that only ODBC Desktop Pack
¤ drivers ARE included with 2000 and XP operating systems. I guess this
¤ means not Jet.
¤

I don't see that in the article. AFAIK Jet is installed with XP, but I don't believe it is installed
with 2000.

¤ What are the trades for me switching to using ODBC instead of Jet so I
¤ don't have to have my users install Jet?

The MS Access driver (ODBC) uses the file Msrd3x40.dll which appears to be included w/Jet, not the
ODBC Desktop Driver Pack.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #8
Just to clarify -

To access MBD files from a VB .Net application running on .Net 1.1:

2000 users need to also install Jet 4 for 2000 driver (about 2+MBs)
AND
XP users don't need to install anything more!

Have I got it right?

Nov 21 '05 #9
"BobAchgill" <Bo********@hotmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
Just to clarify -

To access MBD files from a VB .Net application running on .Net 1.1:

2000 users need to also install Jet 4 for 2000 driver (about 2+MBs)
AND
XP users don't need to install anything more!

Have I got it right?


AFAIK jet is dao.
OLEDB is ado.
I would think you only need jet if you're using dao.... and I doubt many
people do this in dotnet.

I'd also think:
Say you build a dotnet project uses an mdb
You build an install for it.
Anything that ain't in the framework is supposed to be detected and included
as part of this.

--
Regards,
Andy O'Neill
Nov 21 '05 #10
On 19 Jan 2005 14:07:31 -0800, "BobAchgill" <Bo********@hotmail.com> wrote:

¤ Just to clarify -
¤
¤ To access MBD files from a VB .Net application running on .Net 1.1:
¤
¤ 2000 users need to also install Jet 4 for 2000 driver (about 2+MBs)
¤ AND
¤ XP users don't need to install anything more!
¤
¤ Have I got it right?

Sounds correct to me.
Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
Nov 21 '05 #11

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

Similar topics

4
by: Arno R | last post by:
Since I have seen Tony T. around the last week I thought I'll try once more ;-) Hi all, I still have clients with apps running on Access 2.0 It would be nice if I could use the Auto FE...
6
by: Hannu | last post by:
Hi. In the ldb file you can see the users of the mdb-file. If you open the mdb-file your machine and username will be written in the lbd- file. Allthough you close the mdb-file your name won't...
8
by: John Baker | last post by:
Hi: I am URGENTLY in need of some book or web site OR tool that will help me integrate a relatively simple access application into a web page or pages. This is a time recording system (by...
6
by: MM | last post by:
If I have a web site using ASP 3.0 and MS Access and hosted on a server with MDAC 2.7/2.8 installed, does it make any difference whether the mdb is an Access 97 one or an Access 2000 one? I only...
7
by: ddsvi78 | last post by:
I am a complete idiot when it comes to access. Now that said, I work for a computer security company and one of our customers came to us with an access problem. They had been running fine for a...
18
by: Andre Laplume via AccessMonster.com | last post by:
I have inherited a bunch of dbs which are are shared among a small group in my dept. We typically use the dbs to write queries to extract data, usually dumping it into Excel. Most dbs originated...
17
by: Mell via AccessMonster.com | last post by:
Is there a way to find out where an application was created from? i.e. - work or home i.e. - if application sits on a (work) server/network, the IT people know the application is sitting...
9
by: Wayne Smith | last post by:
I've come up against a major headache that I can't seem to find a solution for but I'm sure there must be a workaround and I would really be grateful of any help. I'm currently building a web...
4
by: RSH | last post by:
Hi, I have a situation where I have created a little application that makes an Access database from a SQL Database for reporting purposes. it does the job well, but it seems a bit slow. Is...
11
by: Harel | last post by:
I have a report SQL which have been working for a few weeks. Its large and the target database is large. It has 59 join, and I dont think there is anything I can do about this, since the DB I use...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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
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...

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.