Vb6 – late-binding with COM objects(flexgrid) 2 times slower RRS feed

  • Question

  • Public Function gridloop(MSFG1 As Object) As Long
       		For  i= 0 To MSFG1.rows - 1 
        			A = MSFG1.TextMatrix(i,1)
    End Function

    The above code is 2 times slower than below

    Public Function gridloop(MSFG1 As MSHFlexGrid) As Long
    Public Function gridloop(MSFG1 As MSFlexGrid) As Long

    Any solution to speed-up?

    Tuesday, July 24, 2018 6:06 AM

All replies

  • Hi

    According to your description, your issue is more related about vb6t. And this forum is discussing and asking questions about the vb.net.
    Thank you for your understanding.


    Best Regards,


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com.

    • Edited by Alex-KSGZ Tuesday, July 24, 2018 9:09 AM
    Tuesday, July 24, 2018 9:04 AM