Skip to content
  • There are no suggestions because the search field is empty.

How to license a custom OPC Server created with SLIK-DA

I have registered my SLIK-DA license successfully using the Registration Wizard, but my custom application still runs in DEMO mode. What do I do?

It is important to understand that when creating a custom OPC Server with the SLIK-DA OPC Server toolkit, the SLIK-DA license is contained in the control itself. Therefore, if the SLIK-DA control existed on the form of your application prior to licensing your toolkit, that control on the form will still be an unlicensed control and will need to be replaced with a new, licensed control after the product has been registered.

To replace the old SLIK-DA control on the Form with a new, licensed instance of the SLIK-DA control, follow these steps:

  1. Take note of the following properties of the current SLIK-DA control: Name, AppName, Description, ProgID and VendorName.
  2. Remove the old SLIK-DA control from the form and delete the old reference to Interop.NDISLIKDA.
  3. Save and shut down Visual Studio and re-open your Project.
  4. Add the new SLIK-DA control to the form, and re-assign the following properties: Name, AppName, Description, ProgID and VendorName.
  5. Auto-Generate a new AppID and CLSID.
  6. Adding the new control will restore Interop.NDISLIKDA as a reference. Open the properties for this reference and set "Embed Interop Types" to False. (Note: This property will only be available when targeting newer .NET Framework Versions.)
  7. Go to the Properties of the SLIK-DA control and find the Events (Lightning Bolt Symbol). Make sure the Events of the control are properly tethered to the Events defined in your code.

Your application should now have a licensed SLIK-DA control.

Please submit any questions you may have to our support team.