Dear Aspose Team
I have downloaded the latest Apsose's products archive (ZIP file, .Net version) from your site. I have installed Aspose.Cells.MSI into my box. I have created a console test application. When I run it, I have an error. Something like this:
"Unhandled Exception: System.BadImageFormatException: is not a valid Win32 appli
cation. (Exception from HRESULT: 0x800700C1)
at AsposeTest.Program.CreateAsposeCellsFile1(String filename)
at AsposeTest.Program.Main(String[] args)"
Here is the code of my CreateAsposeCellsFile1 method:
private static void CreateAsposeCellsFile1(string filename)
{
DateTime start = DateTime.Now;
Workbook workbook = new Workbook();
Worksheet ws = workbook.Worksheets[0];
for (int row = 0; row < 200; row++)
{
for (int col = 0; col < 100; col++)
{
ws.Cells[row, col].PutValue(row + "," + col);
}
}
ws.AutoFitRows();
workbook.Save(filename + ".xls");
DateTime end = DateTime.Now;
TimeSpan time = end - start;
Console.WriteLine("File Created! \n" + "Time consumed (Seconds): " + time.TotalSeconds);
}
Please note, that I have copied the code from your site and just added small changes to auto fit rows.
Please help me to solve the issue.
Thank you.