Magazine |
| | Community |
| | Workshop |
| | Tools & Samples |
| | Training |
| | Site Info |
Samples
|
Data Source ObjectsArray Data Source Control |
||||
Download sample | Demo | |||
Description
This is a sample data source object written as a COM control using Visual Basic 5.0 (Service Pack 3) . The control exposes an internal array of elements that contain numbers from 1 to the number of cells in the array. The cells are numbered sequentially from left to right, top to bottom.
More DetailsThe control also implements two methods for manipulating the data. It supplies a transform method which transposes the values in the array. The transform method demonstrates how to fire data events on the OLE-DB Simple Provider Listener interface. The control also implements a moredata function that increases the size of the array. This method demonstrates firing the data events on the DataSourceListener interface. If you attended the Microsoft Professional Developers Conference in San Diego in late September, this was the control demonstrated in the CLT-09 session Building Data Source Objects for Internet Explorer 4.0. An example using the control is shown in the demo.
Browser/Platform CompatibilityThis sample is supported in Internet Explorer 4 and Internet Explorer 5.