VB design simple applet, vb program design

Updated on educate 2024-03-05
6 answers
  1. Anonymous users2024-02-06

    VB design.

    Introduction. What is required.

    The task is:

  2. Anonymous users2024-02-05

    On the desktop, double-click the program with the left mouse button, on the main interface of VB6 that opens, the left is the tool menu bar, click the label button, on the form1 window, draw a label1, and then change the name on its properties window, such as caption as the first number, as shown in the figure below.

    Then, in the same way, draw the second number on the form1 window, click the text box button in the left tool menu bar, and draw it. On the text attribute of the text box property bar, delete text1, that is, clear the data, as shown in the following figure.

    Then, repeatedly use the first step and the second step to make the interface as shown in the figure, and learning requires repeated practice, and continuous improvement in practice. Here is the simple addition procedure, as shown in the image below.

    Then, after the interface of the addition program is ready, you can't perform the addition operation, you must also draw a command button on the form1 window, click the command button in the left tool menu bar, and draw it. Then change the caption name to calculation in the properties window, as shown in the following figure.

    Then, the program looks ready, click the Run button as shown in the image, the form1 window pops up, enter the numbers 3 and 6, and click calculate. However, the results did not appear, as shown in the figure below.

    Finally, the first 5 steps are just the interface of the program, and if you want the program to produce results, you must add some**, since it is a simple program, just add one line**. Double-click the command button and enter the following in the ** window: =val( +val(, then click Run, enter the number, click Calculate, and the result will appear, as shown in the following figure.

  3. Anonymous users2024-02-04

    VB is the Visual Basic programming language.

    Writing a computer program requires the use of a computer programming language. Computer programming languages are the bridge between humans and computers. Just like human languages, there are many computer programming languages.

    At present, the most widely used languages are "C++", "Pascal", "Basic", etc. Among the many computer programming languages, the basic language is the easiest to learn and use.

    Basic is the abbreviation of Beginner's All Purpose Symbolic Instruction Code, which means universal symbolic instruction for beginners**, and has always been the preferred language for getting started with programming.

    In 1991, Visual Basic (VB) was launched, which is the third generation of BASIC, which not only inherits the advantages of BASIC language that is easy to learn and use, but also adds graphical interface design tools. It simplifies the process of writing complex window programs, allowing the programmer to focus more on the problem-solving process.

  4. Anonymous users2024-02-03

    Oh, I won't either, the egg hurts.

  5. Anonymous users2024-02-02

    private sub command1_click()static n as long, m as longm = val(text2)

    n = n + 1

    if text1 = "psw123" thenmsgbox "The password is correct", vbexclamation, "Sign in"

    n = 0else

    if n >= m then

    msgbox n & "Please exit if you have entered an error", vbexclamation, "Sign in"

    endelse

    msgbox "Section" & n & "The secondary password is incorrect, please re-enter it", vbexclamation, "Sign in"

    end if

    end if

    end sub

    private sub form_load()= "Password:"

    Number of times a password is allowed:"

    OK" "Sign in"

    text1 = ""

    text2 = 3

    end sub

  6. Anonymous users2024-02-01

    Question 2:

    x = 1if x = fix(x \ 2) *2 then msgbox "It's an even number" else msgbox "It's an odd number"

Related questions
6 answers2024-03-05

Add 2 buttons, 2 textboxes, 1 listbox, and you can't go wrong. >>>More

7 answers2024-03-05

The last sentence is wrong, you have already swapped the values of the original b and c in the second if sentence, which means that the value of a must be greater than the value of c, and at this time, the value of a is not necessarily greater than the value of b, so this is not good.

7 answers2024-03-05

Good applets in the user experience and interface design are carefully designed, the industry's most well-known holy Hoyler company, the team are from Tsinghua University, Fudan University, cooperation institutions such as the French Embassy, Tsinghua University, Tencent, etc., have been concerned about their works, first-class production; Hope mine can be helpful to you.

8 answers2024-03-05

If the landlord is looking for the textbook for the class, it is not helping the landlord, the book is not good, and no one has to do the electronic version. >>>More

4 answers2024-03-05

In fact, it's not difficult to learn C, the key is that you have to find a teacher who suits you or self-study**, I didn't learn when I signed up for the class, and then I didn't learn it online**, I read it at the beginning, Mr. Xia's, I feel that the lecture is very concise and clear, the kind that you can understand when you listen to it, and what you talk about is the key, and there is a difference from others is that there are many difficult concepts with metaphorical examples, for example, the array I recently saw is compared to a box with things in order, and I understand the array variables and assignments at once. It's much better than what I read before, Hao Bin and Zeng Yi's cumbersome like reading a textbook.