troubleshooting Question

Office Interop.Excel in vb.net app

Avatar of garyinmiami2003
garyinmiami2003Flag for United States of America asked on
Visual Basic.NET
2 Comments1 Solution372 ViewsLast Modified:
We are converting to Visual Studio 2012 & MS Office 2010.

I am working on a vb.net app which has the following code:

Dim asm As Reflection.Assembly
asm = [Assembly].Load("Microsoft.Office.Interop.Excel, Version=11.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")


The problem is what do I replace this with?

I found this in the VSTO area in program files folder:

Microsoft.Office.Tools.Excel.dll

I can't just add this as a reference and load this as an assembly without the guid.  So does this have to be installed wher e the app runs to be able to use?  I'm not familiar with the program and was hoping to make only the minimal change and get the program to work as it has.  

My question:  What has to be done to use the 2010 version of the excel interop?
ASKER CERTIFIED SOLUTION
ElrondCT

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros