Excel Library in VB 2008 on 64-bit OS installation

Giganews Newsgroups
Subject: Excel Library in VB 2008 on 64-bit OS installation
Posted by:  Peter K (Pete…@discusions.microsoft.com)
Date: Thu, 5 Mar 2009

The OS of my latest machine (Intel i7 Processor) is Vista Ultimate 64-bit.

In Visual Studio 2008 I am modifying one of my VB programs, which executes a
backup application. The program accesses an Excel spreadsheet to obtain
input information.

While the program executed flawlessly when run on a 32-bit machine, trying
to make the necessary modifications on the 64-bit machine, it hangs up in
accessing the spreadsheet on workbook & worksheet Activate() statements with
the error message "Error Description: Old Format or invalid type library.
(Exception from HRESULT: 0x80028018 (Type_E_INVDATAREAD))."

Are there separate libraries if one is having a 64-bit OS? If so, I have
not been able to find them. I am using Office 2007, and under References I
added the same library as I had on the 32 bit machine.

Any help would be appreciated.

Peter K