Dim uri As New Uri(System.IO.Path.GetDirectoryName(System.Reflection.Assembly.GetExecutingAssembly().GetName().CodeBase)) Dim licenseReader As StreamReader = New StreamReader(uri.LocalPath & “\Aspose.Excel.lic”) Excel.SetLicense(licenseReader, page)
I will send you the license file and order number in e-mail separately.
As your license is generated by our new purchase system, you need to download and use the latest http://www.aspose.com/Products/Aspose.Excel/Releases/Aspose.Excel.msi.
After you verify your dll is the latest v2.8.0.1, please check the new license API reference at http://www.aspose.com/Products/Aspose.Excel/Api/Aspose.Excel.License.html.
You need to use the new code to set license:
[C#]
Aspose.Excel.License license = new Aspose.Excel.License();
license.SetLicense(“Aspose.Excel.lic”);
[Visual Basic]
Dim license As Aspose.Excel.License = New Aspose.Excel.License()
License.SetLicense(“Aspose.Excel.lic”)