Neodynamic Barcode Professional for Reporting Services
License Registration
When you buy a commercial version of Neodynamic Barcode Professional for Reporting Services you are provided with license information to register and unlock your copy of Neodynamic Barcode Professional for Reporting Services.

The registration process is very simple but it depends on your Reporting scenario. In the following section we'll describe each of those possible scenarios and their particular registration method.

Barcode DLL in SQL Server 2005/2008/2012 Reporting Services
Barcode CRI in SQL Server 2005/2008/2012 Reporting Services
Visual Studio 2005/2008/2010 Local Reports RDLC (ReportViewer controls)



Barcode DLL in SQL Server 2005/2008/2012 Reporting Services
If you're using Barcode DLL with SQL Server 2005/2008 (R2)/2012 Reporting Services, then you must to set up the license properties into each VB.NET functions of your report that is using an instance of Barcode Professional.
For instance, in the following snipped code we're supposing you have a report which contains a VB.NET function into the Code section that uses Barcode Professional. Please take a look at how the license info must be set to the LicenseOwner and LicenseKey properties.
IMPORTANT: Be careful when setting the license properties because they are case-sensitive!
Public Function GetBarcode(ByVal code As String) As Byte()
    'Set the license information
    objBarcode.LicenseOwner = "THE LICENSE OWNER"
    objBarcode.LicenseKey = "THE LICENSE KEY"
 
    'Set the value to encode
    objBarcode.Code = code
    ...    
    'Generate the barcode image
    Return objBarcode.GetBarcodeImage()
End Function		
	

Remember that if you had more that one function in the same report using Barcode Professional, then you must to set up the license properties into each of them.
After you've set up these properties the TRIAL legend should disappear from the barcode image, indicating that your copy was successfully registered as a licensed version.



Barcode CRI in SQL Server 2005/2008/2012 Reporting Services
If you are using Barcode CRI in Reporting Services 2005/2008 (R2)/2012 scenarios, there are two ways to set up the license information:

License settings on a per-report basis
License settings on a per-server basis

License settings on a per-report basis
If you're using Barcode Professional with SQL Server 2005/2008/2012 Reporting Services, then generally you'll use Visual Studio 2005/2008/2010 Report Designer or SQL Server Business Intelligence Development Studio to create or design your reports.
IMPORTANT: If you are instantiating Barcode Professional classes inside VB.NET custom functions in the report's Code section, then the license registration is the same as for Barcode DLL in SQL Server 2005/2008/2012 Reporting Services

You have two ways to specify the license information into the LicenseOwner and LicenseKey properties of Barcode Professional.

  • Setting license info through Barcode Professional property editor (Neodynamic Barcode Builder form)

    After you drag & drop from the Toolbox a Barcode Professional control onto the report at design-time, right-click onto it and select Properties or Barcode Builder... . The Neodynamic Barcode Builder form will appear. Just enter the license information into the last tab called About Barcode Professional as is shown in the following figure.

    Barcode Professional for Microsoft SQL Server 2005/2008/2012 Reporting Services - Barcode Builder form
    IMPORTANT: Be careful when setting the license properties because they are case-sensitive!
    You must do this on each Barcode Professional into your reports. After you've set these properties the TRIAL legend should disappear from the barcode image when you see your reports at runtime and it'll indicate that your copy was successfully registered as a licensed version.


  • Setting up the license info through Visual Studio 2005/2008/2010 Property Window

    The other way to specify the license information to Barcode Professional is through the property window of Visual Studio 2005/2008/2010. After you drag & drop from the Toolbox a Barcode Professional control onto the report at design-time, select it clicking onto it and press F4 key. The Visual Studio 2005/2008/2010 property window will appear. Just enter the license information into the properties LicenseOwner and LicenseKey of Barcode Professional as is shown in the following figure.

    Barcode Professional for Microsoft SQL Server 2005/2008/2012 Reporting Services - Visual Studio 2005/2008/2010 Property Window
    IMPORTANT: Be careful when setting the license properties because they are case-sensitive!
    You must do this on each Barcode Professional into your reports. After you've set these properties the TRIAL legend should disappear from the barcode image when you see your reports at runtime and it'll indicate that your copy was successfully registered as a licensed version.


License settings on a per-server basis
IMPORTANT NOTES:
  • This method is NOT always possible to use depending on some security context set up on your server. That means that if you after following the steps stated below you cannot get it to rid of the TRIAL legend on barcodes, then you should go for the first approach i.e. License settings on a per-report basis
  • If you are using the Barcode class in the Report's Code section, then this license setting will not work.
"License settings on a per-server basis" means that if you're using Barcode Professional with SQL Server 2005/2008/2012 Reporting Services, then you must first generate the Neodynamic.ReportingServices.Barcode.LIC license file by using the Neodynamic License File Generator Tool with the license information you have received from Neodynamic and after that, you must copy such file in the following locations:
If no license information is set up in the Barcode Professional properties, then it will try to get the license information from the Neodynamic.ReportingServices.Barcode.LIC file. If Barcode Professional is able to get such information from that file, then the TRIAL legend should disappear from the barcode image, so indicating that your copy was successfully registered as a licensed version.



Visual Studio 2005/2008/2010 Local Reports RDLC (ReportViewer controls)
In Visual Studio Local Reports (RDLC) scenarios the license registration is accomplished by just setting up the license properties (LicenseOwner and LicenseKey) of Barcode Professional class (Neodynamic.ReportingServices.Barcode class).

Take a look at how to set up the license information depending on where you are using the Barcode Professional class:
IMPORTANT: Be careful when setting the license properties because they are case-sensitive!

If you are generating barcode images in code before report rendering stage takes place For instance, in the following snipped code we're supposing you have instantiated Barcode Professional class in code and it's ready to generate the barcode images for the report. Please take a look at how the license info must be set to the LicenseOwner and LicenseKey properties.
(VB.NET)
...    
Dim objBarcode As New Neodynamic.ReportingServices.Barcode()
    
'Set the license information
objBarcode.LicenseOwner = "THE LICENSE OWNER"
objBarcode.LicenseKey = "THE LICENSE KEY"
...


(C#)
...    
Neodynamic.ReportingServices.Barcode objBarcode = new Neodynamic.ReportingServices.Barcode();
    
//Set the license information
objBarcode.LicenseOwner = "THE LICENSE OWNER";
objBarcode.LicenseKey = "THE LICENSE KEY";
...
	


If you are generating barcode images inside report's Code section For instance, in the following snipped code we're supposing you have a report which contains a VB.NET function into the Code section that uses Barcode Professional. Please take a look at how the license info must be set to the LicenseOwner and LicenseKey properties.
Public Function GetBarcode(ByVal code As String) As Byte()
    'Set the license information
    objBarcode.LicenseOwner = "THE LICENSE OWNER"
    objBarcode.LicenseKey = "THE LICENSE KEY"
 
    'Set the value to encode
    objBarcode.Code = code
    ...    
    'Generate the barcode image
    Return objBarcode.GetBarcodeImage()
End Function		
	
If you had more that one function in the same report using Barcode Professional, you must to set the license properties into each of them.

After you've set these properties the TRIAL legend should disappear from the barcode image and it'll indicate that your copy was successfully registered as a licensed version.