Error 459 on callup of UserForm with ActiveX control

P

pagates

Hello All,

We have an Add-In that uses a VB6 ActiveX control on a UserForm. The
UserForm is simply called up from a toolbar macro saying "MyForm.Show".

The ActiveX control sits on a Multipage control, inside another Multipage
control.

Recently, we have started to get an error on deployed versions of our
Add-In: "Run-time Error 459: Can't move focus to the control because it is
invisible, not enabled, or of a type that does not accept the focus."

This control and mechanism has worked fine in the past.

The part that puzzles/frustrates me the most, I guess, is that if I get on
the machine, and manually remove and re-add the control on the form in the
Add-In, it works fine.

AAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGHHHHHHHHHHH!!!!

Any help would likely lengthen my sanity for a few more minutes, and I guess
that would be appreciated.

Thanks,
PAGates
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top