The following data-bound controls display data from both the ADO Data Control and the RDO RemoteData Control. These are known as the simple data-bound controls because they only display one value at a time.
See Inserting the Control into a Visual C++ Application and Setting Control Properties at Design Time for information on using ActiveX controls.
To insert a simple data-bound control and connect it to a data source
Control Name and Support Files | Description |
Calendar
Mscal.ocx MSCal.hlp |
The Calendar control displays a view of a given month. It displays the current date highlighted in the month based on the date field returned by the data-source control; if the value is not valid, it simply displays the current month. |
Microsoft Date and Time Picker
Mscomct2.ocx Cmctl298.chm |
The Date and Time Picker control allows a user to pick a date and time from a drop-down calendar, and display it as formatted text.
The format date strings use the same arguments as specified in the Visual Basic Programmer's Reference. |
Microsoft Masked Edit
Msmask32.ocx Masked98.chm |
The Masked Edit control allows users to work with text data via a formatting mask. Formatting is supported by a Visual Basic specific internal interface, IVBFormat, and thus is not accessible programmatically (even though wrapper classes will be generated for the formatting properties). |
Microsoft MonthView
MSComct2.ocx Cmctl298.chm |
The MonthView control displays a view of a given month, with the current date highlighted. The MonthView control is one of the new common controls, designed with Internet issues in mind. It provides a wider range of functionality than the Calendar control, such as multiple selection of dates and additional options for marking days. |
Microsoft RichText
Richtx32.ocx RtfBox98.chm |
The RichText control is based on the RichText 1.0 component from Microsoft Word. It allows users to edit text with most common text editing features. It can load, link, and embed OLE objects. It also allows users to print a selection of text. It persists files in RTF format using the LoadFile and SaveFile methods. |