• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 193
  • Last Modified:

Reference How can I add a reference to the Microsoft.Office.interop.Excel from a C# program?

Hi,
I am trying to instiate Excel and Visio 2003 in a C# problem.

Yet I got problems with references to both programs.

Excel: C# do not recognise Microsoft.Office.Interop.Excel
Visio: C# do not recognise Visio.Application


Thank you
 
0
GingerRogers
Asked:
GingerRogers
2 Solutions
 
tusharashahCommented:
Have you added References to COM object of this application?

In Solution Explorer
 Right Click on Reference --> Select Add Reference --> Click on COM Tab --> Microsoft Excel 10 Object Library

Sameway you can add reference to Visio.. there'll be pleny of option for Visio, choose what you want


-tushar
0
 
Rodney HelsensCommented:
You may find this helpful also..

Working with the Office XP Primary Interop Assemblies
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnoxpta/html/odc_oxppias.asp

0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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