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


  • 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?

    Selasa, 24 Juli 2018 06.06

Semua Balasan

  • Hi

    According to your description, your issue is more related about vb6t. And this forum is discussing and asking questions about the
    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

    Selasa, 24 Juli 2018 09.04