shadow4509 said:
"Argument Not Optional"
An argument is part of something. If an argument is 'optional', then you dont need to use it. If an argument is NOT optional, then you DO need to use it. That error basically means "something's missing here".
Total is a variable, which is like a bin containing something - in this case, the "bin" called 'total' has a number in it. So I'm going to call variables "bins" from hereon - as it's a good metaphor.
However, txt_total is your textbox. A textbox isn't a variable - it's not a "bin". It's an object, with lots of stuff on it. Some of this stuff on it might be a bin, which you CAN put things in. Some of this stuff might be the colour it is, or the height it is. An object like a textbox appears on the form as - you guessed it - a textbox.
txt_total = Total
That line of code is saying "open the bin 'txt_total' and put the contents of the bin 'Total' in it". But you can't open txt_total because it isn't a bin. It's an object with stuff attached to it.
Now, some of these things attached to the textbox it ARE a bin. And this thing I'm about to talk about is its height property - it tells the program how tall the textbox is. I could put something into this bin by doing this;
txt_total.height = 1040
And then your textbox called txt_total will be 1040 high. You could do the same for its width property, which tells you how wide it is;
txt_total.width = 4000
As you know, txt_total is a textbox. And you can put text in it. When you put text in it, it goes into one of these 'bins' called 'text'. So when you change whats in the textbox, the contents of the 'bin' is changed to whats in the textbox. Likewise, when you change what's in this 'bin', the contents of the bin gets displayed into the textbox. So it works both ways.
I've shown you how to put some into the property 'width', and how to put something into the propert 'height'. You need to put something into the property 'text'.
You programming tutor is only doing things the correct way

I hope you realise that doing this is much harder for me than giving you the answer. But you will, in the long run, learn so much more by actually understanding the answer.
If I just told you the answer, you would paste it in and it would be done, but because I haven't done that you've learnt or at least reinforced your knowledge on:
- what OPTION EXPLICIT does
- what a property is
- what it means to declare a variable
- how to find the source of errors
But if someone just gave you answers, you would learn nout