­
A Visual Basic School Calculator — ICT & Computing in Education
  • Front Page
  • Search
    • Digital Education
    • Terry Freedman's Books Bulletin
  • RSS
    • Welcome
    • The "About" Page
    • Testimonials
    • CV/Resumé
    • My Writing
    • Published articles
  • Corrections Policy
Menu

ICT & Computing in Education

Articles on education technology and related topics
  • Front Page
  • Search
  • Newsletters
    • Digital Education
    • Terry Freedman's Books Bulletin
  • RSS
  • Info
    • Welcome
    • The "About" Page
    • Testimonials
    • CV/Resumé
    • My Writing
    • Published articles
  • Corrections Policy
A screenshot of a print-out of a screenshot

A screenshot of a print-out of a screenshot

A Visual Basic School Calculator

October 13, 2017

I came across a print-out of one of my first forays into programming with Visual Basic, circa 1994. I was already familiar with Basic, which I had taught for a number of years, and Visual Basic for Applications, which I employed to add some rocket fuel to Word and Excel. However, I thought it was time I learnt VB so I couldcreate stand-alone programs, and also teach it in school.

The screenshot above shows one of my first applications. It was a calculator which took account of value-added tax (VAT) semi-automatically, and held running totals. I used the Running Totals to help me keep an eye on whether I was going over budget. I also added a 'Lock' feature, to prevent myself or someone else accidentally resetting it.

It worked really well. The only thing is, I am now rather embarrassed by the code. Although it was efficient, and worked, it includes lines line Sub Command8_Click(). The next program I wrote, and subsequent ones, named items properly (eg cmdVAT for the Command button to add VAT).

Still, not bad for a first attempt methinks!

In Computing Tags Visual Basic, calculator
← What's in the next issue of Digital Education?Technology-Authorised Madness →
Recent book reviews
Backlist: The Written World
Backlist: The Written World

Writing was invented ‘only’ a few thousand years ago. It’s a fascinating story.

Read More →
Backlist: What I'm reading: Bounce
Backlist: What I'm reading: Bounce

What does it take to become an expert? And what can the Computing teacher do about it?

Read More →
Backlist: The Fourth Education Revolution
Backlist: The Fourth Education Revolution

The title of this book invites curiosity: what were the other three ‘revolutions?

Read More →
A book review for your English department colleagues perhaps
A book review for your English department colleagues perhaps

Some of these stories are so richly told, it can almost seem as though you’re right there with him.

Read More →
Review: Pen Names
Review: Pen Names

OK, so this has nothing to do with education technology, but we all read (I hope!). A very interesting examination of the pen names some authors have adopted, and why.

Read More →
Review: The Library of Ancient Wisdom: Mesopotamia and the Making of History
Review: The Library of Ancient Wisdom: Mesopotamia and the Making of History

There's a really interesting section in this book about how ceramic storage of data and information is probably the most likely medium to stand the test of time.

Read More →
A book review for your biology colleagues perhaps
A book review for your biology colleagues perhaps

The subject under discussion here is how human physiology has developed in different ways, in response to different conditions around the world.

Read More →
Review: Social Media for Academics
Review: Social Media for Academics

This book is very readable, and if I sound surprised that is because it’s not always true of academics!

Read More →
Quick looks: VIBE Coding by Example
Quick looks: VIBE Coding by Example

For the time being, this book is free in Kindle format.

Read More →
Review: The Game Changers: How Playing Games Changed the World and Can Change You Too
Review: The Game Changers: How Playing Games Changed the World and Can Change You Too

Despite the relative paucity of immediately obvious National Curriculum links, teachers will find several of sections of this book to be highly engaging.

Read More →
Dig+Ed+Banner.jpg

Contact us

Privacy

Cookies

Terms and conditions

This website is powered by Squarespace

(c) Terry Freedman All Rights Reserved