Click here for NewsObjects Overview
SavePersistentInfo Method
Windows - Visual C++


Description
The SavePersistentInfo method saves the control's persistent information (the user settings from the control's preferences dialog box) to the specified file.

Syntax
long result = SavePersistentInfo(LPCTSTR fileName)

The SavePersistentInfo syntax has these parts:

Part

Description

fileName

A String containing the path name of the file to save to.

result

A long integer containing 0 if successful or an error code:
DDICTL_E_R_FILENOTEFOUND
DDICTL_E_R_PATHNOTFOUND
DDICTL_E_R_FILEREADONLY
DDICTL_E_R_FILESYSTERR

Remarks
If the file already exists, it will be overwritten.

See Also: LoadPersistentInfo

Back to: Alert Methods Headline Methods Quote Methods Story Methods