Computing Students - Computer Science Degree Notes
Home Contact Shop Notes Questions Programming Links Dictionary Coursework FORUM Tutors
  Recommended Amazon Searches: Computer Science | Computing | Computer Systems | Database | Computing Revision  

Programming > Visual Basic > Tutorial > 5 - Viewing Code

If you double click on the button you have on a form, the following window will appear which displays the actual coding involved with the form and its controls.

When you double click on a control in a form and the coding window appears, the wrapping code that can be seen in the image above is automatically produced. Your coding for that control goes in between these lines.

The Command1_Click() part of the code refers to the name of the control involved and the action needed to run the code for this control, in this case, a click from the user's mouse.

The next step will show you how to write a simple piece of coding to make the button carry out an action when you click it: Writing and Running VB Code

Search for "Visual Basic" on: Google | Kelkoo | Amazon | eBay (UK) | eBay (US)

Search for "Visual Basic" on the rest of Computing Students: Visual Basic

Find Visual Basic (VB) Programming Books in the Computing Students Computer Science Book Shop






Home | Contact | Shop | Notes | Questions | Programming | Links | Dictionary | Coursework | Tutors Sponsored Links: Affiliate Program Articles | Computer Science Definitions | CS Degree Notes
Copyright © 2005-2009 ComputingStudents.com
This site is to be used in accordance with the ComputingStudents.com User Agreement
High Wycombe Web Design