473,396 Members | 1,792 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,396 software developers and data experts.

A problem occured while Microsoft Access was communicating with the Ole server or ActiveX Control

Hello all!

I have a database created in MS Access 2003 which works fine in Win2000.
This database shows me the following message in WinXP:

"The expression On Load you entered as the event property setting
produced the following error: A problem occured while Microsoft Access
was communicating with the Ole server or ActiveX Control"

I also get similiar errors On Load, On Click etc. with the same sentence
"The expression...Ole server or ActiveX control"

I have the newest version of Microsoft Jet 8.0 SP installed on WinXP.

I have all references active in reference window. There is no missing
references in the VB code form when I open it both on WinXP and Win2000.

When I compile the vb code there is no error message shown.

Do you have any idea why it gives me such errors?

Thank you in advance
Any help really apprieciated
Mar.

*** Sent via Developersdex http://www.developersdex.com ***
Jan 31 '06 #1
10 32163
Marcin Zmyslowski <ma*****@kapy.bydg.pl> wrote in
news:HJ*************@news.uswest.net:
I have a database created in MS Access 2003 which works fine in
Win2000. This database shows me the following message in WinXP:

"The expression On Load you entered as the event property setting
produced the following error: A problem occured while Microsoft
Access was communicating with the Ole server or ActiveX Control"

I also get similiar errors On Load, On Click etc. with the same
sentence "The expression...Ole server or ActiveX control"

I have the newest version of Microsoft Jet 8.0 SP installed on
WinXP.

I have all references active in reference window. There is no
missing references in the VB code form when I open it both on
WinXP and Win2000.

When I compile the vb code there is no error message shown.

Do you have any idea why it gives me such errors?


An ActiveX control used somewhere in the application is not
installed/registered properly on the WinXP machine.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jan 31 '06 #2
It is likely to be an ActiveX Control as David suggests.

If it's not you may wish to check your MDAC installation with the
ComChecker available at:
http://www.microsoft.com/downloads/d...displaylang=en

Jan 31 '06 #3
An ActiveX control used somewhere in the application is not
installed/registered properly on the WinXP machine.


Thank you for your help. I will check it tomorrow. Now I am at home.
Could you give me some suggestions how to register ActiveX control.
I am using only subform.

M.
Jan 31 '06 #4
rkc
Marcin Zmyslowski wrote:
Hello all!

I have a database created in MS Access 2003 which works fine in Win2000.
This database shows me the following message in WinXP:

"The expression On Load you entered as the event property setting
produced the following error: A problem occured while Microsoft Access
was communicating with the Ole server or ActiveX Control"


Do a Google search on the error message.

This type of error is caused by all kinds of things. Most have
nothing to do with using an ActiveX control.
Jan 31 '06 #5
"news.onet.pl" <ma**************@poczta.onet.pl> wrote in
news:dr**********@news.onet.pl:
An ActiveX control used somewhere in the application is not
installed/registered properly on the WinXP machine.


Thank you for your help. I will check it tomorrow. Now I am at
home. Could you give me some suggestions how to register ActiveX
control. I am using only subform.


Well, you have to identify what the ActiveX control is first, and
then you ave to determine if the files for it are on the machine and
unregistered, or completely lacking.

One possibility is that you are using the calendar control and it
was not installed when the WinXP had Access installed on it. I can't
say for A2K3, but with other versions of Access, the calendar
control was not installed by default.

--
David W. Fenton http://www.dfenton.com/
usenet at dfenton dot com http://www.dfenton.com/DFA/
Jan 31 '06 #6

First, identify the ocx you're missing

Then, using the "START/RUN..." menu option enter

regsvr32 ocxpath

e.g., regsvr32 C:\WINDOWS\system32\MSCOMCTL.OCX
You can drag the ocxpath from explorer into the run command
Mark

On Tue, 31 Jan 2006 21:32:50 +0100, "news.onet.pl"
<ma**************@poczta.onet.pl> wrote:
An ActiveX control used somewhere in the application is not
installed/registered properly on the WinXP machine.


Thank you for your help. I will check it tomorrow. Now I am at home.
Could you give me some suggestions how to register ActiveX control.
I am using only subform.

