Results 1 to 15 of 15
  1. #1
    Takari1's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    819
    Reputation
    81
    Thanks
    96

    Visual Basic 08 Tutorial . Lesson 1.

    Visual Basic 2008 Tutorial Lesson 1

    [IMG]https://i1213.photobucke*****m/albums/cc463/mpghtakari/1-2.jpg[/IMG]

    To start your new project,you need to click file and select a new project.A windows will pop up and it will look something like this:
    [IMG]https://i1213.photobucke*****m/albums/cc463/mpghtakari/2-2.jpg[/IMG]

    The windows asks you to choose from five types of projects.We will work on WindowsFormsApplication.At the bottom of the window,you can rename your project to anything your heart desires.I will change mine to:"Lesson 1"

    After creating your new project,another window will come up.Here you got an empty form,a toolbox,properties and other useful/not useful stuff.
    [IMG]https://i1213.photobucke*****m/albums/cc463/mpghtakari/3-1.jpg[/IMG]

    So we will now work on our first project.We will keep this easy.With this code,we will generate something.Like I want to pick a random number from 1-2.In this case I will use "Lesson 1" and "Tutorial".
    First make a button and a textbox.Resize them how you like etc.Then click on button1 and add this code:
    Code:
    Dim Key As Interger
    Key = (rnd()*2)
    Select Case Key
    Case 1
    textbox1.text = " Lesson 1"
    Case 2
    textbox1.text = "Tutorial"
    End Select
    End Sub
    [IMG]https://i1213.photobucke*****m/albums/cc463/mpghtakari/4.jpg[/IMG]

    Now Debug your first application and it will show something like this:
    [IMG]https://i1213.photobucke*****m/albums/cc463/mpghtakari/5.jpg[/IMG]

    Thanks for reading.I will release my second one tomorrow or maybe later today.It took me half an hour to write this and take the screen shots,so don't hate and give me a Thanks.It only takes you 2 seconds.

  2. #2
    pushdis15's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    spokane washington
    Posts
    923
    Reputation
    20
    Thanks
    170
    My Mood
    Twisted
    dont get the point of this ..
    PlayStation ID:
    Boxing509

    Quote Originally Posted by pushdis15
    Women now have choices. They can be married, not married, have a job, not have a job, be married with children, unmarried with children. Men have the same choice we've always had: work, or prison.

  3. #3
    Takari1's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    819
    Reputation
    81
    Thanks
    96
    Quote Originally Posted by pushdis15 View Post
    dont get the point of this ..
    With this I will show some basic functions of VB.

  4. #4
    pushdis15's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    spokane washington
    Posts
    923
    Reputation
    20
    Thanks
    170
    My Mood
    Twisted
    Quote Originally Posted by Takari1 View Post
    With this I will show some basic functions of VB.
    oh ight wat ever
    PlayStation ID:
    Boxing509

    Quote Originally Posted by pushdis15
    Women now have choices. They can be married, not married, have a job, not have a job, be married with children, unmarried with children. Men have the same choice we've always had: work, or prison.

  5. #5
    Jason's Avatar
    Join Date
    Apr 2010
    Gender
    male
    Location
    /dev/null
    Posts
    5,704
    Reputation
    918
    Thanks
    7,676
    My Mood
    Mellow
    You explained like nothing, sick of people thinking posting code == a tutorial.

    Quote Originally Posted by Jeremy S. Anderson
    There are only two things to come out of Berkley, Unix and LSD,
    and I don’t think this is a coincidence
    You can win the rat race,
    But you're still nothing but a fucking RAT.


    ++Latest Projects++
    [Open Source] Injection Library
    Simple PE Cipher
    FilthyHooker - Simple Hooking Class
    CLR Injector - Inject .NET dlls with ease
    Simple Injection - An in-depth look
    MPGH's .NET SDK
    eJect - Simple Injector
    Basic PE Explorer (BETA)

  6. #6
    pushdis15's Avatar
    Join Date
    Oct 2010
    Gender
    male
    Location
    spokane washington
    Posts
    923
    Reputation
    20
    Thanks
    170
    My Mood
    Twisted
    Quote Originally Posted by Chooka View Post
    You explained like nothing, sick of people thinking posting code == a tutorial.
    lol i was thinking the same but didnt want to be mean lol cheers for stating the point
    PlayStation ID:
    Boxing509

    Quote Originally Posted by pushdis15
    Women now have choices. They can be married, not married, have a job, not have a job, be married with children, unmarried with children. Men have the same choice we've always had: work, or prison.

  7. #7
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Gotta love tuts where you don't even explain what a variable is... <3

    you probably don't know it either.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  8. #8
    Takari1's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    819
    Reputation
    81
    Thanks
    96
    Quote Originally Posted by Chooka View Post
    You explained like nothing, sick of people thinking posting code == a tutorial.
    I'm not posting the code,I'm showing how to make your first project.(Form)I know it's simple but ...

    Quote Originally Posted by Brinuz View Post
    Gotta love tuts where you don't even explain what a variable is... <3

    you probably don't know it either.
    I would be stupid if I didn't know what a variable is.

  9. #9
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by Takari1 View Post
    I'm not posting the code,I'm showing how to make your first project.(Form)I know it's simple but ...



    I would be stupid if I didn't know what a variable is.
    you seem tbh..

    Someone who writes a tutorial without even explaining how stuff works, without explaining what a variable is and without explaining the structure of the program, is dumb to me.

    Sry if i am to direct about it, but... It's true.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  10. #10
    Takari1's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    819
    Reputation
    81
    Thanks
    96
    Quote Originally Posted by Brinuz View Post
    you seem tbh..

    Someone who writes a tutorial without even explaining how stuff works, without explaining what a variable is and without explaining the structure of the program, is dumb to me.

    Sry if i am to direct about it, but... It's true.
    I'm not doing a tutorial about explaining the source code.This was the first,and it's showing how to make a form,and your first program.

  11. #11
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by Takari1 View Post
    I'm not doing a tutorial about explaining the source code.This was the first,and it's showing how to make a form,and your first program.
    who the fuck wants to make a program just by copy and pasting a few lines and claim that they did something? Only leechers obviously.

    Did he learn anything? Not rly...
    Can he make anything alone? Not rly...
    Is he a programmer? Not rly...
    He is a leecher

    If you actually want to teach something, start by doing console projects. Explaining what a variable is, the structure of a program, data types, loops, etc.
    If they know that, they won't need you to tell them how to create a textbox and a button... ._.
    Last edited by 'Bruno; 05-25-2011 at 11:00 AM.
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  12. #12
    Dead Bones Brook's Avatar
    Join Date
    Sep 2008
    Gender
    female
    Location
    On that seat right over there.
    Posts
    8,328
    Reputation
    858
    Thanks
    1,533
    My Mood
    Daring
    What about hello world?

  13. #13
    Takari1's Avatar
    Join Date
    May 2011
    Gender
    male
    Posts
    819
    Reputation
    81
    Thanks
    96
    Quote Originally Posted by Brinuz View Post
    who the fuck wants to make a program just by copy and pasting a few lines and claim that they did something? Only leechers obviously.

    Did he learn anything? Not rly...
    Can he make anything alone? Not rly...
    Is he a programmer? Not rly...
    He is a leecher

    If you actually want to teach something, start by doing console projects. Explaining what a variable is, the structure of a program, data types, loops, etc.
    If they know that, they won't need you to tell them how to create a textbox and a button... ._.
    Please don't fucking hate.This was my first.And yes he did learn something.He did learn how to make a fucking New Project and Form.

  14. #14
    'Bruno's Avatar
    Join Date
    Dec 2009
    Gender
    male
    Location
    Portugal
    Posts
    2,883
    Reputation
    290
    Thanks
    1,036
    My Mood
    Busy
    Quote Originally Posted by Takari1 View Post
    Please don't fucking hate.This was my first.And yes he did learn something.He did learn how to make a fucking New Project and Form.
    point of it?
    Light travels faster than sound. That's why most people seem bright until you hear them speak.

  15. #15
    Hassan's Avatar
    Join Date
    May 2010
    Gender
    male
    Location
    System.Threading.Tasks
    Posts
    4,764
    Reputation
    495
    Thanks
    2,133
    My Mood
    Dead
    This is a sad thread.