×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

There is no object in this control

There is no object in this control

There is no object in this control

(OP)


I have a large msaccess program that has been running for many years..
The office has 10 computers running this program


Recently.
A computer has been replaced win10 64 bit
office 365

When i run the program i get a message

There is no object in this control ... BUT no detail .. just a simple message box

If i click Ok the program then loads and runs ok.

I have checked all vba references and there are none showing missing

??Is there any way i can intercept this error and find exactly what is causing this message

Appreciate any advice


Thanks

RE: There is no object in this control

Does this help you? Or this?

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: There is no object in this control

(OP)
Andy,

I ?? thought i had a pretty good look but could not find an exact solution..

If i got this error after the program loads.. i would have no problem.

But this error comes up while loading...




RE: There is no object in this control

Can you run your Access app on the (new?) win10 64 bit office 365 computer?
Usually, when app crashes, it would show you the line of VBA code that causes the issue...

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson

RE: There is no object in this control

(OP)
Andy,

The error only happens when it is run on the new win10 64 bit office 365 computer

The error comes up when loading the program .. and does not show any line numbers..

I have put a msgbox on the first line of the opening form (on load) to see if the error
comes up when loading the form..

BUT.. the error comes up before the on load in the form comes up. no line number errors just a simple message box
(no detail)

I have tried reregisting .ocx's etc....pretty well tried everything i could think of.

Maybe i will have to live with this message.. it's only on this one machine.

But i am a little worried when other machines are upgraded i will have the same problem



RE: There is no object in this control

(OP)
Just had an idea !!!

I setup a dummy form with nothing on it and altered the startup to be this dummy form.
Then did a command button to the original startup form on the dummy form.

The problem has gone away..

No idea why

But i will just live with it.. Probably just put a ?? welcome message in the dummy form

If there are any ideas of why this worked.. would appeciate any comment


Regards Trob




RE: There is no object in this control

Since you stated "I have tried reregisting .ocx's etc..." I expect this is an issue 32 vs 64 bit ocx's.

Duane
Minnesota
Hook'D on Access
MS Access MVP 2001-2016

RE: There is no object in this control

(OP)
Yes i am preety sure this is the problem

My computer (at the moment) is 32 bit

The new computer is 64bit

I am getting a new computer and it will be 64 bit

Regards Trob

RE: There is no object in this control

What is the "bitness" of your 365?
WIN 10 64bit can still run 32 bit Access/Office.

RE: There is no object in this control

(OP)
Jedraw

The 365 is 64 bit.

The office installed is 64 bit

I tried copying 32bit ocx's from my computer and putting in wow564
but did not work. had to copy an ocx from another 64 bit computer

The problem i had was only with 1 program... all other programs seem ok

Regards Trob70

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close