30.07.2013 Views

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

Visual Basic.NET How to Program (PDF)

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

XXVIII Illustrations<br />

16.36 Peedy calculating the <strong>to</strong>tal. 737<br />

16.37 Microsoft Agent demonstration. 738<br />

16.38 GUI for eight queens exercise. 751<br />

17 Files and Streams<br />

17.1 Data hierarchy. 755<br />

17.2 <strong>Visual</strong> <strong>Basic</strong>’s view of an n-byte file. 756<br />

17.3 File class methods (partial list). 757<br />

17.4 Direc<strong>to</strong>ry class methods (partial list). 758<br />

17.5 FrmFileTest class tests classes File and Direc<strong>to</strong>ry. 759<br />

17.6 FrmFileSearch class uses regular expressions <strong>to</strong> determine file types. 762<br />

17.7 FrmBankUI class is the base class for GUIs in our<br />

file-processing applications. 767<br />

17.8 CRecord class represents a record for sequential-access file-processing<br />

applications. 770<br />

17.9 FrmCreateSequentialAccessFile class creates and writes<br />

<strong>to</strong> sequential-access files. 772<br />

17.10 Sample data for the program of Fig. 17.9. 779<br />

17.11 FrmReadSequentialAccessFile class reads sequential-access files. 779<br />

17.12 FrmCreditInquiry class is a program that displays credit inquiries. 783<br />

17.13 Random-access file with fixed-length records. 790<br />

17.14 CRandomAccessRecord class represents a record for<br />

random-access file-processing applications. 791<br />

17.15 FrmCreateRandomAccessFile class create files for<br />

random-access file-processing applications. 794<br />

17.16 FrmWriteRandomAccessFile class writes records <strong>to</strong> r<br />

andom-access files. 798<br />

17.17 FrmReadRandomAccessFile class reads records from<br />

random-access files sequentially. 802<br />

17.18 CTransaction class handles record transactions for the<br />

transaction-processor case study. 808<br />

17.19 FrmTransactionProcessor class runs the<br />

transaction-processor application. 812<br />

17.20 FrmStartDialog class enables users <strong>to</strong> access dialog<br />

boxes associated with various transactions. 813<br />

17.21 FrmNewDialog class enables users <strong>to</strong> create records in<br />

transaction-processor case study. 816<br />

17.22 FrmUpdateDialog class enables users <strong>to</strong> update records<br />

in transaction-processor case study. 819<br />

17.23 FrmDeleteDialog class enables users <strong>to</strong> remove records<br />

from files in transaction-processor case study. 825<br />

17.24 Inven<strong>to</strong>ry of a hardware s<strong>to</strong>re. 832<br />

18 Extensible Markup Language (XML)<br />

18.1 XML used <strong>to</strong> mark up an article. 834<br />

18.2 article.xml displayed by Internet Explorer. 837<br />

18.3 XML <strong>to</strong> mark up a business letter. 837

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!