Hello NanoInfinity
I have cleaned out my codes and removed the codes from previous projects.
I tottaly understand what you mean and thank you. I have kept the required codes for the about button and exit.

Code:
Private Sub Command1_Click()

End Sub

Private Sub Command2_Click()

End Sub

Private Sub cmdAbout_Click()
MsgBox ("Program: Interior Decorating Estimation Calculator 1.0, Author: 277302, ID Code: 277302")
End Sub

Private Sub cmdExit_Click()
Unload Me
End Sub

Private Sub Label3_Click()

End Sub
The reason why i am not taking it easy is because I have to make this program before the 3rd of june which is the deadline for it.

Thank you for your advice there. I have sat down and thought about it

To break it down

Text1: (height) The user will input the height for the room and there is a validation limit of 2 to 6 metres.

Text2: (Length) The user will also input the length for the room (all four walls) which has a validation limit of 1 to 25 metres.

Label1 (Not created yet) I will create this to display the output of the estimation of the length, height and cost.

Option box1: I will create an option box so the user can only click on one option and they are for the costs of the paints, I think that this might have to integrated with the height and length.

Checkbox1: I will create a checkbox and there is only one option. If selected (checked) then the price should be increased to 50p per square metre.

...

Now i am stuck, not sure what to do.

Please help

Thanks


Quote Originally Posted by nanoinfinity View Post
Before you try to do anything more, I would strongly suggest you clean everything out of your code that is not related to your current project.
Re-using old code can save tons of time in the appropriate situations, but simply throwing old subroutines and event handlers into an unrelated project without reason will cause more problems for you.
I can see at least two other projects lurking in the code you posted, and their addition makes your code hard to understand, as well as probably affecting how it runs. When those are stripped out, your current relevant code is probably only about 20 lines which is MUCH easier to handle.

I think that you're just a bit overwhelmed with this project, but if you take it slow and steady and think through each phase, it won't be very difficult.
You can choose to either go the Ad Hoc method of development, or a designed development. I would recommend the latter, since you are required to submit written designs plans. You should think through the design of your project before you start the coding, otherwise you will get lost in the code.

Sit down and think through the actions and requirements a user would do and need. This will give you your design specifications (IE what you need), and may also give you an idea of the sort of error handling and methods/Functions you will need too.
THEN you can start your programming. If you're still unsure of where to start, you can take a top-down approach and mimic the actions a user would do on your form. As you do each action, write any supporting code that is needed. (IE the code behind a button the user would click)
This approach can break a big project down into tiny pieces, however it can make things harder for you later on because you may not see how pieces fit together at first, and you may then have to change code you've already written. (Since this is a relatively small project, you probably don't have to worry about that, though.)

THEN, if you run into specific problems or bugs/errors you can't resolve, you can come back here or to your teacher (?) and ask more specific questions knowing that you've already put plenty of effort into your work.