Thursday, August 20, 2009

How to plan and create vb6 projects

The three steps for planning and creating Visual Basic projects and what happens in each step.
Planning
1.When you plan the user interface, you draw a sketch of the screens the user will see when running your project. On your sketch, show the forms and all of the controls that you plan to use. Indicate the names that you plan to give the form and each of the objects on the form.
2. For each of the objects, write down the properties that you plan to set changed for each project during the design of the form.
3.This is where you plan the procedures that will execute when your project runs. You will determine which events require action to be taken, and plan, step-by-step, what those actions should be.
Programming
After you have completed the planning steps and have agreement from your user, you are ready to begin the actual construction of the project. You will use the same three step process that you used for planning.
1.Define the user interface. When you define the user interface, you create the forms and controls that you designed in the planning stage. Think of this step as all of the objects you will use in your project.
2.Set the properties. When you set the properties of the objects, you give each object a name and define such attributes as the contents of a label, the size of the text, and the words that appear on top of a command button and in the form’s title bar. You might think of this step as describing each of your objects.
3.Write the Basic code. This is where you write the procedures that will execute when your project runs. You will use Basic programming statements (called Basic code) to carry out the actions needed by your program. You will be surprised and pleased by how few statements you need to create a powerful Windows program. You can think of this third step as defining the of your program

No comments: