Please be advised that this ComponentOne software tool is accompanied by various sample projects and/or demos, which may make use of other development tools included with ComponentOne Studio Enterprise.
mples can be accessed from the Samples folder. On your desktop, click the Start button and then click ComponentOne | Studio for ActiveX | True DBList Pro 8.0 | Samples. The following table provides a description for each sample.
ICursor and OLEDB Samples
Sample |
Description |
APIToX |
This sample shows how you can populate XArrayDB from an ODBC database. The advantage is that there is no overhead of DAO, ADO or RDO. This sample uses the TDBList control. |
DAOToX |
This sample dumps everything from a recordset to an XArrayDB. The difference between this sample and the RDOToXarray is only the redimensioning of the XArrayDB. With the recordset we always know how many records we have so we can ReDim the XArrayDB up front. This sample uses the TDBList control. |
Odbc6 |
This sample shows how you can use ODBC API to populate the list in Unbound extended mode. This sample uses the TDBList control. |
OwnerDraw |
This is a small sample that shows how you can use GDI calls in list's OwnerDraw event. This sample uses the TDBList control. |
RDOToX |
This sample dumps everything from a resultset to an XArrayDB. The advantage is that after this is done you can disconnect from the server and all work is done locally.The obvious disadvantage is the concurrency issues. This sample uses the TDBList control. |
Ub1DAO |
This sample uses Unbound 1 mode and a TDBList to display records from a recordset. This unbound mode is provided for compatibility with older products. New applications should use the UnboundExtended mode. This sample uses the TDBList control. |
Ub2ADO |
This sample shows how you can populate the list in Unbound extended mode from an ADO recordset. This sample uses the TDBList control. |
Ub2ARR |
This sample uses a generic data class. For small data sets you should use DataMode 4 - Storage with XArrayDB. This sample uses the TDBList control. |
Ub2DAO |
This sample populates the list with the DAO recordset in Unbound extended mode. This sample uses the TDBList control. |
Ub2RDO |
This sample populates the list with the RDO Resultset in Unbound extended mode. This sample uses the TDBList control. |