Last lesson you learned to open up a text file and display the contents in your program. This learn you learn how to edit the contents of the text file and save it.
This lesson teaches you how to read data from a text file. In the next few lessons we are also going to talk about how to store data in a text file, which will help you with projects such as develop a high score table in game creation.
In this lesson you learn how to work with Arrays – how to declare them, and how to populate an array with data (and edit them later) using For loops.
In this tutorial we write a simple function that can count how many words are in a string. We also teach how to call a function.
In this lesson you use a While Loop to program a simulation of the greedy pig game – keep rolling the die until a 2 comes up.
In this lesson you are first introduced what an arithmetic sequence is, then you are taught how to program the formula of an arithmetic sequence in visual basic using variables, mathematical operators and for loops. Must have completed lesson 7 on For Loops prior to starting this tutorial.
In this lesson you learn about using For Loops to automate actions – instead of manually repeating the same instructions over and over again, we can get the computer to do it automatically – which is essentially the whole point of programming!
In this lesson we create a typing speed tester program. We used the keydown event to make the program keep count of words every time the space bar is pressed. We calculated the typing speed by dividing the number of words by number of seconds and then multiplying by 60. The typing speed is continuously …
In this tutorial we do some preparation work to program a typing speed tester program. Eddie will take you through programming a stopwatch step by step, using the timer object, a label and 3 buttons (Start, Stop, Reset). Don’t delete this program – we will need it to continue programming our typing speed tester in …
In this lesson you learn to make an object move on the screen using the timer object (timer ticks every 10ms and if the boolean variable is true, the object will be moved to the right by one pixel).