If you formerly used the Spread version 7.0 Unicode ADO ActiveX control and now want to use the Spread version 8.0 Unicode ADO ActiveX control, complete the following steps.
Note: Back up your project before making any changes. |
{71146838-020D-4D16-80FD-6ACE384B66DF}To:
{DE52502E-F837-492B-AE14-A182531AFAF4}
{71146844-020D-4D16-80FD-6ACE384B66DF}To:
{6C30120B-5FF5-4352-8873-B8B2366348C2}
long GetColHeaderDisplay(); void SetColHeaderDisplay(long); BOOL GetDisplayColHeaders(); void SetDisplayColHeaders(BOOL); long GetRowHeaderDisplay(); void SetRowHeaderDisplay(long); BOOL GetDisplayRowHeaders(); void SetDisplayRowHeaders(BOOL);Add to spreadsheet.cpp:
long CSpreadSheet::GetColHeaderDisplay() { long result; GetProperty(0x18, VT_I4, (void*)&result); return result; } void CSpreadSheet::SetColHeaderDisplay(long propVal) { SetProperty(0x18, VT_I4, propVal); } BOOL CSpreadSheet::GetDisplayColHeaders() { BOOL result; GetProperty(0x2c, VT_BOOL, (void*)&result); return result; } void CSpreadSheet::SetDisplayColHeaders(BOOL propVal) { SetProperty(0x2c, VT_BOOL, propVal); } long CSpreadSheet::GetRowHeaderDisplay() { long result; GetProperty(0x68, VT_I4, (void*)&result); return result; } void CSpreadSheet::SetRowHeaderDisplay(long propVal) { SetProperty(0x68, VT_I4, propVal); } BOOL CSpreadSheet::GetDisplayRowHeaders() { BOOL result; GetProperty(0x2d, VT_BOOL, (void*)&result); return result; } void CSpreadSheet::SetDisplayRowHeaders(BOOL propVal) { SetProperty(0x2d, VT_BOOL, propVal); }