
Adding a Reference vs Adding a Control
In
Visual Basic 6 when you add ADO DataControl in component ADO is not
added to the reference
But when you place an ADO Data Control on the form Microsoft ADO 2.X is
automatically added to the reference.
You dont have to add the control to get the ADO 2.X reference. You can add
the reference without adding any controls and you will be able to use all
the ADODB objects like ADODB.Connection, ADODB.Recordset. etc.,
Its always a good idea not to load any controls when you dont need them.
Hope this answers your question.
Ramesh Thyagarajan, MCSD,MCDBA
Microsoft Developer support
This posting is provided "AS IS" with no warranties, and confers no rights.
Are you secure? For information about the Microsoft Strategic Technology
Protection Program and to order your FREE Security Tool Kit, please visit
http://www.microsoft.com/security.