Page 4 of 4 FirstFirst ... 2 3 4
Results 61 to 64 of 64

Thread: C# Help     submit to reddit submit to twitter

  1. #61
    E. Body
    Join Date
    Jun 2006
    Posts
    2,181
    BG Level
    7
    FFXIV Character
    Bro Teampill
    FFXIV Server
    Gilgamesh
    FFXI Server
    Ifrit

    Re: C# Help

    Apparently everyone is missing the part where he says he doesn't give two shits about learning any of this stuff, because he knows it's not what he wants to do for a career. He also said he would rather go out for cheap beers than study, which is why he'd rather pay someone to do his work instead of being bothered to do it himself. So, why the fuck are you people trying to drive the point home that he won't learn anything, when he doesn't want to learn anything?

  2. #62
    Banned.

    Join Date
    Jul 2005
    Posts
    5,821
    BG Level
    8
    FFXI Server
    Sylph
    WoW Realm
    Arthas

    Re: C# Help

    This is for VB6 but I need help yo, anyone know how to make a for if loop count backwards? I'm making a database application and hate having to go to the bottom to select a commonly selected number

    This is the current loop:
    Code:
        For i = 0 To 75
            cmbLevel(0).AddItem i
            cmbLevel(1).AddItem i
            cmbLevel(2).AddItem i
            cmbLevel(3).AddItem i
        Next i
    But:
    Code:
        For i = 75 To 0
            cmbLevel(0).AddItem i
            cmbLevel(1).AddItem i
            cmbLevel(2).AddItem i
            cmbLevel(3).AddItem i
        Next i
    Does not work (obviously ). Figure'd id ask here.

  3. #63
    Ridill
    Join Date
    Feb 2006
    Posts
    11,977
    BG Level
    9

    Re: C# Help

    Quote Originally Posted by senoska
    This is for VB6 but I need help yo, anyone know how to make a for if loop count backwards? I'm making a database application and hate having to go to the bottom to select a commonly selected number

    This is the current loop:
    Code:
        For i = 0 To 75
            cmbLevel(0).AddItem i
            cmbLevel(1).AddItem i
            cmbLevel(2).AddItem i
            cmbLevel(3).AddItem i
        Next i
    But:
    Code:
        For i = 75 To 0
            cmbLevel(0).AddItem i
            cmbLevel(1).AddItem i
            cmbLevel(2).AddItem i
            cmbLevel(3).AddItem i
        Next i
    Does not work (obviously ). Figure'd id ask here.
    For i = 75 To 0 step -1
    ...blahblahblah
    next i

  4. #64
    Banned.

    Join Date
    Jul 2005
    Posts
    5,821
    BG Level
    8
    FFXI Server
    Sylph
    WoW Realm
    Arthas

    Re: C# Help

    Quote Originally Posted by octopus
    Quote Originally Posted by senoska
    This is for VB6 but I need help yo, anyone know how to make a for if loop count backwards? I'm making a database application and hate having to go to the bottom to select a commonly selected number

    This is the current loop:
    Code:
        For i = 0 To 75
            cmbLevel(0).AddItem i
            cmbLevel(1).AddItem i
            cmbLevel(2).AddItem i
            cmbLevel(3).AddItem i
        Next i
    But:
    Code:
        For i = 75 To 0
            cmbLevel(0).AddItem i
            cmbLevel(1).AddItem i
            cmbLevel(2).AddItem i
            cmbLevel(3).AddItem i
        Next i
    Does not work (obviously ). Figure'd id ask here.
    For i = 75 To 0 step -1
    ...blahblahblah
    next i
    Thanks! Saved my butt on that one, newbie question im aware but I've never had to have a for if count backwards, that was a first for me :O

Page 4 of 4 FirstFirst ... 2 3 4

Similar Threads

  1. WAR/NIN help plz
    By cyphx in forum General Discussion
    Replies: 18
    Last Post: 2006-04-28, 14:11
  2. Ouch, Call for help on Cassie{/comfort}
    By Deadkennedys in forum General Discussion
    Replies: 3
    Last Post: 2004-09-27, 07:48
  3. Need help on money making methods
    By in forum General Discussion
    Replies: 2
    Last Post: 2004-09-16, 21:57