PC Review Forums Newsgroups Microsoft DotNet Microsoft VB .NET "Exception from HRESULT: 0x800A03EC" - While saving excel file from VB.NET

Reply

"Exception from HRESULT: 0x800A03EC" - While saving excel file from VB.NET

 
Thread Tools Rate Thread
Old 21-12-2005, 12:51 PM   #1
Sai
Guest
 
Posts: n/a
Default "Exception from HRESULT: 0x800A03EC" - While saving excel file from VB.NET


Hi,

I have written a small tool for our internal purpose in VB.net. This tool
reads data from logs and saves it in an excel file. This tool is working fine
with MS Office 2000 but raising the following exception, when i run the tool
in a machine which contains MS Office 2003.

Exception raised: "Exception from HRESULT: 0x800A03EC"

Note: Added "Microsoft Excel 11.0 Object Library" in the project reference.

Can anyone tell me what could be the problem ? If you need any other details,
please reply back.

Thanks in advance.

~ Sai
  Reply With Quote
Old 22-12-2005, 11:47 AM   #2
Ken Tucker [MVP]
Guest
 
Posts: n/a
Default Re: "Exception from HRESULT: 0x800A03EC" - While saving excel file from VB.NET

Hi,

You get errors like that when you have a different versions of
office than you developed for. I have know some people who have used late
binding to overcome those issues.

Ken
-------------------------
"Sai" <u16864@uwe> wrote in message news:592a787f64e1c@uwe...
> Hi,
>
> I have written a small tool for our internal purpose in VB.net. This tool
> reads data from logs and saves it in an excel file. This tool is working
> fine
> with MS Office 2000 but raising the following exception, when i run the
> tool
> in a machine which contains MS Office 2003.
>
> Exception raised: "Exception from HRESULT: 0x800A03EC"
>
> Note: Added "Microsoft Excel 11.0 Object Library" in the project
> reference.
>
> Can anyone tell me what could be the problem ? If you need any other
> details,
> please reply back.
>
> Thanks in advance.
>
> ~ Sai



  Reply With Quote
Old 22-12-2005, 12:09 PM   #3
Larry Lard
Guest
 
Posts: n/a
Default Re: "Exception from HRESULT: 0x800A03EC" - While saving excel file from VB.NET


Sai wrote:
> Hi,
>
> I have written a small tool for our internal purpose in VB.net. This tool
> reads data from logs and saves it in an excel file. This tool is working fine
> with MS Office 2000 but raising the following exception, when i run the tool
> in a machine which contains MS Office 2003.
>
> Exception raised: "Exception from HRESULT: 0x800A03EC"
>
> Note: Added "Microsoft Excel 11.0 Object Library" in the project reference.
>
> Can anyone tell me what could be the problem ? If you need any other details,
> please reply back.


Is it this <http://www.dotnet247.com/247reference/msgs/5/27860.aspx> ?

--
Larry Lard
Replies to group please

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off