Spread 8.0 Documentation
SSSaveTabFile Function
Support Options
DLL Reference > DLL Functions > SSSaveTabFile Function

Glossary Item Box

SSSaveTabFile Function


See Also    ActiveX

Applies To

fpSpread DLL control

Description

Saves the data in a tab-delimited file.

Syntax

C

BOOL SSSaveTabFile(HWND hWnd, LPCTSTR lpszFileName);

C++

BOOL TSpread::SaveTabFile(LPCTSTR lpszFileName);

Parameters

The following parameters are available:

Parameter Description
hWnd Window handle of the fpSpread control
lpFileName Path and file name of file to which to save tab-delimited data

Remarks

This function is applied to the current sheet setting unless you first call the SSSetSheet function to specify the sheet for which you are calling this function.

Call the SSSaveTabFile function to save the data to an ANSI text file with tab-delimited data. To save the data to a Unicode file, call the SSSaveTabFileU function.

The SSSaveTabFile function saves the data only; it does not save formatting.

Tab-delimited files can be opened, modified, and saved using any standard text editor.

By default, tab-delimited files created using Spread or the Spread Designer have the extension .TB7. However, you can use any extension.

Return Value

TRUE if the function completes successfully; FALSE otherwise.

See Also

Saving to a Text File

SSLoadFromBuffer, SSLoadFromFile, SSLoadTabFile, SSSaveTabFileU, SSSaveToFile, SSSaveToBuffer, SSSetSheet functions

ActiveX Correspondence

SaveTabFile method

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.