![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 | |
|
Newbie
Join Date: Nov 2005
Posts: 5
Rep Power: 0
![]() |
Schoolwork help
I started this online course a while ago, and unfortunately I've pretty much forgotten 99.9% of everything we were taught, and I'm about 4 units behind, so I was wondering if you guys could give me a hand. Thankfully this site isn't blocked at my school. So the first assignment is basically a counter. Here's the first assignment:
(BTW, I know how to do the GUI's, but I can't get the rightclick/properties/copyimage link type of thing, computer doesn't allow it) So when it says "It should look like this, I know how to make the GUI's. Quote:
Dim intNumber as Integer <The command button line thing, I can't remember the exact text of it, but anyways) intNumber = intNumber + 1 <- But this doesn't work when I put it beside the text label. Edit: I should've just meant that I need help with the coding. That's it, if there's anything else that I need, I'll post it here. But with the work help, (not trying to be greedy) but if a response could be immediate, that'd be VERY appreciated. Thank you. |
|
|
|
|
|
|
#2 | |
|
Hobbyist Programmer
Join Date: Oct 2005
Posts: 211
Rep Power: 4
![]() |
Quote:
If you have specific questions, or post what you have, and ask things like 'why isn't this compiling' or why does the counter get stuck at 3 or why do I keep getting a segmentation fault then we'd be more than happy to answer though. Otherwise read the book, ask the teacher, and do your own work. Chances are any help we give you wouldn't be anything you'd have to hide from your teacher. -MBirchmeier |
|
|
|
|
|
|
#3 |
|
Expert Programmer
|
Agreed... we don't do homework here unless it is a specific question. If you can supply us with some code and specific questions we might be able to help.
|
|
|
|
|
|
#4 | |
|
Newbie
Join Date: Nov 2005
Posts: 5
Rep Power: 0
![]() |
Okay, here's the GUI:
![]() And here's my code: Quote:
|
|
|
|
|
|
|
#5 |
|
Expert Programmer
|
Oh i forgot to mention something. If you want me to do your home work it's called Pay Pal.
|
|
|
|
|
|
#6 |
|
Programming Guru
![]() Join Date: Oct 2004
Location: namespace std
Posts: 1,246
Rep Power: 6
![]() |
jesus man, what could you have learned that you've already forgotten that covers these ideas?
__________________
i put on my robe and wizard hat... Have you ever heard of Plato, Aristotle, Socrates?...Morons. |
|
|
|
|
|
#7 | |
|
Expert Programmer
Join Date: Aug 2005
Location: Rotterdam, the Netherlands
Posts: 942
Rep Power: 4
![]() |
Quote:
lblCount.Caption = "Count: " & intNumber Absolutely not sure, I haven't touched VB for a few years. |
|
|
|
|
|
|
#8 | |
|
SEXY SHOELESS GOD OF WAR!
![]() Join Date: Jun 2005
Location: Wet west coast of Canada
Posts: 1,188
Rep Power: 5
![]() |
Quote:
__________________
And once again, Probability proves itself willing to sneak into a back alley and service Drama as would a copper-piece harlot. - Vaarsuvius, Order of the Stick |
|
|
|
|
|
|
#9 |
|
Professional Programmer
Join Date: Sep 2005
Location: serbia & montenegro
Posts: 484
Rep Power: 4
![]() |
It was a long time while I programmed in VB6 so I may be wrong about this, but I think you must use
Dim intNumber As Integer VB sucks... |
|
|
|
|
|
#10 | |
|
Newbie
Join Date: Nov 2005
Posts: 5
Rep Power: 0
![]() |
Oh that's probably what I did wrong. (The & instead of + ), as well, I thought I had the "Dim" part in there too...but I guess not.
Okay, I got the count going right, but it's only working once (Only going to "1", and not continuing) here's my code: Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|