ActiveX VSFlexGrid evaluation popup after license activation

Posted by: paolo.caricasole on 12 October 2017, 8:19 pm EST

  • Posted 12 October 2017, 8:19 pm EST

    Dear support,
    I use OCX VSFlexGrid Component inside SAP Business One application.
    When I use it on my development machine the evaluation popup license not compares anymore after activation. But when I deploy my application, the pop up still compares on the clients machines where application run.

    My use of ActiveX is particular because I’ve to use it inside SAP Forms (not Windows Forms). SAP SDK gives an ActiveX “container” inside their components where you can use ActiveX. Here some lines of code:

    SBO_FORM.Items.Add("UID_ITEM_ACX", SAPbouiCOM.BoFormItemTypes.it_ACTIVE_X)
    Dim SBO_ACTIVEX_ITEM As SAPbouiCOM.ActiveX = SBO_FORM.Items.Item(UID_ITEM_ACX).Specific
    SBO_ACTIVEX_ITEM.ClassID = "VSFlexGrid8.VSFlexGridN.1" '// UNICODE version of the VSFlexGrid 8.0 control with ADO/OLEDB data-binding.
    Dim TREEVIEW As VSFlex8N.VSFlexGrid = SBO_ACTIVEX_ITEM.Object
    '// From now I can use the ActiveX inside SAP Business One (SBO) Form

    I’ve read the article: https://www.grapecity.com/en/blogs/troubleshooting-activex-licensing/ and I think I should use “Dynamically Adding the Controls” approach.
    I’ve tried to use suggestions inside the article https://www.grapecity.com/en/blogs/embedding-license-key-for-activex-controls-created-at-run-time/ but I don’t know how to use the line “Licenses.Add("VSFlexGrid8.VSFlexGridADO.1?, "Type/paste your license key here")” inside a not Windows Form (Licenses.Add method doesn’t exists).

    Any help would be appreciated.
    Thanks in advance.
    Paolo Caricasole.
  • Replied 15 October 2017, 8:26 pm EST

    Hi Paolo,

    I am not sure how a run time licenses can be embedded in SAP Business One applications. Please contact their support for detailed information on how to do this.

    Sorry, I could not be of much help on this.

    Thanks,
    Pragati
  • Replied 18 October 2017, 2:10 am EST

    Hi Pragati,
    thank you for replay.

    I'm not sure that SAP support give us information on how set license into their ActiveX "container" because it is a container in which you can use one ActiveX component despite of another one, and every ActiveX component can have their own license mechanism.

    I believed that, once registered, OCX component takes with itself the license registration when deployed on client machines.
    Maybe there is a way to set license string of the product programmatically while register the OCX on the client side during installation?

    Thank you.
    Best regards.
    Paolo.
  • Replied 23 October 2017, 10:54 pm EST

    Hi Paolo,

    Thank you for the details. I am discussing the case with the development team and will let you know once there is any information from them.

    ~Pragati
  • Replied 14 November 2017, 8:11 pm EST

    Hi Pragati,
    do you have any news from the development team?

    Thank you.
    Best regards.
    Paolo.
  • Replied 19 November 2017, 9:22 pm EST

    Hi Paolo,

    The issue is yet to be resolved. However I have raised its priority. Will keep you updated in case there is any information.

    ~Pragati
  • Marked as Answer

    Replied 18 December 2017, 7:37 pm EST

    Hi Paolo,

    As we do not work with SAP products, we have no idea about it except that it is not an environment we support.

    The licensing mechanism used by VSFlexGrid is the "standard" Microsoft ActiveX licensing mechanism:
    https://msdn.microsoft.com/en-us/library/aa751973(v=vs.85).aspx

    Perhaps knowing this, SAP can provide further guidance.

    If SAP creates a wrapper that supports IClassFactory2 and stores the runtime license (this is command for 3rd party software), then it probably does so when the wrapper is created. If this is the case and the machine was not licensed when the wrapper was created, then the runtime license obtained by the original wrapper will be an eval license, and nags can be expected. Perhaps rebuilding the wrapper will solve the problem.

    If this is not helpful, then you should consider purchasing a Non-Standard-Container (NSC) License. If the control is considered to be run time and not design time, then an NSC license would help. This would require installation of a key into each end-user's registry and would allow the control to run nag free at run only. You can contact our sales team in case needs more information on this license:
    https://www.grapecity.com/en/contact

    Thanks,
    Pragati
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels