473,327 Members | 2,103 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,327 software developers and data experts.

there is no object in this control

i have a microsoft date and time picker on a form. when i open the
form on the pc where the form was created, the form opens and display
the control properly. however, it opens just fine in some other pc and
not fine in some other pc.

in the pc where it is not working properly, before the form opens,
there is an error message "There is no object in this control." the
form then opens and in place of the control is a white rectangle.

also, on the pc giving the problem, when i import the form into a new
database. i get the error message "There was an error loading an
Activex control on one of your forms or reports".

all the pc runs windows XP. there are no missing reference and the
control name appears in the activex register list. all the access
version on all the pc is 2002.

how do i resolve this problem? any help is appreciated.

Oct 27 '07 #1
2 11479
On Sat, 27 Oct 2007 06:28:35 -0700, fr*****@gmail.com wrote:

This is the normal behavior when an activex control is not present or
not properly registered on the target machine.
ActiveX controls don't require a reference and are not necessarily
installed with Windows or Access.

Proceed as follows:
On your dev computer design the form, select the control, and inspect
the Class property. It will say something like "MSComCtl2.DTPicker.2"
This tells you the control is likely implemented by mscomctl2.ocx.
Copy that file to the target machine, and in a command window run:
regsvr32.exe <path_to>mscomctl2.ocx
This registers the control with Windows.
Then try again.

Note: some controls require a license fee to be distributed, and
others are more complex to install. If you have many machines to
maintain, you should look into creating a setup program.

-Tom.

>i have a microsoft date and time picker on a form. when i open the
form on the pc where the form was created, the form opens and display
the control properly. however, it opens just fine in some other pc and
not fine in some other pc.

in the pc where it is not working properly, before the form opens,
there is an error message "There is no object in this control." the
form then opens and in place of the control is a white rectangle.

also, on the pc giving the problem, when i import the form into a new
database. i get the error message "There was an error loading an
Activex control on one of your forms or reports".

all the pc runs windows XP. there are no missing reference and the
control name appears in the activex register list. all the access
version on all the pc is 2002.

how do i resolve this problem? any help is appreciated.
Oct 27 '07 #2
On Oct 27, 10:10 pm, Tom van Stiphout <no.spam.tom7...@cox.netwrote:
On Sat, 27 Oct 2007 06:28:35 -0700, fred...@gmail.com wrote:

This is the normal behavior when an activex control is not present or
not properly registered on the target machine.
ActiveX controls don't require a reference and are not necessarily
installed with Windows or Access.

Proceed as follows:
On your dev computer design the form, select the control, and inspect
the Class property. It will say something like "MSComCtl2.DTPicker.2"
This tells you the control is likely implemented by mscomctl2.ocx.
Copy that file to the target machine, and in a command window run:
regsvr32.exe <path_to>mscomctl2.ocx
This registers the control with Windows.
Then try again.

Note: some controls require a license fee to be distributed, and
others are more complex to install. If you have many machines to
maintain, you should look into creating a setup program.

-Tom.
i have a microsoft date and time picker on a form. when i open the
form on the pc where the form was created, the form opens and display
the control properly. however, it opens just fine in some other pc and
not fine in some other pc.
in the pc where it is not working properly, before the form opens,
there is an error message "There is no object in this control." the
form then opens and in place of the control is a white rectangle.
also, on the pc giving the problem, when i import the form into a new
database. i get the error message "There was an error loading an
Activex control on one of your forms or reports".
all the pc runs windows XP. there are no missing reference and the
control name appears in the activex register list. all the access
version on all the pc is 2002.
how do i resolve this problem? any help is appreciated.
thanks for the help. the registration help fix the problem. what's
interesting though is that some pc don't give the error message but
still show the control as a white box, i.e. before the registration.

Oct 31 '07 #3

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

Similar topics

0
by: Colin | last post by:
"There is no object in this control" in Access 97 form with registered MSINET.OCX on XP machine I have an Access 97 database that I made a form with using the Microsoft Internet Transfer control...
3
by: Ray | last post by:
Hi folks, I have two Vis Basic projects, one creates a dll, the other an ocx. I compile them both. Then I drop the ocx activex object onto a Microsoft Access 2002 form: it works fine. In another...
2
by: jm | last post by:
I have a pushbutton in templatecolumn in a DataGrid. I can iterate through some of the rows in the datagrid with: sub alert_inactive(sender As Object, e As DataGridCommandEventArgs) dim item as...
9
by: BrianDH | last post by:
Hi I am looking at the controls offered with .NET (vb,net ) and wondering within all these controls if there was one that can help do a job. What I need an easy way for my internal customers...
0
by: mimo | last post by:
Hello, This is a really easy asp.net 2.0 question that some how I am missing. How do I bind a label to a field in an object datasource control? Thanks!
2
by: fniles | last post by:
For IE users, we now encountered a "Click to activate and use this control" when the web page has an ActiveX Control. There is a compatibility patch that changes the default bahavior back to what...
2
by: somequestion | last post by:
보낸 사람: "somequestion" <somequestion@gmail.com> 제목: userControl and WindowForm 날짜: 2007년 4월 5일 목요일 오후 11:31 now ...there are 2 control A and B A is Form control...
9
by: Mad Cliffy's Legs Don't Work | last post by:
Using Access 2007 and trying to link to or import from data in either text files or Excel 2007 spreadsheets generates this message. Anyone got any ideas how to get round it? This has got to be...
10
by: CD Tom | last post by:
I've switch my database from 2003 to 2007 and find a problem with a relink module that I've been using. The code I've been using is RelinkCode and what it does is if the database can not be found it...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, youll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Shllpp 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.