473,574 Members | 3,213 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Installing Visual Basic 6 "downgraded " Jet 4.0 to Jet 3.5. How to fix?

All,

I was working at a client's site when I installed Visual Basic 6 on a
machine at their request. Existing applications on this machine had
specified version 4.0 of the Jet OLEDB provider in a data source string
in their config files. After installing VB 6, they stopped working,
producing the error "3220: The supplied provider is different from the
one already in use. Changing their configuration files to specify
version 3.5.1 fixes the problem.

I would prefer the machine to be at version 4.0 of Jet. Any ideas? I
have tried the following:

1. Installing the latest MDAC update.
2. Installing the latest Jet 4.0 service pack.
3. Installing service pack 6 for Visual Studio.
4. Uninstalling Visual Basic 6.0's Jet component/option.
5. Uninstalling Visual Basic 6.0 altogether.

None of these seem to have had any effect. Does anyone know how to
"re-upgrade" this machine so that the 4.0 Jet engine is available?

Thanks,

Brian

Nov 13 '05 #1
13 8352
Brian-

This should help. I went through this as well.

http://support.microsoft.com/default...b;en-us;271908

-HTH

Matt

<bj******@yahoo .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
All,

I was working at a client's site when I installed Visual Basic 6 on a
machine at their request. Existing applications on this machine had
specified version 4.0 of the Jet OLEDB provider in a data source string
in their config files. After installing VB 6, they stopped working,
producing the error "3220: The supplied provider is different from the
one already in use. Changing their configuration files to specify
version 3.5.1 fixes the problem.

I would prefer the machine to be at version 4.0 of Jet. Any ideas? I
have tried the following:

1. Installing the latest MDAC update.
2. Installing the latest Jet 4.0 service pack.
3. Installing service pack 6 for Visual Studio.
4. Uninstalling Visual Basic 6.0's Jet component/option.
5. Uninstalling Visual Basic 6.0 altogether.

None of these seem to have had any effect. Does anyone know how to
"re-upgrade" this machine so that the 4.0 Jet engine is available?

Thanks,

Brian

Nov 13 '05 #2
On 31 Oct 2005 10:25:36 -0800, bj******@yahoo. com wrote:

¤ All,
¤
¤ I was working at a client's site when I installed Visual Basic 6 on a
¤ machine at their request. Existing applications on this machine had
¤ specified version 4.0 of the Jet OLEDB provider in a data source string
¤ in their config files. After installing VB 6, they stopped working,
¤ producing the error "3220: The supplied provider is different from the
¤ one already in use. Changing their configuration files to specify
¤ version 3.5.1 fixes the problem.
¤
¤ I would prefer the machine to be at version 4.0 of Jet. Any ideas? I
¤ have tried the following:
¤
¤ 1. Installing the latest MDAC update.
¤ 2. Installing the latest Jet 4.0 service pack.
¤ 3. Installing service pack 6 for Visual Studio.
¤ 4. Uninstalling Visual Basic 6.0's Jet component/option.
¤ 5. Uninstalling Visual Basic 6.0 altogether.
¤
¤ None of these seem to have had any effect. Does anyone know how to
¤ "re-upgrade" this machine so that the 4.0 Jet engine is available?

Is this happening to a DataEnvironment class? If so the RunPromptBehavi or of the Connection object
should be set to adPromptNever.
Paul
~~~~
Microsoft MVP (Visual Basic)
Nov 13 '05 #3
I did try downloading the latest MDAC, then running the Jet 4.0 SP 8
install. That didn't seem to help, although I'll try again using the
exact set of steps that they specify.

Thanks.

Nov 13 '05 #4
Yes, I believe I did use the DataEnvironment on this project (it's been
a long time since I wrote the code). However, it worked fine under Jet
4.0 prior to installing VB 6, and it works fine under Jet 3.5.1 after
installing VB 6.0, just not under 4.0 after installing VB 6.

Why would changing this property help? I'll try it when I return to
their site, but I'm curious as to why this would help.

Nov 13 '05 #5

<bj******@yahoo .com> wrote in message
news:11******** **************@ g43g2000cwa.goo glegroups.com.. .
Yes, I believe I did use the DataEnvironment on this project (it's been
a long time since I wrote the code). However, it worked fine under Jet
4.0 prior to installing VB 6, and it works fine under Jet 3.5.1 after
installing VB 6.0, just not under 4.0 after installing VB 6.

Why would changing this property help? I'll try it when I return to
their site, but I'm curious as to why this would help.


I am curious too.

I think it basically forces the program to ignore the warning and go on to
use the 'other' provider.

Are you also using DAO? Some DAO controls need to have DAO 3.51 installed as
well. It comes with the Jet 4 packages but is not often registered
correctly.

