How to add vsflex8u(unicode) to form control using vb6

Posted by: jracauilan on 6 February 2018, 9:49 pm EST

    • Post Options:
    • Link

    Posted 6 February 2018, 9:49 pm EST

    hi , this is super late but i need to ask this , how to add the vsflex8U in the form control programatically ? i tried adding it using this code :

    Dim WithEvents dynamicVSFlexGrid As VBControlExtender

    Dim StrLicenseKey As String
    StrLicenseKey = Licenses.Add("VSFlexGrid8.VSFlexGridADO", "O0OOEC742")
    Set dynamicVSFlexGrid = Form1.Controls.Add("VSFlexGrid8.VSFlexGridADO", "VSFlexGrid81")
    

    yes its added to form control but its not the vsflex8U (which is the unicode ) it added just the vsflex8 (which is not unicode) thanks a lot, im using vb6 btw have a great life! :slight_smile:

  • Posted 6 February 2018, 10:27 pm EST

  • Posted 7 February 2018, 9:27 pm EST

    Hi,

    Please refer the attached application which demonstrates adding unicode version of VSFlexGrid in a VB6 application at run time.

    You can also refer the following blog for more information on adding controls at run time:

    https://www.grapecity.com/en/blogs/embedding-license-key-for-activex-controls-created-at-run-time/

    ~PragatiAddGrid.zip

  • Posted 7 February 2018, 11:11 pm EST

    [b]Hi pragati.kaushik , i tried it and it is now working ! :smiley: , i dont know how to thank you maam for you kind help to me, without you i dont know what to do to maintain our company old system . thanks to your kindness maam ! keep safe and god Speed!

    -regards , john[/b]

  • Posted 8 February 2018, 2:35 pm EST

    Thank you for the kind words, John. Glad to know that I could help :slight_smile:

Need extra support?

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

Learn More

Forum Channels