Free Support Forum - aspose.com

Aspose Cell for .Net 2.0

Respected Sir

I want to use Aspose Cell instead of Excel dcom. But i have only .Net runtime 2.0 (VS 2005). So what will be the product and i want to download the evaluation version for the product.

Regards

Arijit Chatterjee


This message was posted using Aspose.Live 2 Forum

Hi Arijit,

Thanks for considering Aspose.

Well, you may use Aspose.Cells on any .NET framework including .NET 1.0, 1.x, 2.0, 3.x etc.

If you want to evaluate the product, kindly try the attached version (Aspose.Cells.dll) library. You just need to Add Reference it into your .NET project and use it.

Reference:

Please check the APIs: http://www.aspose.com/Products/Aspose.Cells/Api/

Wiki Documentation: http://www.aspose.com/Products/Aspose.Cells/Demos/

Demos: http://www.aspose.com/Wiki/Default.aspx/Aspose.Cells/

Thank you.

Thanx it is working now in .Net 2.0

Now I am using

Dim wb As New Workbook()
Dim sheet As Worksheet = wb.Worksheets(0)
Dim cell As Cell = sheet.Cells("A1")
cell.PutValue("Hello World!")
wb.Save("Test.xls", FileFormatType.Default, SaveType.OpenInBrowser,Response)
If I am trying to open the output instead of save then the following warning appears

-------------------

The file you are trying to open, 'Defaul.aspx', is in a different format than specified by the file extension. Verify that the file is not corrupted and is from a trusted source before opening the file. Do you want to open the file now ?

---------------

Hi,

Well, it's an info type error, you may ignore it as the file will be opened fine. For sorting it out, you should use SaveType.OpenInExcel option instead of OpenInBrowser.

e.g.,

wb.Save("Test.xls", FileFormatType.Default, SaveType.OpenInExcel,Response)

Thank you.

Thanx and Regards.