-ralph
Nov 13 '05 #6
I don't think that could be an issue for me since this code runs fine
on a fresh Windows 2000 box that does not have Jet 3.5.1 on it, as long
as I specify the 4.0 version of the Jet OLEDB provided in the config
file for the application.

Nov 13 '05 #7
<bj******@yahoo .com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
I don't think that could be an issue for me since this code runs fine
on a fresh Windows 2000 box that does not have Jet 3.5.1 on it, as long
as I specify the 4.0 version of the Jet OLEDB provided in the config
file for the application.


Any VB controls that support Databinding, are based on Jet 3.51... VB itself
installs the required support. Jet engines > 3.51 need to be installed. MDAC
and Jet 4 are separate downloads these days (from what I gather, poking
around the groups)

If you install VB on a fresh OS, create databases using only VB methods,
open that in Access > 97 and accept Access's desire to "upgrade" the DB, the
vb controls will no longer be able to read that database (without, if
supported, changing property settings on the controls you're using)

fwiw, I have the whole shabang installed and can pick between them.... no
problem. With ADO/DAO, you can even "mix and match" if you love punishment
<g> Just specify the library when declaring variables.

Private Sub Form_Load()
Dim oADO_RS As ADODB.Recordset
Dim oJet_RS As DAO.Recordset
End Sub


--
Ken Halter - MS-MVP-VB - http://www.vbsight.com
DLL Hell problems? Try ComGuard - http://www.vbsight.com/ComGuard.htm
Please keep all discussions in the groups..
Nov 13 '05 #8

<bj******@yahoo .com> wrote in message
news:11******** **************@ g14g2000cwa.goo glegroups.com.. .
I don't think that could be an issue for me since this code runs fine
on a fresh Windows 2000 box that does not have Jet 3.5.1 on it, as long
as I specify the 4.0 version of the Jet OLEDB provided in the config
file for the application.


You misunderstood me.
If you look carefully you will find the following dll located and registered
on your "Jet 4" Win2k machine:
<Drive:>\Progra m Files\Common Files\Microsoft Shared\Dao\Dao3 50.dll

I am not talking about the Jet Engine, drivers, providers, or the Data
Access Library you are using, merely the dependency of 'Data Bound' controls
on this DLL. Subsequently any controls you are using in your application may
have a dependency on this component as well. (Even though it may not appear
within your references.)

This may not actually be a problem in your case. I only brought it up
because it has caused problems for others in a similar situation. While
later "Jet" service packs install the dll, it doesn't always register the
dll correctly. It will take you less than a minute to locate the dll and
register it on the target machine....

[Regsvr32.exe /U
"<Drive:>\Progr am Files\Common Files\Microsoft Shared\Dao\Dao3 50.dll"
Regsvr32.exe
"<Drive:>\Progr am Files\Common Files\Microsoft Shared\Dao\Dao3 50.dll"
]

It might fix the problem.

-ralph

Nov 13 '05 #9
IIRC, SP 3 or 4 for VB6 "upgraded" VB6 to use Jet 4.0 instead of Jet 3.51.
If SP 6 is a "cumulative " SP, including all previous SPs, I would expect
that to do the upgrade, as well.

Larry Linson
Microsoft Access MVP
<bj******@yahoo .com> wrote in message
news:11******** *************@f 14g2000cwb.goog legroups.com...
All,

I was working at a client's site when I installed Visual Basic 6 on a
machine at their request. Existing applications on this machine had
specified version 4.0 of the Jet OLEDB provider in a data source string
in their config files. After installing VB 6, they stopped working,
producing the error "3220: The supplied provider is different from the
one already in use. Changing their configuration files to specify
version 3.5.1 fixes the problem.

I would prefer the machine to be at version 4.0 of Jet. Any ideas? I
have tried the following:

1. Installing the latest MDAC update.
2. Installing the latest Jet 4.0 service pack.
3. Installing service pack 6 for Visual Studio.
4. Uninstalling Visual Basic 6.0's Jet component/option.
5. Uninstalling Visual Basic 6.0 altogether.

None of these seem to have had any effect. Does anyone know how to
"re-upgrade" this machine so that the 4.0 Jet engine is available?

Thanks,

Brian

Nov 13 '05 #10

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

Similar topics

4
2393
by: ~~~ .NET Ed ~~~ | last post by:
I am facing a problem. My project is composed of several assemblies. In one of them -the backend- I have several internal classes that must implement an interface. These internal classes are only used by one master class that is public. I am able to declare the interface as "internal interface" without problem but when I attempt to use it...
2
1209
by: christery | last post by:
Hi! I have one program running multiple copys (acting as IP <-serial port) of the same program (no connection to eachother) and they all work fine for a while then some starts slowng down, then others, and then magically all work fine again... How did I come to know that? Just to test the system did a "loop: dir /s goto loop" sorta...
0
7843
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7764
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
8111
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7863
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
8140
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6514
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5336
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3776
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
1102
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.