Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 335
  • Last Modified:

Office Interop Files

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
vj_mi
Asked:
vj_mi
1 Solution
 
Kinger247Commented:
yes you should !
0
 
razoCommented:
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
 
Kinger247Commented:
Look at them as a kind of interface between your app the the excel files themselves.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
Kinger247Commented:
razo I've never got anything to work without these files ..???
0
 
razoCommented:
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
 
vj_miAuthor Commented:
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
 
Kinger247Commented:
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
 
Kinger247Commented:
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
 
razoCommented:
when u install office (if it not fully installed) u can tick .netprogrammability supprt....it is something that comes with office CD
0
 
DarrenDCommented:
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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now