How do I use office 2003 core files for .net when I now have office 2007 on my computer?

How do I use office 2003 core files for .net when I now have office 2007 on my computer?

The problem is that I upgraded to a new computer with 2008 and Microsoft Office 2007 and then converted an old application that used Microsoft Office 2003 core files.

The specific lines of code that are giving me problems are:
Imports Microsoft.Office.Core
Imports excel = Microsoft.Office.Interop.Excel

I would upgrade and change my code to MS Office 2007 however this customer still uses MS Office 2003 on all of their computers.

Any ideas?

Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

You should have the interop files somewhere within your project.  Remove your current references and reference the files within your project.  Don't reference the files on the COM tab.  You need to reference the Office 2003 interop files.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jdraggiAuthor Commented:
Thank you very much!
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
.NET Programming

From novice to tech pro — start learning today.