Wrox Programmer Forums
|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 23rd, 2003, 11:24 PM
Authorized User
 
Join Date: Jun 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default distributing JET/OLE

Hello, having trouble distributing an app that uses ADO to access a database. The app loads find on the target PC, but when I try to connect to the database with my connection string PROVIDER=JET.OLE.40(something like that), it says "ODBC provder not found or invalid data source"..I know the data source is valid, it executes perfect on the developement machine, but somewhere in the install it's not transferring the capability to use the JET engine to access the db...I included msjet40 and msjetole dll files and registered them, as well as all the files that the vb package and deployment wizard recomended...I can't seem to find a download for just the jet 4.0 installation files, I found every service pack update on MS's website..but not the actual installation. can anyone help?
 
Old June 24th, 2003, 11:46 AM
Authorized User
 
Join Date: Jun 2003
Posts: 78
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Download the lastest version of Microsoft Data Access Components (MDAC) and the Jet 4.0 Service Pack from the Microsoft download section. For the MDAC, select the "MDAC" and for Jet, select the "Jet database engine" from "Product/Technology" list. When you'll have install these update, it should correct your problem.

Stéphane
 
Old June 26th, 2003, 04:14 PM
Authorized User
 
Join Date: Jun 2003
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
Default

That pointed me in the right direction. I had been distributing the MDAC that was on the Visual studio Cd, problem was...I had applied service packs and updated my own MDAC, but not the one that was actaully being used in the program. ;]





Similar Threads
Thread Thread Starter Forum Replies Last Post
Access (.mdb) over network using Jet 4 OLE DB sajid_rauf Pro VB Databases 0 May 16th, 2007 07:41 AM
Distributing Macros Larry Landis Word VBA 1 March 31st, 2006 02:29 PM
VBA OLE DB Jet Initialization Jase Excel VBA 0 April 14th, 2004 04:26 PM
Distributing Access Files ChavisD Access 5 February 6th, 2004 03:29 PM
distributing runtime for DB access module0000 VB Databases Basics 3 June 27th, 2003 03:10 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.