MindMap Gallery Configuring the Visual Basic integrated development environment
Visual Basic project tutorial, computer major, secondary vocational school student, configure Visual Basic integrated development environment, install Visual Basic6.0.
Edited at 2024-01-18 15:12:48This is a mind map about bacteria, and its main contents include: overview, morphology, types, structure, reproduction, distribution, application, and expansion. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about plant asexual reproduction, and its main contents include: concept, spore reproduction, vegetative reproduction, tissue culture, and buds. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about the reproductive development of animals, and its main contents include: insects, frogs, birds, sexual reproduction, and asexual reproduction. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about bacteria, and its main contents include: overview, morphology, types, structure, reproduction, distribution, application, and expansion. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about plant asexual reproduction, and its main contents include: concept, spore reproduction, vegetative reproduction, tissue culture, and buds. The summary is comprehensive and meticulous, suitable as review materials.
This is a mind map about the reproductive development of animals, and its main contents include: insects, frogs, birds, sexual reproduction, and asexual reproduction. The summary is comprehensive and meticulous, suitable as review materials.
Configuring the Visual Basic integrated development environment
What is Visual Basic6.0
Visual Basic 6.0 is a visual Windows application development tool.
Features
Automatically handle underlying messages
Visual interface
event driven model
interactive development
Visual Basic 6.0 integrated development environment
Visual Basic 6.0 integrates code writing, graphical interface design, code compilation, program debugging and other functions that support program development to form an integrated development environment.
The main window is the control center of Visual Basic 6.0. It provides various operating functions in the form of menu commands and tool buttons. Other windows are included in the main form.
The working modes are "Design", "Run" and "Interrupt" as well as window control.
Form object window: When creating a standard EXE project, Visual Basic will automatically display the form window, in which a form object named Forml already exists.
Toolbox window: When you create or open a standard EXE project in the Visual Basic 6.0 integrated development environment, by default, the standard toolbox window will automatically open, which contains various controls needed to create applications.
Property window: In the Visual Basic 6.0 integrated development environment, forms and various controls have a series of properties, such as size, position, color and appearance, etc.
Open method: Press the F4 key or select "Properties Window" in the "View" drop-down menu.
Project Explorer Window: The Project Explorer window displays the overall structure hierarchy of the current project in outline form.
Code window: The code window is used to view and edit program code. In this form, you can declare public variables and write event procedures for public module programs and objects.
Opening method: Select the "Code Form" command in the "View" drop-down menu or press the F7 key.
Basic Concepts of Visual Basic
object
Objects are the core of Visual Basic 6.0 programming. Forms and controls are both objects, and databases are also objects. Objects exist everywhere.
It is a combination of code and data that can be processed as a unit.
method
event
Attributes
Attributes: It is a description of the characteristics of an object. Different objects have different attributes.
Title Caption
Name Name
Color Color
Font Size Font Size
Is it visible? Visible
Event: It is an action pre-designed by Visual Basic 6.0 that can be recognized by the object.
Click Click
Dblclick double click
Load Load
MouseMove moves the mouse
Change
Method: refers to the way to control the action behavior of an object.
Visual Basic Programming Steps
Generally speaking, developing applications using Visual Basic mainly includes the following three steps:
Create application user interface
The application interface consists of forms and controls
Set properties of forms and controls
Write program code
Projects and Modules in Visual Basic
A project is a set of files used during application development in Visual Basic. The project file is a list of all files and objects related to the project, and its file extension is vbp.
Form module: The file extension is frm. A form module can contain procedures for handling events, general procedures, and form-level declarations of variables, constants, types, and external procedures.
Standard module: Its extension is bas. During the program development process, if you find that there is common code to be executed in several forms, but you do not want to have duplicate code in two or more forms, you need to create a standard module for Contains procedures for implementing common code.
Class module: Its file extension is cls. In class modules, you can create new objects by writing code, and these new objects can contain custom properties and methods.