flexcpPicture

Posted by: rickardrygin on 28 February 2020, 2:28 am EST

  • Posted 28 February 2020, 2:28 am EST

    Hi
    I'm using VSFlexgrid 8 in a VBA project, but I'm now upgrading to VB.NET.

    In VBA I'm using this syntax to display a cell picture:

    fg.cell(flexcpPicture, fg.Rows - 1, 0) = MyImage.Picture

    The same syntax in VB.NET is as below, but it doesn't work, no picture is displayed. What am I doing wrong? The image object doesn't seem to have a .picture property in VB.NET, is that the issue, do I have to specify the image in a different way?

    fg.set_Cell(VSFlex8.CellPropertySettings.flexcpPicture, fg.rows - 1, 0, fg.rows - 1, 0, MyImage)
  • Marked as Answer

    Replied 3 March 2020, 10:33 pm EST

    Hi,

    Please refer the following forum post which discusses a similar issue for C# (.Net):
    https://www.grapecity.com/forums/activex-edition/c-setcell-not-working

    Note: I would also like you to know that the ActiveX controls are designed to be used in VB6 only. They have never been tested with the .Net environment either.

    Thanks,
    Pragati

Need extra support?

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

Learn More

Forum Channels