Visual Basic help plz.

Discussion in 'Off-Topic' started by jayj713, Dec 6, 2006.

  1. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    Ok so i know a bit of java but VB is just fricking owning me T_T.

    This is the GUI i have so far
    [​IMG]

    The radio buttons on the left are all named the same as the caption and the radio buttons on the right are all named as the caption with an "End" tacked on.

    For some reason when i try to call the methods( Atlanta. )
    and the little list shows up, the only methods i see are "Count" "item" "LBound" "UBound"

    anyone know why?
     
  2. Deke

    Deke Active Member

    Joined:
    Jan 28, 2006
    Messages:
    2,694
    Likes Received:
    0
    Well we just got done with GUIs a few weeks ago, but that was in java...sorry broseph. Good luck!
     
  3. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    i never realized how good java was until i started trying to do this shit.
     
  4. Strayen

    Strayen Active Member

    Joined:
    Oct 17, 2006
    Messages:
    1,041
    Likes Received:
    0
    i forgot all my java from 3 years ago, but i got an A in both VB6 classes, advanced one for elective.

    from the info you are giving me, I'm sure something is missing. What's in method (Atlanta).

    I still have my VB6 book to look at incase I need to.
     
  5. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    Atlanta isnt a method. Atlanta is the label for the Radio Button Atlanta. So i want to do something like:
    If Atlanta.Value = true Then
    If BostonEnd.Value = true Then
    Label1.Caption = 1
    End If
    End If

    but for some reason i cant get the .Value method to pop up. I only see those 4 methods "Count" "item" "LBound" "UBound"
    You can't do "and" in VB if statements can you?
     
  6. nsvwrx

    nsvwrx Active Member

    Joined:
    Oct 8, 2005
    Messages:
    2,726
    Likes Received:
    0
    send em the program.. i used to do VB for fun

    ipxnsv at yahoo dot come
     
  7. moose

    moose Infina Mooooooose!

    Joined:
    Feb 5, 2005
    Messages:
    2,969
    Likes Received:
    0

    Don't blame VB for your inability to use it. :)

    If you want, zip up and email me your project (christer.medin@gmail.com) and I will tell you what you did wrong. I do .NET programming as part of my job.
     
  8. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    lol, it's fine now. me and a group of friends stayed up and did something different and somehow made it work. I just want to know this, Is it possible to declare global variables?
     
  9. moose

    moose Infina Mooooooose!

    Joined:
    Feb 5, 2005
    Messages:
    2,969
    Likes Received:
    0
    You really shouldn't use global variables in an OO environment...
     
  10. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    i see. oh well, we got it working and it's actually pretty sexy :).
     
  11. nsvwrx

    nsvwrx Active Member

    Joined:
    Oct 8, 2005
    Messages:
    2,726
    Likes Received:
    0
    i LOVE vb... i actually wrote a small mmo back in the day=)

    it was quite sexy and used oracle 9i
     
  12. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    Attached is the program we came up with lol.
     

    Attached Files:

  13. mattprzy

    mattprzy Active Member

    Joined:
    Sep 24, 2005
    Messages:
    1,113
    Likes Received:
    0
    can you send me the VB program code? kthx. I might be able to help but I have not done any in two years.
     
  14. jayj713

    jayj713 Member

    Joined:
    Feb 13, 2006
    Messages:
    827
    Likes Received:
    0
    i stopped working on the one up there ^ and we just worked on the one i just attached.
     

Share This Page