I am developing an ActiveX control.
I want to be able to bind the ActiveX control to a data control that will be used on the form on which this ActiveX control will be inserted.
How can I add the two properties 'DataSource' and 'DataField' to my ActiveX control so that the control can be bounded automatically to the data control.
I can only add a DataSource property but I don't know what code I should write for it.
Also, when I add a DataField property, the wizard does not accept such a property.
Please provide code.