Displaying an Oracle 10G XE Table with Visual Basic 6.0 - Create a Visual Basic Standard EXE Project
(Page 2 of 4 )
Start a VB 6 Standard EXE project. The project is given the name Ado_OraXE in this tutorial. The caption of Form1 has been changed as shown in the next picture.

Add the ADO Data Control
Go to Project and click on it. In the drop-down click on Components to open this window. Scroll down in this window and choose the Microsoft Data Control 6.0(Sp4). This adds the ActiveX control whose file name is msadodc.ocx as shown. The control is now added to the toolbox where when you hover over it , a tool tip pops up with text which reads 'Adodc.'

Click on this control in the toolbox and place it on the form. Another way to do this is just to double click on this control when the form is open in the design view. When added, the control shows up as shown. Adodc1 is an instance of the ADODC Control. It comes with the navigational features as shown.
Next: Configure the ADODC Data Control >>
More Visual Basic.NET Articles
More By Jayaram Krishnaswamy