Exception from HRESULT: 0x800AC472

Tech-Archive recommends: Fix windows errors by optimizing your registry



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 =
Globals.ThisAddIn.Application;

and then this:

app.StatusBar = msg;

and same exception happens.

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

Nicu
.



Relevant Pages

  • Re: Stop excution (aka silent exception)
    ... Without going into a diatribe here, global exception handling should have ... To display a friendly msg to the user before exiting (or restart the app ... excution of the calling method as well, as does an exception that stops ...
    (microsoft.public.dotnet.framework.compactframework)
  • Re: is parameter an iterable?
    ... which leads me to belive that 'msg' is not type. ... it's an instance of the exception type, ... create a SomeError exception and pass the value as its ... Python will treat this as ...
    (comp.lang.python)
  • GDI+ Exception
    ... We have experienced following exception in our application that runs ... I had gone through the internet to find an answer about ... at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg) ... wparam, IntPtr lparam) ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Array of Exceptions
    ... Hit the go button and the exception thrown depends on the array index ... Whenever the code catches a lower-level exception, e.g., IOException, if I must rethrow it I rethrow the standard one with the original one as the cause. ... throw new FabulatorException(msg, ex); ...
    (comp.lang.java.programmer)
  • Re: GDI+ Exception
    ... When I made my comments about this exception it was in relation to code ... Manual doule buffering seems to prevent this from ever happening. ... Answer those GDI+ questions with the GDI+ FAQ ... > at Syncfusion.Windows.Forms.ScrollControl.WndProc(Message& msg) ...
    (microsoft.public.dotnet.languages.csharp)