Office 2007 Web Components and Using Microsoft Office 12.0 Spreadsheet in Visual Studio C # for Windows

I can not find the Microsoft Office component 12.0 COM component / control in the COM component tab of the Visual Studio ToolBox.

And also I could not use / find 'OWC12.dll' to add the same to Toolbox controls.

Since I can see something called "owc11.dll" in the "Microsoft Office 11.0 Table" on the "Components of COM Panel Components" tab.

But I need the last COM component associated with the Office2007 spreadsheet in my Visual Studio 2008 WinApp project.

In case it is not available for component 12.0, please tell me how to add an Excel 2007 spreadsheet as a control to the Visual Studio2008 / 2010 application project.

Please provide me with a detailed explanation and the process of adding the same code.

-BS

+3
source share
1 answer

You can add an Excel workbook to your form using the AxSpreadsheet control. To use this control, you need to add the link AxInterop.OWC11.dll and Interop.Office.DLL.

http://dotnetcodelearner.wordpress.com/2012/12/19/displaying-the-excel-workbook-in-windows-form-using-axspreadsheet/

0
source

Source: https://habr.com/ru/post/1788427/


All Articles