Professional Documents
Culture Documents
Uif
Uif
Add a text box and a command button. 2. Set the properties of the form and each control: Form1: BorderStyle Caption Name Command1: Caption Default Name Text1: Name Text txtError [Blank] 1-Fixed Single Error Generator frmError Generate Error True cmdGenError
4. Save your application. Try it out using some of these typical error numbers (or use numbers found with online help). Notice how program control changes depending on which button is clicked. Error Number 6 9 11 13 16 20 52 53 55 61 70 92 Error Description Overflow Subscript out of range Division by zero Type mismatch Expression too complex Resume without error Bad file name or number File not found File already open Disk full Permission denied For loop not initialized