Results 1 to 7 of 7

Thread: New serious help! For my VB class!

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Question New serious help! For my VB class!

    Hey, I need some serious help with this project. I'm not asking anyone to write the program for me, it's already written. I can't find my error though. It's a program that is supposed to scroll "God Bless the USA". The only problem is that it just keeps scrollng the "G", so I think it's hanging up there. If anyone could take a look at this, it would be extremely appreciated. It's a really simple program.
    Attached Files Attached Files

  2. #2
    WorkHorse
    Guest
    Move this line: Dim I As Integer

    to a general declaration. When dimmed in a sub it will always be set back to 0.

  3. #3
    WorkHorse
    Guest
    Why is your magenta button blue?

  4. #4

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    Thanks, and why magenta is blue......

    Thanks for the help. The magenta button is blue because the instructor gave us the interface and just wanted us to code it. He's Russian, so I guess he had a little trouble with translation in understanding what color magenta is!

  5. #5
    WorkHorse
    Guest
    I think &H00FF00FF& is the same in Russian. (or vbMagenta, if you please)

  6. #6

    Thread Starter
    Fanatic Member
    Join Date
    Jul 2001
    Location
    Maumelle, AR
    Posts
    624

    hmmmmmm.

    He must have just made a mistake then. It's funny because he's always talking about what a great programmer he is in class, but then he tries to show us a sample program and gets all kinds of runtime errors! LoL! I know he is a good programmer or he wouldn't be teaching a college level course, but it's still funny.

  7. #7
    WorkHorse
    Guest
    I'm just obsessive with consistency. Your prof just plunked in some standard palette colors to get you going. I think watching anyone write code on the fly would be humorous (unless you are the client and they're working on your project). De-buggers are good enough now that the easiest way to get code right is usually just plug something in, run it, and see what doesn't work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width