VB beginner questions, what are the problems to pay attention to when learning VB?

Updated on physical education 2024-02-09
3 answers
  1. Anonymous users2024-02-05

    Your first one is not a loop statement.

    private sub form_click()if i = 0 then

    i = i + 1

    endifprint "You clicked" & i & "times"

    end sub

    Something like this.

    I don't know anything else.

  2. Anonymous users2024-02-04

    The first question is put outside;

    dim i as integer

    private sub form_click()i = i + 1

    print "You clicked" & i & "times"

    end sub

    Question 2: Private Sub Form Click()dim j as integer, x as single, y as single

    y =x =

    sp = 255 / y

    for j = 0 to y

    line (0, j)-(x, j), rgb(j * sp, j * sp, j * sp)

    next j

    end sub

    Are all of your questions corrected?!

    Question 3 No problem Just see if you have a text control, and whether the text attribute in the text is empty or not a number, if so, it will be wrong!

  3. Anonymous users2024-02-03

    Ting091 said: Hello, personal opinion: I understand it when I listen to it in class, and I make mistakes when I do it after class, which is a common problem for every beginner, because when you are in class, you are following the teacher's ideas, very clear, and you will understand it when you listen to it, giving people a feeling of "such a simple thing, whatever you want", hehe, I am the person who came over.

    VB is actually not very difficult, although I did not study VB in school, but I mainly taught myself Winform development of VB.

    You should do it.

    1. Don't be afraid of making mistakes, don't think that you are hit by self-confidence when you see mistakes, mark them well, and think seriously! If you can't do it after careful consideration, ask your teachers and classmates, in fact, serious thinking does not make you have to make it, but only allows you to deepen your memory of this kind of mistake so that you will not make mistakes again in the future!

    2. Listen carefully, don't think that some of the things that the teacher talks about in class are very simple, such as expressions, operators, etc., be sure to listen carefully and take good notes!

    3. Practice more on the computer**, even if you hit the book**! Try to hit ** yourself, you won't Google it, the more mistakes you make at the moment you solve it, the more you learn!

    In a word, learn VB well, with a heart that is not slacking off! Don't hold me so smart, just take a look at it yourself after class!

    Hope you can learn well!! come on!

    Big rookie to little rookie!! Ha ha.

Related questions
11 answers2024-02-09

This is the for loop, i=0, i.e. i is initialized to 0, i and then we look at the contents of the loop. >>>More

16 answers2024-02-09

I advise you not to buy one or two hundred practice pianos, my experience tells me that kind of guitar can hinder people's practice and will also make your interest wane. >>>More

15 answers2024-02-09

Powder or CC cream, eyebrow pencil, eyeliner, false eyelashes and glue (depending on the occasion), blush and lipstick.

7 answers2024-02-09

Badminton Teaching Expert Pulse 15 - Full Court Movement Footwork.

5 answers2024-02-09

For beginners, you can use liquid eyeliner with a hard nib, and then switch to a soft nib when you are proficient. >>>More