Exception from HRESULT: 0x800AC472



Hi all!

I struggling with a "fatal" exception for a few days and couldn't find the
solution. This is the line of code which throws the exception.

Globals.ThisAddIn.Application.StatusBar = msg;

msg is a string variable. On a callback function I'm trying to add a string
message to the StatusBar of Excel 2007's app. I'm using VS 2005 (.net 2.0)
with VSTO 2005 SE.

I also tried this:

At the class level something like Word.Application app =

and then this:

app.StatusBar = msg;

and same exception happens.

Any ideeas? Thanks in advance. Also, any help will be greatly appreciated.



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