Free Support Forum - aspose.com

Workbook is not a class in Excel namespace

I'm attempting to evaluate the Aspose.Cells product, but have run into a problem right off the bat. I'm following the "Your first application" tutorial at http://www.aspose.com/documentation/file-format-components/aspose.cells-for-.net-and-java/your-first-application-using-aspose-cells-hello-world.html. I'm trying to declare the workbook, as it shows in the code, but Workbook is not a class within the Excel namespace. Worksheets and Worksheet are there, but not Workbook.

I'm using VS2008. I've added a reference to Aspose.Excel. This is the line that won't work:

Dim wb As Aspose.Excel.Workbook = New Aspose.Excel.Workbook

I browsed the Excel namespace and Workbook is not there. What's going on?

-David

I think I may have figured out what’s going on after reading an unrelated post. I downloaded and installed Aspose.Total for .Net 1.4.0.0 New release. Apparently I have to also download and install the 6 Hot Fixes that were released since this New Release in order to have the most current version of each product. It appears Aspose.Excel became Aspose.Cells (and Aspose.Excel.Web became Aspose.Grid, and Aspose.Project became Aspose.Tasks, and Aspose.Word became Aspose.Words, and . . .).

Hi,

Yes, you have rightly figured out. So, you should use Aspose.Total for .NET 1.4.0.6 hot fix: http://www.aspose.com/community/files/50/product-suites/aspose.total/entry87871.aspx which contains the latest versions of each product.

Thank you.