We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

How to use license for

We ar using aspose.pdf.dll having version and now we have upgraded to version aspose.pdf.dll got the license for the new version of dll but the licesnse now does not support products like aspose.excel and aspose.word instead it supports products like aspose.words and aspose.cells,but the dll doesnt have namespace for aspose.words nor aspose.cells and has the namespace for aspse.word and aspose.excel for which but license is not supported,So can you tell us how to use the license

Our current code to set the license is as follows.This code works for with our old license but doesnt work for with the new purchased license.

' set license
Dim licenseFile As String = ConfigurationSettings.AppSettings("AsposeLicenseFile")
If (Not licenseFile Is Nothing) AndAlso (Not String.Empty.Equals(licenseFile)) Then
If Not Me.HttpContext Is Nothing Then
' called from webui; map virtual path to physical path
licenseFile = Me.HttpContext.Server.MapPath(Me.HttpContext.Request.ApplicationPath & licenseFile)
End If

Dim asposeWordLicense As New Aspose.Word.License

Dim asposePdfLicense As New Aspose.Pdf.License

'Added by Arvind for EXCEL
Dim asposeExcelLicense As New Aspose.Excel.License
End If

Thanks & Regards,

Vijeta Sabale


Please refer to the following code:

Dim license As Aspose.Words.License = New Aspose.Words.License

Dim license1 As Aspose.Pdf.License = New Aspose.Pdf.License