Vsflexgrid8 use in actualy Visual Studio

Posted by: pr on 6 November 2017, 9:33 pm EST

    • Post Options:
    • Link

    Posted 6 November 2017, 9:33 pm EST

    Hello,

    is there a tutorial or example to use vsflexgrid8 in Visual Studio.

    till today i use activex in VB6

    thanks

  • Posted 7 November 2017, 8:15 pm EST

    Hi,

    There is no such tutorial. But, VSFlexGrid can be used in .Net environment like any other ActiveX control as mentioned here:

    https://docs.microsoft.com/en-us/dotnet/visual-basic/programming-guide/com-interop/how-to-work-with-activex-controls

    Please note, we do not recommend using the COM controls in .Net environment. I would rather suggest you to go with the .Net version of VSFlexGrid, i.e., C1FlexGrid:

    https://www.grapecity.com/en/flexgrid/

    Thanks,

    Pragati

  • Posted 7 November 2017, 8:28 pm EST

    Hello Pragati,

    in C1FlexGrid can i use the same Properties as in vsflexgrid8.

    I mean like fg.textmatrix(r,c) or fg.colhidden(c) fg.cell(flxcpbackground,r,c,r,c) and so on

    Thanks

    Paul

  • Posted 8 November 2017, 8:01 pm EST

    Hi Paul,

    .Net version of FlexGrid has different properties for accomplishing the same purpose. If you are writing new applications, you should use C1FlexGrid control. But, if you are porting existing applications that use the VSFlexGrid ActiveX control and want to change as little code as possible, then use the C1FlexGridClassic control.

    Please refer the following documentation link for more information on differences between .Net and ActiveX versions of FlexGrid:

    http://help.grapecity.com/componentone/NetHelp/c1flexgrid/.netvsactivexversionsofc1flexgrid.html

    Thanks,

    Pragati

  • Posted 31 May 2022, 1:52 am EST

    Hello,

    i had paused …

    Now i will use C1FlexGridClassic control.

    In ActiveX i say .textmatrix(r,c)=“Hello”

    In C1FlexGridClassic i cant find .textmatrix(r,c) but set_textmatrix(r,c,Value)

    Do i have to change all .textmatrix() in my code ???, or my i find find .textmatrix(r,c)=Value anywhere?

    Thanks

    Paul

Need extra support?

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

Learn More

Forum Channels