M.

Feb 1 '06 #7
I think it is not a problem of unregistered ocx.
I haven`t added any new references into the database and I haven`t put
any not needed references.

I`ve removed all other references and now I have only such references:
- Visual Basic For Application
- Microsoft Access 11.0 Object Library

After these changes the database works correctly on Win2000/AC2003, but
it doesn`t work well on WinXP/AC2003 machines and it stills return the
same error I`ve mentioned before.

I don`t use any ActiveX controls in my database, but only subform and I
use a public function written in a module.

Moreover, I have completely different database which I`ve opened on this
WinXP/AC2003 machine. It works fine and there is no ActiveX controls
inside a form, so that (first) database is causing so many problems - I
don`t know.

Do you have any idea why it doesn`t work?

Thank you in advance for all posts
M.
*** Sent via Developersdex http://www.developersdex.com ***
Feb 1 '06 #8

I have checked again. I have imported this form into the new clean
database. I have removed all events from a form. And I still gets the
same error messages.

I have checked if any other databases are working similar like it which
is causing so many problems. And I have noticed that every other
database is working fine, except from this special one.

Do u have any idea what it is going on with this database?
Kindes regards
Marcin
*** Sent via Developersdex http://www.developersdex.com ***
Feb 1 '06 #9
"Marcin Zmyslowski" <ma*****@kapy.bydg.pl> wrote in message
news:qy***************@news.uswest.net...

I have checked again. I have imported this form into the new clean
database. I have removed all events from a form. And I still gets the
same error messages.

I have checked if any other databases are working similar like it which
is causing so many problems. And I have noticed that every other
database is working fine, except from this special one.

Do u have any idea what it is going on with this database?
Kindes regards
Marcin

There are only a limited number of tricks you can try and you seem to have
tried a few already. Nobody has yet mentioned the /decompile switch which
might help (see http://www.granite.ab.ca/access/decompile.htm) and you could
look at the general page http://www.granite.ab.ca/access/corruptmdbs.htm

At some point, you may have to give up on this and re-create the form
manually. Is it only one form causing the problem and how much work would
this be for you?
Feb 1 '06 #10
I know what it was causing this error.

You were right. Decompile has taken a good effect.

I also added DAO 3.6 library into my libraries references and it does
work:)

Thank you again for your help and posts.
I do really apprieciate it

Thanx
Marcin from Poland
*** Sent via Developersdex http://www.developersdex.com ***
Feb 1 '06 #11

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

Similar topics

3
by: Stan | last post by:
Hallo, I have developed an application in MS Access 2000 (Polish version) under MS Windows XP prof (also Polish). Now I would like to run this code on MS Windows XP EN and MS Access XP EN. I have...
2
by: christian | last post by:
The problem is that when I try to open a combo box within a form, I get this message: A problem occurred while Microsoft Access was communicating with the OLE server or ActiveX control. Close...
0
by: DD | last post by:
I am trying to place a Word document into a form. I get the following error A problem occured while Microsoft Access was Communicating with the OLE or Activex Control the name of the ole is...
1
by: Nothing | last post by:
I am trying to create an field on a form which is link to a table to store pictures. I have the field defined as follows: Name: Photofield1 Type: OLE Object I have created a form with this...
0
by: Robert Jenkins | last post by:
I am trying to send a string of data to a remote Terminal Server session via the ActiveX client. I can start the session login or logout okay but I can't send data very well. I can send any data...
0
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
1
by: prm928 | last post by:
I have 3 Access versions (2000, 2002, 2003) on an XP machine. I'm using Access 2000 for some development which will include use of the Microsoft Internet Browser control. However, when...
2
by: yitna zewde | last post by:
How are you every body I am the user of MS ACCESS 2003 I am trying to use this software for a certain database using PDF file and word file as OLE object as one component of the database field....
17
by: eranil84 | last post by:
I get this "The LinkMasterFields Property setting has produced this error: 'A problem occurred while Microsoft Office Access was communicating with the OLE server or ActiveX Control' " error message...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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
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
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
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...
0
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,...

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.