The If Statement

September 3, 2009 - 4:18 am

this tutorial is going to show u how to use the if statement. watch and learn my young padawan :) ok so i hope you like this tutorial.

- SilverMagics

Duration : 0:4:40


[youtube w1Vc71sVjPU]

25 Responses to “The If Statement”

  1. SCWWhitey Says:

    On the last IF …
    On the last IF statement, you don’t need “Else” if you’re not going to run any code if the IF statement evaluates to false.

  2. olivetti260398 Says:

    the checkbox code …
    the checkbox code doesnt work - i have visual basic 2005 express edition.
    when i type in:
    CheckBox1 = 1 Then

    It says that the expression does not produce a value.
    Anyone please help!

  3. nicko01s Says:

    ta bueno
    ta bueno

  4. DirectorREM Says:

    this tuts can be …
    this tuts can be PPV for me =)
    love them!

  5. wateymelon Says:

    okay, i love your …
    okay, i love your tutorials! they’re so simple XD! i haven’t done VB in like a year and now i’m starting again, so i really needed to review this all, this is a big help (*w*)~! awesome =p

  6. angelu00 Says:

    isn’t there a way …
    isn’t there a way of adding a lot of fata and make the program search on th«at data like u do in acess???

  7. captainmackgib Says:

    my god thanks a lot …
    my god thanks a lot !!!!!! i was having loads of problems with the checkboxes with the if statements….i always put it if it was true or false not 1 :S:S:S:S….thanks a lot !

  8. dreampretear Says:

    this is a great …
    this is a great tutorial. 5 stars from me coz u did a good job in diplaying the video clearly.

  9. Mattisdabest2007 Says:

    lol end function to …
    lol end function to end XD

  10. MouthofSaurons Says:

    Before i knew …
    Before i knew coding VB6 i though that “End If” meant the program should ‘end’ if a desired function happens.
    Example i though:
    End if text1.text = “text”
    i thougt the program would close then.
    But it is comletely different :)

  11. conv3rt3r Says:


    thankkkkkkkkkksssssssss.. make moreeee 5/5* + subscribe ^_^ i studying now a vb thanksss again

  12. SilverMagics Says:

    thanks
    thanks

  13. aydo1994 Says:

    SilverMagics you …
    SilverMagics you are a great teacher at creating a proram ^^
    I just gonna watch every single Tutorial you put on YouTube :D 5/5*

  14. PianoMania666 Says:

    joepie ka ey rob
    joepie ka ey rob

  15. SilverMagics Says:

    ow joepie donny
    ow joepie donny

  16. PianoMania666 Says:

    cool 5/5 cker
    ga …

    cool 5/5 cker
    ga zo door :P

  17. SilverMagics Says:

    funkysmurf12345, …
    funkysmurf12345, skatermark, MongooseRoadkill, Thanks for those good comments really !

  18. MongooseRoadkill Says:

    Great Stuff 5\5
    Great Stuff 5\5

  19. skatermark Says:

    Good tutorial Thanx
    Good tutorial Thanx

  20. skatermark Says:

    Thanx good tutorial
    Thanx good tutorial

  21. funkysmurf12345 Says:


    supppppppperrrrrrrrrrrr helpfull

  22. SilverMagics Says:

    lolz it is supposed …
    lolz it is supposed to be the very basics, but yeah i can make a movie with If Statement ( Advanced ) thats a very good idea !

  23. Esoj Says:

    Hey Silver Magics. …
    Hey Silver Magics. Why don’t you explain alittle bit more about IF elseIf and else?
    example:
    Private Sub Command1_click()
    If text1.text = “tutorial” then
    Label1 = “this tutorial is great !”
    elseif text1.text = “Fuck” then
    label1 = “Watch your mouth son!”
    Else
    Msgbox (Prompt:”Write Turorial please” Title: “Stop It” Buttons:=vbOKonly)
    end If
    end Sub

  24. SilverMagics Says:

    lolz i think i have …
    lolz i think i have the most tutorials about visual basic on youtube :P

  25. matijahacker Says:

    lol. write tnx.lol. …
    lol. write tnx.lol. accident

Leave a Reply