Basic Programming
Ch. 9 Remarks and Common Errors
If you are using Visual Basic 4.0 (Learning Edition) for the Phone List program on pp.
361-374, you will have to make some modifications.
- When you are asked to add a new form to the project at the top of p. 366, you should
simply add a framebox to the form that you have already created. Name the framebox frmData
which is what the textbook tells you to name the new form. If you do that, other code will
not have to be changed very much.
- Any reference to the path "c:\plist\....."
needs to be changed to "z:\plist\...."
in our network environment.
- At the bottom of p. 367, use frmData.Visible = True
instead of frmData.Show. I will give extra credit to
the first person who is able to get the Show method to work with the framebox frmData but
you can definitely use the Visible property of the framebox if this can't be done.
- In step #11 at the top of p. 369, use frmData.Visible =
False instead of frmData.Hide
- In step #13 towards the top of p. 369, use frmData.Visible =
False instead of frmData.Hide
- In step #1 on p. 373, open the mnuSort( ) procedure instead of the cmdSort( ) procedure.
- In Step #7 on p. 378, use the line Case 68: Msg = "ERROR 68:
Drive not available" instead of Case 68: Msg =
"ERROR 68: Drive " & Drive & ": not available."
Return to Ch. 9 Resources Page
Basic Programming Home Page | Mr. Minich's Wyo Home Page | Minich.com
Web Design