Hi,
I do not understand what you are trying to do. The print preview control (PvCtrl) does not support data binding, nor does it use the Adb32.lib. Only the Spread control supports data binding and the DataSource property.
Getting rid of the DataSource property in Spread should be very easy -- just define SSP_NO_DATASOURCE in the project configuration, and the code in SSOCXCTL.CPP will exclude the DataSource and DataMember properties.
Removing the FP_ADB definition from the project configuration would not work. That define is used to determine the GUIDs for the type library, as well as for including the ADO data binding code in the source. If you want to remove ADO data binding and make the build not dependent on or use Adb32.lib, then you would need to search the source for FP_ADB and manually remove the parts you do not want.
seanl
Product Manager, FarPoint Spread for Windows Forms (.NET), FarPoint Spread COM
GrapeCity FarPoint