VB6 Components and References

Please tell me what are these Components and References in a VB6 apps:

COMPONENTS:
- Microsoft ADO Data Control 6.0 (SP6) (OLEDB)
- Microsoft DataGrid Control (SP6) (OLEDB)
- Microsoft Windows Common Controls-2 6.0 (SP6)

REFERENCES::
- Visual Basic For Applications
- Visual Basic runtime objects and procedures
- Visual Basic objects and procedures
- OLE Automation
- Microsoft Active X Data Objects 2.5 Library
- Microsoft Data Binding Collection VB 6.0 (SP4)
rayluvsAsked:
Who is Participating?
 
Guy Hengel [angelIII / a3]Connect With a Mentor Billing EngineerCommented:
COMPONENTS:
- Microsoft ADO Data Control 6.0 (SP6) (OLEDB)
  -> that is to put a ADO data control on your forms, which is to manipulate database data via oledb recordsets
- Microsoft DataGrid Control (SP6) (OLEDB)
  -> a full-blown data grid control
- Microsoft Windows Common Controls-2 6.0 (SP6)
  -> the second set of windows common controls, like listview, treeview etc.

REFERENCES::
- Visual Basic For Applications
- Visual Basic runtime objects and procedures
- Visual Basic objects and procedures
  -> this first 3 should not be removed, and are to give you access to the basic functions

- OLE Automation
  -> to support ole automation. this might be removed...

- Microsoft Active X Data Objects 2.5 Library
  -> ADO library, to connect to databases and run queries.
- Microsoft Data Binding Collection VB 6.0 (SP4)
  -> not sure, never used it. but I presume it's to dynamically bind some controls to a data source (ado records, for example)
0
 
rayluvsAuthor Commented:
Thanx


So if I were to work with databases (SQL, Access, etc.) I have to have both "Microsoft ADO Data Control 6.0 (SP6) (OLEDB)"  and "ADO library, to connect to databases and run queries."?

Whats "OLE Automation" used for?

I know you say you are nite sure, but "Microsoft Data Binding Collection VB 6.0 (SP4)" should also be included if I were to work with databases?

0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
the only things I include is this (to work with databases):

COMPONENTS:
- Microsoft Windows Common Controls-2 6.0 (SP6)

REFERENCES::
- Visual Basic For Applications
- Visual Basic runtime objects and procedures
- Visual Basic objects and procedures
- OLE Automation
- Microsoft Active X Data Objects 2.5 Library

data controls are not needed.
the data grid control is either too basic (limiting) or to cumbersome (taking control away) for a real data application.
a well-developed form with unbound controls works just well, using stored procedures on the database side to handle the data access in short.
0
Cloud Class® Course: Amazon Web Services - Basic

Are you thinking about creating an Amazon Web Services account for your business? Not sure where to start? In this course you’ll get an overview of the history of AWS and take a tour of their user interface.

 
rayluvsAuthor Commented:
Fully understood, thanx.

What about the "OLE Automation", what's used for?  Why would I want it in my VB app?
0
 
Guy Hengel [angelIII / a3]Billing EngineerCommented:
only if you need to automate other applications (for example ms office ...) via ole automation.
0
 
rayluvsAuthor Commented:
ok thanx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.