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

    Pertanyaan

  • Public Function gridloop(MSFG1 As Object) As Long
       		For  i= 0 To MSFG1.rows - 1 
        			A = MSFG1.TextMatrix(i,1)
        		Next
    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?

    24 Juli 2018 6: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 vb.net.
    Thank you for your understanding.

    vb6

    Best Regards,

    Alex


    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.


    24 Juli 2018 9:04