Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

There is no object in this control 1

Status
Not open for further replies.

Trob70

Programmer
Sep 25, 2012
89
AU


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

 
Does this help you? Or this?

---- Andy

"Hmm...they have the internet on computers now"--Homer Simpson
 
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...




 
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
 
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



 
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




 
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
 
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
 
What is the "bitness" of your 365?
WIN 10 64bit can still run 32 bit Access/Office.
 
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top