Description: | Saves the contents of the control in the specified file. | ||||
ComboBox | Saves the contents of the list box part in the specified file. Uses the file format specified in the FileType property. | ||||
ListBox | Saves the contents of the list box in the specified file. | ||||
TextBox | Saves the contents of the Text property in the specified file. | ||||
Used in controls: | ComboBox | TextBox | |||
Used in objects: | None. | ||||
Parameters: | VT_BSTR - FileNameX(8192) | ||||
Description of Parameters: | The name of the file. | ||||
Return value: | None. | ||||
Example: | WORKING-STORAGE SECTION. 01 FileName PIC X(20). PROCEDURE DIVISION. MOVE "C:\myfile.txt" TO FileName INVOKE CmList1 "SaveFile" USING FileName | ||||
Backward compatibility | SAVEFILE | ||||
Backward compatibility | X(260) |