473,544 Members | 1,730 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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...Ol e 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 32183
Marcin Zmyslowski <ma*****@kapy.b ydg.pl> wrote in
news:HJ******** *****@news.uswe st.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...Ol e 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\syst em32\MSCOMCTL.O CX
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.b ydg.pl> wrote in message
news:qy******** *******@news.us west.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

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

Similar topics

3
23846
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 converted the mdb to version 2002 under MS Access XP Polish and under this version everything works OK. The problem starts when I copy the mdb file...
2
16142
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 the OLE server and restart it outside of Microsoft access. Then try the original operation again in microsoft Access. Does anybody knows what this...
0
1806
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 OLEUnbound5 class Word.Document.8 I can embedd all other windows applications and i am running OfficeXP Developer The reason i want the word doc is i...
1
7354
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 field on it. When I try to insert a picture I receive the following Error: -- Begin Error --
0
1239
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 that is a "single key stroke" meaning that if I send the letter "A" or the letter "a", I always get "a". I don't understand how to send the shift...
0
1319
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
2871
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 attempting to select that control from the "More Controls" list, I don't see "Microsoft Internet Browser". Does anyone know the actual filename of this...
2
2075
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. After making the database table and try to find some information from this fild; When I am clicking into word field (of the OLE object) it opens...
17
6046
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 when I try to add/edit line item to the subform and when I click OK, I am able to make changes, but the changes are not saved to the database. ...
0
7434
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
7371
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...
1
7388
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
7716
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
5925
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
4925
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
3425
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
3420
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1848
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.