Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Controls

Status
Not open for further replies.

arpan

Programmer
Oct 16, 2002
336
IN
I have a VB Form which retrieves records from a database. The Form has 2 labels with a Data Control (which can be created by clicking the control named Data) in between. When this Data control is clicked in the Form at design time, it shows the Name in the Property Window as Adodc1. When the Form is now run, by default it shows the first record in the database in Label1 & 'Record 1 of 21' in the 2nd Label. Next when the first arrow in the right hand side of the Data Control is clicked, the first Label shows the 2nd record existing in the database table & the 2nd label shows 'Record 2 of 21'. Till this point, everything is OK.

Now when this project is opened in VB 6.0, the toolbox shows an additional tool named Adodc. Where from has this additonal tool come? To be very honest, I had only created this small Form long time back but I don't remember what I did to get that additional tool Adodc. Can someone throw more light on this?


Thanks,

Arpan
 
The ADODC is a datacontrol which is added in the menu Project==>Components...
There you will see that Microsoft ADO Data Control 6.0 (SP4)(OLEDB) is a selected item. That is the component you have added
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top