Adblock breaks this site

!!Your First VB6 Program!! Its That Easy.

Discussion in 'Programming General' started by zaks, Dec 25, 2007.

  1. zaks

    zaks Member

    Joined:
    May 5, 2007
    Posts:
    55
    Referrals:
    1
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    ok.... you got visual basic six and it looks really complicated huh?
    im going to show you one of the simplest programs you will ever make..

    you will need the following..

    (1. 1 command box (the blank button looking thing)

    (2. 1 label (the big "A")

    ----------
    step 1 make a new .exe

    step 2 make a new label (stretch it across the form that you just made)

    step 3 make a command button any size will do

    step 4 click back on the lable rename it " lblHelloworld " and erase the caption

    step 5 click back on the command button rename it " cmdhelloworld " type hello world in the caption

    step 6 ok heres the hardest part and its easy ;) double click the command button that you just renamed to cmdhelloworld you should see this
    Code:
    Private Sub cmdhello_Click()
    
    End Sub
    
    all you have to do is click in the empty space between the two and add this
    Code:
    lblhelloworld.caption = "Your Text Here, it's that easy"
    it will look like this
    Code:
    Private Sub cndhello_Click()
    lblhelloworld.Caption = "Your Text Here, it's that easy"
    End Sub
    
    step 7 run the form (press F5) then click your Command button and watch what you created

    step 8 play around with it and see what happens
    -----------------------------------------------
    yep its that easy
     
  2. The Devils Son

    The Devils Son Forum Addict
    Banned

    Joined:
    Jul 2, 2007
    Posts:
    333
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    I beg to differ.

    I find HelloWorlds a disgrace to programming. You should never start by doing a HelloWorld Tutuorial, they have nothing to do with anything, there boring and throws newbies off because they couldn't make any better than that which is basicly nothing.
     
  3. zaks

    zaks Member

    Joined:
    May 5, 2007
    Posts:
    55
    Referrals:
    1
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    i just made it to show that its not as hard as most people think.
     
  4. The Devils Son

    The Devils Son Forum Addict
    Banned

    Joined:
    Jul 2, 2007
    Posts:
    333
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    Most newbies don't think it is hard at all, give them a good login form Tutorial and they willed thrilled by how easy THAT is, then they can work off from it instead of knowing how easy a "HellWorld" app is, there shit and useless and the newbies even know that is to easy and want better and need better.

    Try again and maybe you will succeed :)
     
  5. timk777

    timk777 Active Member

    Joined:
    Feb 19, 2007
    Posts:
    156
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    Wait a minute.... People think vb6 is hard? Why didn't anyone inform me of this?!?
     
  6. The Devils Son

    The Devils Son Forum Addict
    Banned

    Joined:
    Jul 2, 2007
    Posts:
    333
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    thats just false facts :p

    I know what you mean though :D
     
  7. Terrankiller

    Terrankiller Ex-Administrator
    Retired Administrator Visual Basic Programmers

    Joined:
    May 7, 2005
    Posts:
    1,286
    Referrals:
    1
    Sythe Gold:
    1
    !!Your First VB6 Program!! Its That Easy.

    Your first program should not include any forms what so ever. This first program doesn't really constitute as a program.
     
  8. Pimping_One

    Pimping_One Forum Addict
    Banned

    Joined:
    Jul 17, 2007
    Posts:
    457
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    My First Program was a Color Picker, My Second One Was a Web Browser that saved history, had back, forward, and stop buttons... people aren't retarted mate.
     
  9. Blupig

    Blupig BEEF TOILET
    $5 USD Donor

    Joined:
    Nov 23, 2006
    Posts:
    7,145
    Referrals:
    16
    Sythe Gold:
    1,609
    Discord Unique ID:
    178533992981594112
    Valentine's Singing Competition Winner Member of the Month Winner MushyMuncher Gohan has AIDS Extreme Homosex World War 3 I'm LAAAAAAAME
    Off Topic Participant
    !!Your First VB6 Program!! Its That Easy.

    My first program was actually quite complicated; translated english to L337 sp34k and back.
     
  10. Covey

    Covey Creator of EliteSwitch
    Retired Sectional Moderator Visual Basic Programmers

    Joined:
    Sep 9, 2005
    Posts:
    4,510
    Referrals:
    9
    Sythe Gold:
    9
    Discord Unique ID:
    807246764155338833
    Discord Username:
    Covey#1816
    !!Your First VB6 Program!! Its That Easy.

    lol
    Code:
    Public Function LeetSpeak(ByVal strText As String) As String
        Dim i As Long, strChr As String
        strText = Trim(strText)
        If strText = Empty Then
            Exit Function
        End If
        For i = 1 To Len(strText)
            strChr = Mid(strText, i, 1)
            Select Case strChr
                Case "a", "A"
                    LeetSpeak = LeetSpeak & "4"
                Case "e", "E"
                    LeetSpeak = LeetSpeak & "3"
                Case "r", "R"
                    LeetSpeak = LeetSpeak & "2"
                Case "l", "L"
                    LeetSpeak = LeetSpeak & "1"
                Case "s", "S"
                    LeetSpeak = LeetSpeak & "5"
                Case Else
                    LeetSpeak = LeetSpeak & strChr
            End Select
        Next i
    End Function
    etc, i was bored :D
     
  11. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    who ever said visual basic was hard, it was designed to be easy to learn and use.
     
  12. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    And easy to fail
     
  13. The Dark

    The Dark Guru
    Banned

    Joined:
    Jan 21, 2007
    Posts:
    1,601
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    If this is made for a first timer, probably explaining what everything does would help? Like a Private Sub? And what's happening when you click the button? That's assuming you know, and weren't looking for easy credit.
     
  14. kronz420

    kronz420 Guest

    Referrals:
    0
    !!Your First VB6 Program!! Its That Easy.

    i have no clue how to do any of this but i wanna learn.
     
  15. skate4lifee

    skate4lifee Active Member

    Joined:
    Jul 22, 2007
    Posts:
    108
    Referrals:
    1
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    'tis true.
     
  16. Typhoon

    Typhoon Forum Addict

    Joined:
    Jan 21, 2007
    Posts:
    452
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    I learned by the "HelloWorld Tutorial" but that was in school. Its a good tutorial. I dont have any problem with it. I dont see why other people do.
     
  17. Jazz00006

    Jazz00006 Apprentice
    Visual Basic Programmers

    Joined:
    Aug 26, 2005
    Posts:
    807
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    For crying out loud. Stop spamming this thread just for your post count.
     
  18. tomanderson12

    tomanderson12 Member

    Joined:
    Jan 21, 2008
    Posts:
    53
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    Its not really a program in my eyes, it serves no purpose and doesnt really teach anyone anything for starting VB,
     
  19. warpclaw

    warpclaw Forum Addict
    Banned

    Joined:
    May 5, 2007
    Posts:
    434
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    Thaks for the tutorial.. i past from begginer so i dont need this... but begginers will need this so my bro will like it
     
  20. Vengenced

    Vengenced Active Member
    Banned

    Joined:
    Dec 19, 2007
    Posts:
    179
    Referrals:
    0
    Sythe Gold:
    0
    !!Your First VB6 Program!! Its That Easy.

    Fantastic, ;l

    This is shit and I still cant do it...

    How dumb am I.
     
< [suggestion] application request section? | vb2005 datagrid records editing locked with the priviledge to edit only newly added r >


 
 
Adblock breaks this site