GrapeCity Forums

The GrapeCity Message Boards
Welcome to GrapeCity Forums Sign in | Join | Help
in Search

How to disable ADB and PvCtrl in spread 8.0 com source?

Last post 07-30-2010, 2:30 PM by seanl. 1 replies.
Sort Posts: Previous Next
  •  07-30-2010, 2:32 AM 91396

    How to disable ADB and PvCtrl in spread 8.0 com source?

    Delete the Preprocessor definitions FP_ADB and Adb32.lib?

  •  07-30-2010, 2:30 PM 91417 in reply to 91396

    Re: How to disable ADB and PvCtrl in spread 8.0 com source?

    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
View as RSS news feed in XML
     FarPoint Forums Home