Solved

2003 excel error after an update, file is corrupt and cannot be recovered

Posted on 2008-06-23
6
144 Views
Last Modified: 2013-11-25
I have an application developed with vb.6 that has excel 97 2000 and 2003 capabilities.  Recently after an automatic update, evry time I extract a file in excel format within my application and then open this excel file on the desktop, it says that the file is corrupt and cannot be recovered.  is there a fix for that strictly for vb6 applications, maybe a dll or ocx file that gets unregistered or is deleted.

thank you very much
0
Comment
Question by:systems_ax
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 3
6 Comments
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 21863389
is it files saved in all XL versions ?

From what do you extract the XLS file ?
0
 
LVL 1

Author Comment

by:systems_ax
ID: 21871462
robberbaron,
thank you for replying.
the report can be extracted with all versions of excel except 2007.  the application itself has the ability to extract the report as a excel document which works great but every time a microsoft office update occurs, the excel file shows as being corrupted after it has been extracted.
0
 
LVL 32

Accepted Solution

by:
Robberbaron (robr) earned 500 total points
ID: 21889496
it may be the VB app is accessing the report via ADO.
the ADO connection string can have excel version specific parameters.  if this is the case, then the app would need to be updated i suspect.

if you extract using app, does the created XLS file open on other boxes using same or different version of excel ?
Excel is very good with backward capabilites in my experience. (running 2007 currently)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 1

Author Comment

by:systems_ax
ID: 21959069
robberbaron,
is there a way to fix the issue without altering the code?  excel files to extract great and work on the machines, however, when a microsoft update occurs on any machine the extraction fails.
thank you
0
 
LVL 32

Expert Comment

by:Robberbaron (robr)
ID: 21961635
without seeing the current app & having the error occur in front of me, i am not capable to working out the root cause of the error & thus not able to help fix.

Is it a particular update that caused the error ?
0
 
LVL 1

Author Comment

by:systems_ax
ID: 22026749
robberbaron,
thank you
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to create pivot charts out of a data set. I also added a drop-down menu which allows to choose from different categories in the data set and the chart will automatically update.

710 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question