TextMatrix(IRow, 4) = adoRst.Fields(4). TextMatrix(IRow, 3) = adoRst.Fields(3).Value TextMatrix(IRow, 2) = adoRst.Fields(2).Value TextMatrix(IRow, 1) = adoRst.Fields(1).Value TextMatrix(IRow, 0) = adoRst.Fields(0).Value 'fill with MsFlexGrid cells with data using ADO Recordset TextMatrix(0, i) = adoRst.Fields(i).Name Fortunately for all us, we can still download the Microsoft Visual Basic 6.0 Common Controls redistributable package including ListView from this page on Microsoft’s website. Add ADO Data Control (ADODC) component in vb6. ' format FlexGrid Header and column width As you can also conclude after reading this post, the ListView control may be absent in the latest version of Microsoft Office and Windows. coding is working now and I would like to post the working VB6 coding here here to share it with other Newbies who may experience similar problems. I have modified the sample coding to suit my IT System Analyst specifications and User Requirements. Thank you very much for pointing out my error.
0 Comments
Leave a Reply. |