![]() |
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. |
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 |
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.
|
Okay, here's the GUI:
http://percival.merlin.mb.ca:8901/In...ew/review2.jpg And here's my code: Quote:
|
Oh i forgot to mention something. If you want me to do your home work it's called Pay Pal.
|
jesus man, what could you have learned that you've already forgotten that covers these ideas?
|
Quote:
:
lblCount.Caption = "Count: " & intNumberAbsolutely not sure, I haven't touched VB for a few years. |
Quote:
|
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 IntegerVB sucks... |
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:
|
| All times are GMT -5. The time now is 4:20 AM. |
Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC