Visual Basic 6 Programming:
Business Applications with a Design Perspective
Table of Contents
Chapter 6 Input, Output, and Procedures
- 6.1 Introduction to Input and Output
- The MsgBox Function
- Files
- The Print method
- The Common Dialog Box for Files
- 6.2 Procedures: Subs and Functions
- Writing a Sub Procedure
- Calling a Sub Procedure
- Passing Variables to Sub Procedures
- Terminating a Procedure Before Reaching the End: Exit Sub
- Event Procedures and General Sub Procedures
- Function procedures
- Using a Function Procedure
- Additional Notes on General Procedures
- Uses of General Procedures
- 6.3 An Application Example
- The Project
- The User Interface
- Designing the Code Structure
- Coding the Project
- Coding the Event procedures
- Additional Remarks
- Summary
- Visual Basic Explorer
- Exercises
- Projects