473,382 Members | 1,107 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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

Sai
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
Dec 21 '05 #1
2 36941
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

Dec 22 '05 #2

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

Dec 22 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Noah | last post by:
How does Image.putdata() work? I am using PIL 1.1.3. This simple script throws an exception on putdata(): import Image width = 10 height = 10 im = Image.new ("RGB", (width, height)) L =...
10
by: gregory_may | last post by:
I have an application I created called "JpegViewer.exe". It simply loads a Jpeg file and displays in on the screen. It works great, in my lab. When I am using it at a customer site, things...
2
by: Chris Herring | last post by:
Hi there: Well, let me start off by saying that I am a Visual Studio drag and drop weenie, not a real programmer. So I tend to get confused when things do not look like the instructions said they...
2
by: hazz | last post by:
I have spent more time than I care to admit trying to track down a very subtle error. Here is my app's xx.exe.config file. <?xml version="1.0" encoding="utf-8" ?> <configuration>...
2
by: Bob Rock | last post by:
I already found an alternative way to accomplish this (using ReadBytes), still I'd like to understand why I'm getting and error reading a text file using the following method. The exception is...
4
by: Carlitos | last post by:
Hi there, I got a web application in vb.net that uploads a .zip file to a subfolder inside the root folder of the web application. c:\Inetpub\wwwroot\MyWebApp\uploaddir Then, a c# library...
5
by: Peter Steele | last post by:
We have an application that when it runs in the IDE in debug mode an unhandled exception is occurring in a system header file associated with STL stirngs. The actual statement that crashes is ...
2
by: Agnes | last post by:
Same application, When use the dataset expor to EXCEL, work very well. However, for some PC I will got the following error "DOES NOT SUPPORT A COLLECTION.(EXCEPTION FROM HRESULT :...
1
by: KevinMurphyRJLG | last post by:
I'm trying to migrate a large solution (20 or so projects) from .NET 1.1 to .NET 2.0. I've taken care of all the compile errors, but now I'm getting an exception shortly after I start up the...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.