Trying to update a CommandBarButton.Picture and getting an Excepti

I

Inbar

This problem happens in Word, Outlook, Excel and PowerPoint, I guess it's a
common Office issue.
I'm getting a COMException with "Catastrophic failure" (HResult = 0x8000FFF)
when I try to update the Picture property of a CommandBarButton.

Now, here is the issue, I'm doing this from a seperate thread. If I do it
from the main UI thread - no problems. I need to be able to do this from a
different thread that runs in the background. Note that doing other stuff
with the menu with the background thread works just fine, just updating the
picture fails.

Any ideas?
 

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