Purchase Solution

Visual Basic Write Program

Not what you're looking for?

Ask Custom Question

You have a command button, cmdCalc,a text box, txtMonth, and a list box, 1stOutput. Write a Sub procedure that takes a single parameter, multiplies it by 12, and then displays the result on 1stOutput. Write code for the button's click event to call your Sub, passing the value in txtMonth.

Purchase this Solution

Solution Summary

This tutorial provides guidelines to create a program for writing a sub procedure.

Solution Preview

Sub calc(ByVal num As Integer)
lstOutput.Items.Add(num * ...

Purchase this Solution


Free BrainMass Quizzes
Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

C++ Operators

This quiz tests a student's knowledge about C++ operators.

C# variables and classes

This quiz contains questions about C# classes and variables.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.