Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > Beginning VB 6
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 24th, 2003, 12:24 AM
Authorized User
 
Join Date: Jun 2003
Location: , , .
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?
Reply With Quote
  #2 (permalink)  
Old June 24th, 2003, 12:46 PM
Authorized User
 
Join Date: Jun 2003
Location: , Quebec, Canada.
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
Reply With Quote
  #3 (permalink)  
Old June 26th, 2003, 05:14 PM
Authorized User
 
Join Date: Jun 2003
Location: , , .
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. ;]
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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 08: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 05: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 04:10 AM



All times are GMT -4. The time now is 03:17 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.