Solved

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

Posted on 2008-06-23
6
140 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
  • 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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …
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.

760 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now