Solved

Problems generating spreadsheet from C++ application after upgrade to Office 2003

Posted on 2007-04-11
6
301 Views
Last Modified: 2012-08-13
My workstation has been recently upgraded to Office 2003.  I tried to run an application that used to work on my workstation that generates an excel spreadsheet.  When I try to build for debugging I am getting the following error...

c:\visualstudio2005\source\gpmqnt\main branch\supplierscorecard\supplierscorecardmediator.h(23) : fatal error C1083: Cannot open type library file: 'excel9.olb': No such file or directory

I searched my c: drive for excel*.olb and found only Excel8.olb in WINNT\SYSTEM32.  This appears to be an old file.

My import statement looks like this...
#import <excel9.olb> rename("DialogBox", "DialogBoxXL") rename("RGB", "RBGXL") rename("DocumentProperties", "DocumentPropertiesXL") no_dual_interfaces

Does anyone know what the new import statement should look like?
0
Comment
Question by:jribble
[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
  • 2
6 Comments
 
LVL 15

Expert Comment

by:dirknibleck
ID: 18891051
If you have Excel 2003, the Library should be excel 11.

My references window seems to think that the location of this library is excel.exe...
0
 
LVL 15

Accepted Solution

by:
dirknibleck earned 250 total points
ID: 18891055
Perhaps excel11.olb would be successful, if not excel.exe?
0
 
LVL 39

Assisted Solution

by:itsmeandnobodyelse
itsmeandnobodyelse earned 250 total points
ID: 18896972
>>>> workstation has been recently upgraded to Office 2003

Hmmm... I have a Excel 2002 - SP1 (Office 10) and names of the olb seem to have changed to xl5en32.olb. Check your directory ..\Microsoft Office\Office11 for *.olb.

Regards, Alex
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
Many functions in Excel can make decisions. The most simple of these is the IF function: it returns a value depending on whether a condition you describe is true or false. Once you get the hang of using the IF function, you will find it easier to us…

691 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