【正文】
re ready to jump right in. 。s online help system is one of the most advanced on the market. When you want help with a control, window, tool, or mand, press F1. Visual Basic analyzes what you are doing and offers help. In addition, Visual Basic supports a tremendous help resource called Books Online. When you select Books Online from the Help menu, Visual Basic displays a treestructured view of books about Visual Basic that you can search and read. The online help extends to the Inter as well. If you have an Inter connection, you can browse the latest help topics by selecting Help|Microsoft on the Web. Summary This hour quickly introduced you to Visual Basic. Perhaps you already can see that Visual Basic is more than it first appears. Programmers use Visual Basic to create extremely advanced Windows applications. Now that you understand VB39。s collection of intrinsic and extra controls. The Form Layout Window Places Forms The Form Layout window displays the initial position and relative size of the current form shown in the Form application being studied is a multipleform application. The form with the title Text Box Properties is just one of several forms. The Form Layout window always shows where the form appears in the current Form window. If you want the form to appear at a different location from the current position, you can move the form inside the Form Layout window to move the form39。 if you place a mand button on the Form window, another awaits you on the toolbox, ready to be placed are called the intrinsic controls because all three editions of VB support these standard tools. You can add additional controls to the toolbox as your needs grow. Some extra tools e with all three editions of VB, but these extra tools do not appear on the Toolbox window until you add them through the Project|Components menu option. If you use the Professional or Enterprise Editions, you will be able to add extra controls that don39。 however, these forms do not hold multiple data files but only provide extended support for extra dialog boxes and secondary work screens. Source program is code, forms, menus, graphics, and help files that you create and edit to form the project (also called source code). The parts of the application that you create, such as the forms, the code, and the graphics that you prepare for output, prise the source program. When you or another user piles or runs the source program, VB translates the program into an executable program. You cannot make changes directly to an executable program. If you see bugs when you run the program, you must change the source application (which might contain multiple files in the project) and rerun or repile the source. The Toolbox Supplies Controls The toolbox contains the controls that you place on the Form window. You will learn in the next hour39。s dialog box did so by opening a Form window, adding some controls (the items on the Form window that interact with the usersometimes called tools), and tying the ponents together with some Visual Basic language code. That39。s interactive objects, such as mand buttons, labels, text boxes, scrollbars, and other controls. The code appears elsewhere in a special window called the Code window. The Code window does not appear in Figure , but you can select View|Code to see the Code window. A Code window is little more than a text editor with which you write the programming statements that tie together the application. Consider the sample program running in Figure 39。s buttons all reside on the Form window and when someone runs the calculator, the calculator that appears is really just the application39。t first have to display the menu to access the option. The toolbar provides onebutton access to many mon menu mands. Instead of selecting Edit|Paste, for example, you could click the Paste toolbar button. As with most of today39。s menu bar and toolbars work just as you expect them to. You can click or press a menu bar option39。s environment and will have a better understanding of the related words when subsequent lessons refer to the windows and tools in the development environment. Figure shows the Visual Basic development environment with many of the more important screen ponents labeled. As you can see from the menu and toolbar, Visual Basic looks somewhat like other Windows programs on the market. Many of Visual Basic39。s Control menu icon that appears in the upperleft corner of the screen. If you have made changes to on