Connecting to an mdb
From: Chris (chrisw_14_at_hotmail.com)
Date: 09/22/04
- Next message: Duane Bozarth: "Re: ReDim Preserve performance"
- Previous message: Duane Bozarth: "Re: Poor VB Programming"
- Next in thread: MikeD: "Re: Connecting to an mdb"
- Reply: MikeD: "Re: Connecting to an mdb"
- Messages sorted by: [ date ] [ thread ]
Date: 22 Sep 2004 07:05:06 -0700
I am a VBA programmer but have something that I think I need done in
VB but I think there is more to it than meets the eye (for me at
least).
I want to create a script file as an .exe that links to an .mdb
(Access 2000) backend and run some simple queries. This .exe will run
on a server which may or may not have MS Access on it. I am selling
this script to many companies so I want it to be as simple as possible
to install. Anyway, I am wondering about what I need to install to get
it working. From what I have read, I need to install MDAC 2.8 (if
thats all i can get my hands on) and Jet 4.0 Service Pack 8 (because
MDAC 2.6 onwards don't include Jet). I need MDAC 2.8 because VB will
use ADO, is this correct? And the Jet service pack has the drivers to
connect to an mdb. All I have to do then is make the install program
to install the correct service pack depending on the OS and do the VB
code for this script.
Also, they may have MDAC installed, how can I find this out by code?
I don't want to mess with company machines and updating MDAC could
create a problem for them.
Is it best to create some rules and use if statements eg if MDAC is
lower than 2.6 don't install anything because it has all drivers
required, if no MDAC, install MDAC 2.8 and jet, if MDAC 2.6 or
greater, install jet if not already in.
More details on this can be found at:
http://support.microsoft.com/default.aspx?scid=kb;en-us;Q271908
Chris
- Next message: Duane Bozarth: "Re: ReDim Preserve performance"
- Previous message: Duane Bozarth: "Re: Poor VB Programming"
- Next in thread: MikeD: "Re: Connecting to an mdb"
- Reply: MikeD: "Re: Connecting to an mdb"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|