Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Managed C++/CLI
  4. Can't find Excel Interop assembly

Can't find Excel Interop assembly

Scheduled Pinned Locked Moved Managed C++/CLI
visual-studioquestioncsharpc++com
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    BuckBrown
    wrote on last edited by
    #1

    Hi, I am using Visual Studio 2005 C++/CLI. I have also posted this on the Visual Studio IDE message board. I have been developing an application on my PC at my desk. This application uses the Microsoft.Office.Interop.Excel assembly that I included by adding a new reference in the project properties page by clicking the 'Add New Reference' button and selecting it from a list. I then copied the project to another machine that has Visual Studio 2005 installed on it and the compiler choked on the Excel reference. I went to add the reference to the project properties page but could not find it in the pre-defined list. I went back to my original machine and could not find Microsoft.Office.Interop.Excel in the pre-defined list either. Shouldn't this assembly be in the pre-defined list or is it defined differently? How do I get this assembly in the Visual Studio 2005 reference list? I did it once and I'm almost positive it was in the pre-defined list. What happened to it? Thanks Buck

    D 1 Reply Last reply
    0
    • B BuckBrown

      Hi, I am using Visual Studio 2005 C++/CLI. I have also posted this on the Visual Studio IDE message board. I have been developing an application on my PC at my desk. This application uses the Microsoft.Office.Interop.Excel assembly that I included by adding a new reference in the project properties page by clicking the 'Add New Reference' button and selecting it from a list. I then copied the project to another machine that has Visual Studio 2005 installed on it and the compiler choked on the Excel reference. I went to add the reference to the project properties page but could not find it in the pre-defined list. I went back to my original machine and could not find Microsoft.Office.Interop.Excel in the pre-defined list either. Shouldn't this assembly be in the pre-defined list or is it defined differently? How do I get this assembly in the Visual Studio 2005 reference list? I did it once and I'm almost positive it was in the pre-defined list. What happened to it? Thanks Buck

      D Offline
      D Offline
      dtr1
      wrote on last edited by
      #2

      From http://msdn2.microsoft.com/en-us/library/kh3965hw(VS.80).aspx : During a Typical installation of Microsoft Office, the primary interop assemblies are set to be installed on first use IF the .NET Framework IS INSTALLED. This installation option works on development computers during project creation and on end user computers when an end user runs a Microsoft Office solution. Redistributable Primary Interop Assemblies Package The primary interop assemblies for Microsoft Office products are also available in a redistributable Microsoft Windows Installer package: The package for Microsoft Office 2003 is available for download from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=50479). The package for the 2007 Microsoft Office system is available for download from the Microsoft Download Center (http://go.microsoft.com/fwlink/?LinkId=72637).

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups