?
Solved

Office Interop Files

Posted on 2006-11-10
10
Medium Priority
?
332 Views
Last Modified: 2010-04-23
Hi,

When I set reference to Excel and compile my app, I get few Interop files as:
Interop.Microsoft.Office.Core.dll
Interop.VBIDE.dll
Interop.Excel.dll

The server machine has ms-offce. Should I still distribute the files? The client machines are thin clients as they using Citrix Metaframes with Terminal Services.

Regards,
MI
0
Comment
Question by:vj_mi
[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
10 Comments
 
LVL 10

Expert Comment

by:Kinger247
ID: 17913181
yes you should !
0
 
LVL 8

Expert Comment

by:razo
ID: 17913186
no need to distirbute just make sure the users have office installed with .net programability for each of the office application u r going to use
0
 
LVL 10

Expert Comment

by:Kinger247
ID: 17913187
Look at them as a kind of interface between your app the the excel files themselves.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
LVL 10

Expert Comment

by:Kinger247
ID: 17913190
razo I've never got anything to work without these files ..???
0
 
LVL 8

Expert Comment

by:razo
ID: 17913216
well first u should make sure that u reference these files thru the GAC and as i said the office should be installed with .net programmability support
0
 

Author Comment

by:vj_mi
ID: 17913239
razo .... What do you mean by  .net programability support?
I added ref to these files from Add References and used tab page COM to set the reference. Also we must note that the client machines are thin clients with nothing installed on it other than the OS and SQL client. My application and all other softwares are installed on the server.

Regards,
MI
0
 
LVL 10

Expert Comment

by:Kinger247
ID: 17913260
Didn't know there was a '.net programmability support' option in office setup.
I presume this then creates the interop files for you.

So the test would be to try and run the app, if it doesn't work load the interop files form your project/bin.
But the answer is still 'yes', still distribute the files unless you know the files where not installed with office on setup.
0
 
LVL 10

Expert Comment

by:Kinger247
ID: 17913264
sorry :

But the answer is still 'yes', still distribute the files unless you know the files 'where' installed with office on setup.
As a rule you should anyway.
0
 
LVL 8

Expert Comment

by:razo
ID: 17913271
when u install office (if it not fully installed) u can tick .netprogrammability supprt....it is something that comes with office CD
0
 
LVL 18

Accepted Solution

by:
DarrenD earned 2000 total points
ID: 17914651
Hi,

FYI...

You should not use the Interop files that are created using .NET Visual Studio at design time.

http://support.microsoft.com/kb/328912

You should be using the Primary Interop Assemblies (PIA's)

Darren.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering 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

I think the Typed DataTable and Typed DataSet are very good options when working with data, but I don't like auto-generated code. First, I create an Abstract Class for my DataTables Common Code.  This class Inherits from DataTable. Also, it can …
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses
Course of the Month14 days, 14 hours left to enroll

771 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