Posts Tagged ‘Visual Basic’
One ‘Sub’ to rule them all!
So far we have be using Sub Procedures which have been generated when we double click on a button and an event method is called. This lesson we are going to create our own “Custom” Sub which will help us make our code more efficient. If you haven’t already you need to download and run [...]
Many ways to skin a cat!
Last lesson we looked at using If Statements and Checkboxes to control styles applied to fonts. Once you successfully ran your program you would had found that there were issues with using the “CheckState.Checked” and “CheckState.Unchecked”. This lesson we will look at two methods to solve those issues. Remember that with programming there is more [...]
Programming: Classic Controls
The Checkbox is classic control in Visual Basic 2010. It allows the user to elect one or more item by checking the checkbox/checkboxes concerned. The check box control displays a check mark when it is selected. It is commonly used to present a Yes/No or True/False (Boolean) election to the user. You can use a [...]
Programming: Converting Data Types
Last lesson we played with receiving inputs from a user and then performing a mathematical sum with the value. When you are converting one datatype class to another, you must realise that the result of that conversion could vary depending on the type of conversion that you perform. For example if you try to convert a Decimal [...]
Introduction to Programming
For Year 10 – Computer Science we just started learning to Visual Basic as a part of the programming course work. As this is first time many of you have encountered a programming language many of the concepts and terms will be very foreign, but rest assured if you stick with it you will get [...]












