problem deploying an app with Excel interop

G

Guest

Hi all,

I've created a vb.net app that opens and manipulates an excel file. The app
works great on my system where I have all of the interop assemblies installed
for visual studio. When I go to run the application on another PC I get this
error:

File or assembly name Microsoft.Office.Interop.Excel, or one of its
dependencies, was not found.

On the target machine, there is a copy of excel2002 installed. In the
vb.net project I'm using the Microsoft Office 10.0 Object Library. I've
added references to Excel and to Microsoft.Office.Core to the project.

How do I set up the project so that any of the requisite interop files are
included with the project? Or at the very least, how do I figure out which
files have to be copied where to make it work?

TIA,
Mike E.
 
O

One Handed Man \( OHM - Terry Burns \)

I cant remember office 2002 but in 2003, the programability ( Interop )
support is an optional install. This may be the same for 2002? check your
advanced setup.

However, if you are going to need this on lots of machines, then you will
need to check the assemblies are there, I think your going to have to do
some research and I would advise to check this data on an office programmers
ng

--

OHM ( Terry Burns )
. . . One-Handed-Man . . .

Time flies when you don't know what you're doing
 
G

Guest

Hi all,

I've created a vb.net app that opens and manipulates an excel file. The app
works great on my system where I have all of the interop assemblies installed
for visual studio. When I go to run the application on another PC I get this
error:

File or assembly name Microsoft.Office.Interop.Excel, or one of its
dependencies, was not found.

On the target machine, there is a copy of excel2002 installed. In the
vb.net project I'm using the Microsoft Office 10.0 Object Library. I've
added references to Excel and to Microsoft.Office.Core to the project.

How do I set up the project so that any of the requisite interop files are
included with the project? Or at the very least, how do I figure out which
files have to be copied where to make it work?

TIA,
Mike E.

User submitted from AEWNET (http://www.aewnet.com/)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top