Date: Fri, 31 Aug 2001 10:00:00 -0600 (CST) From: Mark Jacobson To: 810-030-01@uni.edu Subject: Preview of Wednesday Sep 5th class... Hi Visual Basic students, The 1st programming assignment will be handed out in class tommorrow. It is a simple VB program that takes a name as input and outputs the initials: INPUT OUTPUT (after clicking cmdMakeInitials command button) ----- ------ John Vincent JVA Atanasoff The output goes into a Label control. It is named lblInitials. ----------- The input was typed into 3 different TextBoxes. 1. txtFirstName is the TEXTBOX where the user types in their first name. 2. txtMiddleName is another TEXTBOX control. 3. txtLastName is the TEXTBOX for their last name. 4. lblInitials is the LABEL for displaying the output or results. 5. cmdMakeInitials is the COMMAND BUTTON that the user clicks when they want to see the results. 6. cmdMakeInitials_Click() is the name of the EVENT that transforms the input data John Vincent Atanasoff into the output results -----> JVA The classic program follows a logic of 1. INPUT - get the input data. 2. PROCESS - process the input to obtain the desired answers or results. 3. OUTPUT - display or print out the results. In the Visual Basic program you provide 3 textbox controls, txtFirstName Sally <---- INPUT txtMiddleName NormaRae <---- INPUT txtLastName Field <---- for the user to type in their input data, some person's name, and you write the code or statements for <------ PROCESS -- PROCESS the Private Sub cmdMakeInitials_Click() event procedure, which PROCESSes that input data Sally NormaRae Field to extract the 1st letter of each string of characters, and concatenates the S and N and F, finally placing the exciting result <------ OUTPUT into the Label lblInitials. OUTPUT ----------- OUTPUT INPUT PROCESS OUTPUT The first programming assignment will not be due until one week from Labor Day, on Monday, September 10th. Wednesday's and Friday's classes should make everything about the first assignment very clear. The 810:030 class is a BEGINNING programming class and requires not previous experience or computer background. See you in class on the Wednesday after Labor Day. Mark P.S. Do not lose your user id and password sheet, EVEN IF YOU CHANGED YOUR PASSWORD. There are two different computer systems the password is used on. (Windows NT is one, cowboy.cns.uni.edu is the other computer system).