You can use the Spread 8 COM control in Microsoft Visual Studio 2015 with Microsoft Windows 10. Spread Windows Forms is a .NET control and is a better option; however, you may have older code or projects where you need to use Spread 8 COM. Use the following steps to create a new project in Visual Studio 2015 and add the Spread 8 COM control.
C#
axfpSpread1.MaxCols = 8;
axfpSpread1.MaxRows = 12;
axfpSpread1.ColHeaderRows = 3;
axfpSpread1.RowHeaderCols = 2;
axfpSpread1.AddCellSpan(1, -1000, 8, 1);
axfpSpread1.SetText(1, -1000, "Fiscal Year 2015");
axfpSpread1.AddCellSpan(1, -999, 2, 1);
axfpSpread1.SetText(1, -999, "1st Quarter");
axfpSpread1.AddCellSpan(3, -999, 2, 1);
axfpSpread1.SetText(3, -999, "2nd Quarter");
axfpSpread1.AddCellSpan(5, -999, 2, 1);
axfpSpread1.SetText(5, -999, "3rd Quarter");
axfpSpread1.AddCellSpan(7, -999, 2, 1);
axfpSpread1.SetText(7, -999, "4th Quarter");
axfpSpread1.SetText(1, -998, "East");
axfpSpread1.SetText(2, -998, "West");
axfpSpread1.SetText(3, -998, "East");
axfpSpread1.SetText(4, -998, "West");
axfpSpread1.SetText(5, -998, "East");
axfpSpread1.SetText(6, -998, "West");
axfpSpread1.SetText(7, -998, "East");
axfpSpread1.SetText(8, -998, "West");
axfpSpread1.AddCellSpan(-1000, 1, 1, 12);
axfpSpread1.SetText(-1000, 1, "Store #");