Some Review for VB quiz Chapter 3 Know the Programming Guidelines:

advertisement
Some Review for VB quiz Chapter 3
Know the Programming Guidelines:
Create the application interface first
Appropriately name all application objects before writing any code.
Use the Object list in the Code Editor window to select the object event
procedure.
Event Procedures: are executed in response to an event and are added to an
application’s form module in the code editor window. An event procedure is
created by selecting the object name from the object list.
Comments: are used to explain and clarify program code for a human reader. A
comment is included in code by preceding text with a single quotation mark (‘). It
is good programming style to include comments wherever code may be
ambiguous or misleading.
Assignment Statement: Uses the equal sign to give the object property on the left
of the equal sign the value on the right of the equal sign.
Ex.
Imgcar.Visible=True
Visible attribute: can either be True or False. Visible is often set at run time to
display (Visible=True) or hide (Visible=False) the graphic in the image box.
See Web site for more review. Variable and Expressions Exercise #2 a-k #3.
An Introduction to Programming using Microsoft Visual Basic
Brown & Presley
Download