Data Source Objects : Array Data Source Control - 19 Feb 2002
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
February 18, 2002
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 Details
The 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.
An example using the control is shown in the demo.
Browser/Platform Compatibility
This sample is supported in Internet Explorer 4 and Internet Explorer 5 on the Win32 platform.
About the Author
You May Also Like