Visual Basic: Basics
Visual basic is around 50% design based, and 50% code based. This means that a lot of creating programs in visual basic is actually very visual.
After creating a new project you can add objects to the form by dragging them on from the toolbox (usually on the left hand side of the screen) - if the toolbox isnt on-screen then go to view and then toolbox.
From there its as simple as dragging stuff on from the big list of objects.
You can change the properties of the object by clicking on it then changing values in the properties panel (default bottom right hand corner).
Now comes the slightly more complicated part (which is still fairly easy) - the coding.
To go into the form's code view you simply double click the form; by default this will go into the "form_load" code view, however we can change the method "load" in the method selection box which is near the top right of the screen; when we select a different method another little section will be created, but this time for the method we selected.
You can also add code to objects, lets use a button as an example.
To go into the button code view simply double click the button, by default this will take you into the "button_click" code view; as before we can change the method to do different things in different situations with the button.
Back to Visual Basic

