Current location - Trademark Inquiry Complete Network - Futures platform - What programming mechanism does vb use?
What programming mechanism does vb use?
The event-driven programming mechanism is adopted.

Visual Basic (VB for short) originated from the Basic programming language. VB has a graphical user interface (GUI) and a rapid application development (RAD) system, which can easily use DAO, RDO and ADO to connect to the database, or easily create ActiveX controls to efficiently generate type-safe and object-oriented applications [2]. Programmers can easily use the components provided by VB to quickly build an application.

Event-driven programming mechanism:

A process-oriented program consists of a main program and several subroutines and functions. When a program runs, it always starts with the main program, which calls subroutines and functions. When programming, developers must determine the execution order of the whole program in advance. Event-driven programming in Visual Basic 6.0 is to encode related events that users trigger an object, and each event can drive a program to run. Developers only need to write code that responds to user actions. This application program is concise and easy to write and maintain.

Extended data:

In Visual Basic? In programming languages, the interaction between objects and programs is accomplished through events. In other words, for each object, there may be multiple events, and each event can drive a program to run and complete the corresponding work.

The biggest advantage of Visual Basic lies in its ease of use, which allows experienced VB programmers or people who just know the basics to develop programs quickly in their own way. Moreover, VB program can connect with database very simply. For example, you can bind the database and controls, so that the program written in VB can master all the information of the database without writing a line of code.

References:

Baidu Encyclopedia-Event Driven

References:

Baidu encyclopedia -Visual Basic