Jump to content

Thugwitglock

Members
  • Posts

    6
  • Joined

  • Last visited

Reputation

0 Neutral
  1. 2 month old thread, dunno....some people get annoyed when you bump up old posts. But anyways, some good albums... The White album is a must, as well as Magical Mystery Tour... but, you should just get them all, there all good :)
  2. I'm a huge fan of the Beatles, and to anyone else who is...... What's your favorite song? What is your favorite scene from their movie "Yellow Submarine"? My favorite song would have to be "I am the Walrus", it's just very random and i love it. My favorite scene from the movie is the part where the officer is trying to get the cat's attention, and he keeps saying a funny phrase(which i doubt could say on these forums). But if you've seen the movie, you probably know which one i mean. :lol:
  3. I see now. Thank you for all your help.
  4. I'm curious though, how where you able to declare the "selectSomething" Variable without giving it a "type". What i mean is using Dim selectSomething As Integerfor example? We have not used this sort of code in our class yet, so i was just wondering, incase the teacher wants me to go into detail on what code i used and how it works(she tends to do that).
  5. Thank you very much, that did the trick. It works great, it's just that when i use the command button to activate the code, the message box pops up, but the code continues to run. Nothing a little Exit Sub couldn't fix.
  6. Hey there, i am currently working on a Visual Basic 6.0 project for school, and i have run into a little problem here that i need assistance on. I won't go into details on the assignment, because its irrelivent, i'm simply having a problem with my error handling on it. I need to provide a message box popup that will display if none of the 3 options buttons in a frame are selected. I was thinking about how i was going to do this for quite some time, and the best idea i could come up with was to do this... Dim int1, int2, int3, intTotal As Integer If optOverNight.Value = False Then int1 = 1 ElseIf optDays.Value = False Then int2 = 2 ElseIf optWeeks.Value = False Then int3 = 3 End If intTotal = int1 + int2 + int3 If intTotal = 6 Then MsgBox "You must select a delivery option, vbOkOnly, "Error" End If But this code obviously did not work, so i was wondering if anybody had another idea i could try. I feel like i am making this harder than it actually is, so someone hitting me with some common sense would be much appreciated.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.