combit List & Label 24 - .NET Online Web Help
Programming Introduction > Tutorial > Fundamentals > Integration

To use the .NET component of List & Label in applications, basic steps for the integration of the .NET component must first be performed.

Steps to Integration


 Add .NET Reference

First, the List & Label .NET component must be added to your application. This is usually done by adding an assembly reference in Visual Studio. Select the entry "References" in the Solution Explorer of Visual Studio and select "Add Reference..." from the context menu. Then select the List & Label main assembly "combit.ListLabel[version number].dll from the sub-installation directory "..\Samples\Microsoft.NET\Assemblies\Assemblies 4.0\".


Tip: There is also a NuGet package that automatically adds the reference.


 Create Object

Now an instance of the List & Label component can be created. The two variants are static and dynamic.


In the design mode of a form, you can simply drag the "ListLabel" component from the Visual Studio toolbox onto the form. The associated namespace "combit.ListLabel[version number]" is also added directly and automatically.


The component can also be created dynamically directly in the code. To do this, you should first add the namespace. And then the actual instance can be created.

using combit.ListLabel[Versionsnummer];
using(ListLabel LL = new ListLabel())

    // do something with LL

Imports combit.ListLabel[Versionsnummer]
Using LL As New ListLabel

    ' do something with LL

End Using


Important notice: For performance and multithreading reasons, we recommend that you always use a global instance of the List & Label component, which does not perform any tasks, but is only responsible for loading the resources used. The decisive advantage is that the List & Label modules do not have to be loaded and unloaded for each new instance, which can cause unwanted delays in case of frequent calls or e.g. serial printing. Further information can also be found in the knowledgebase article Multithreading with List & Label.


 Licensing the component

So that the application now equipped with List & Label can be used later also on other target systems, the license key for the created List & Label objects must still be set. The license key is in the PersonalLicense.txt file of your installation and can be set via the LicensingInfo property.

LL.LicensingInfo = "xXxXxXxX";
LL.LicensingInfo = "xXxXxXxX"



More details for deploying the equipped application can be found here.