Chapter 13 Exploring Text Files and String Processing 325
- On the File menu, click the Insert Date command.
The current date and time appear as the first line in the text box, as shown here:
The Insert Date command provides a handy way to include the current time stamp in
a file, which is useful if you’re creating a diary or a logbook.
- On the File menu, click the Save As command.
The program displays a Save As dialog box with all the expected features. The default
file type is set to .txt. Your screen looks like the following:
- In the Save As dialog box, open the C:\Vb10sbs\Chap13\Quick Note folder if it isn’t
already open. Then type Badcoins.txt in the File Name text box, and click Save.
The text of your document is saved in the new Badcoins .txt text file. - On the File menu, click the Exit command.
The program stops, and the development environment returns.
Now you’ll look at the event procedures in the program.