Discipline - Automated information systems
Lesson topic:"Basics of MicrosoftVisualBasic 6.0"
The purpose of the lesson:Provide general information about MS Visual Basic and report in the program
release
1. Education:To
give students an idea of Visual Basic, its structure;
2. Development:Development
of students' thinking skills, interest in the subject
increase;
3. Educational:Students
are taught to be careful, versatile, inquisitive
bring up.
Type of lesson: mixed lesson
Lesson equipment: computer, table, slides
Lesson progress:
І. Organization. (3 min.) II. Request an assignment. (17 min.) III. New lesson explanation. (25 min.) IV. Work with tables. (30 min.)
Approval
of the lesson. (12min)
V. Assignment. (2 min)
VI. Lesson summarizing. (1 min)
І. Organization:
a) acquaintance of students with TSE; b) enumeration of students; c) drawing students' attention to the lesson.
II. Homework:
Summarizing the acquaintance with the program MS Access in Part II.
Group 1 students summarize the work with
MS Access in accordance with the homework.
Questions for approval: 1. What is Microsoft Access? 2. What types of databases does MS Access consider? 3. Linking tables in MS Access4. A Microsoft Access object that is a query tool5. Microsoft Access database file extension
6. Query constructor mode in MS Access
7. The field that organizes the relationship between the tables
8. What is the name of a special control used to enter and display data on a form?
9. Types of data. Hyperlink
10. What tool is used to effectively organize the aggregation, storage, retrieval of data in each table?
Group 2 students give an overview of the new topic MS Visual Basic 6.0 in accordance with the homework.
Questions for approval: 1. In what year was Visual Basic 1.0 for Microsoft Windows released?
2. In what year was Visual Basic 5.0 released?
3. In what year was Visual Basic 6.0 released?
4. List Box component
5. Picture Box component
6. A component used to enter and output various information to an application
7. Command button component
8. What is the name of the text correction to the left, right or center
III. Explain the new lesson.
Visual Basic programming language.
In 1991Microsoft Corporationto the computer worldVisual Basic provides a programming system.
Visual Basis- one of the first languages to support event-adaptive programming. In event-adaptive programming, instead of describing each step in detail, you just need to specify how to respond to different events, ie user actions.
This is not a large-scale program through a programming system,Windowsuser-managed, interconnectedfirmware(procedure) is created. With Visual Basic, you can quickly build such applications without having to master the language in depth and professionally.
Visual Basic is perfect for mastering the basics of algorithms and learning the features of the Windows program, as well as has all the capabilities to create any application.
The IDE is one of the main components of Visual Basic, in which the components of the developed applications are developed and programmed.
The IDE consists of several elements:
• Main menu; • Toolbar; • Project window; • Properties window; • Form layout window;
• Elements panel; • Form designer; • Object view window
The main menu is the text bar at the top of the Visual Basic window. On the left is the file menu. It is designed to work with the files that make up your applications. You can create, open, print, and save projects there.
The toolbar should be a Visual Basic toolbar just below the main menu. The toolbars contain the most frequently used commands of the Home menu. The advantage of toolbars is that you can easily access commands with a single click of the mouse. Usually, there is one toolbar on the screen.
Project window — all the objects that make up the application are integrated into the project. The project window is located on the right side of the screen, under the toolbar. Right-clicking on an object opens a context menu. This menu contains commands related to this object. The context menu speeds up operations performed directly on the active object. Get used to this opportunity, because it saves time.
The Properties window is an object attribute that sets the object's characteristics (size, color, position on the screen) or the state of the object. All objects in Visual Basic have attributes. For example, a shape can be customized to a specific size, background color, your theme, and so on. ie. These are all properties of form. The button in the form has its own set of properties - size, color, text.
ІV. Working with tables.
Develop the information in the table below in MS Access and display it in a specially created program based on Microsoft Visual Basic (using the Label, TextBox components and the Adodc component from the Microsoft ADO Data Control 6.0 list).
Retirement age (by country) |
|||
р / с |
Name of the country |
Male |
Woman |
1 |
Austria |
65 |
60 |
2 |
USA |
65 |
65 |
3 |
England |
65 |
60 |
4 |
Armenia |
63 |
63 |
5 |
Belarus |
60 |
55 |
6 |
Belgium |
65 |
65 |
7 |
Germany |
65 |
65 |
8 |
Georgia |
65 |
60 |
9 |
Spain |
65 |
65 |
10 |
Kazakhstan |
63 |
58 |
11 |
Canada |
65 |
65 |
12 |
Kyrgyzstan |
63 |
58 |
13 |
Latvia |
62 |
62 |
14 |
Lithuania |
62 |
60 |
15 |
Moldova |
65 |
60 |
16 |
Russia |
60 |
55 |
17 |
Tajikistan |
63 |
58 |
18 |
Uzbekistan |
60 |
55 |
19 |
Ukraine |
60 |
55 |
20 |
France |
60 |
60 |
21 |
Japan |
70 |
70 |
Questions for approval of a new topic:
1. What is Visual Basic?
2. What operating systems does Visual Basic work on?
3. Name the Visual Basic menu bar.
4. Use of Timer, Label, TextBox components
5. What are the advantages of Visual Basic?
6. What are the elements of the IDE?
7. What are the disadvantages of Visual Basic?
V. Homework:
Basic concepts of Visual Basic 6.0, Label, TextBox, Adodc components and their processing in the properties window, IDE elements.
VI. Summarizing the lesson.
Summarize the lesson by monitoring students' knowledge and attendance. Student assessment.
Скачано с www.znanio.ru
Материалы на данной страницы взяты из открытых источников либо размещены пользователем в соответствии с договором-офертой сайта. Вы можете сообщить о нарушении.