VB Exercise 5-6 - Exercise 5-6 Exercise 5-6 Asks us to...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
Exercise 5-6 Exercise 5-6 Asks us to create a crude Bar Chart to display sales data for several retail stores. The user will be prompted via Input Box to enter the total sales for each store. The program will then create and display a Bar Chart representing store sales. For more information on the While…End While Loop used in the exercise http://msdn.microsoft.com/en-us/library/zh1f56zs.aspx Start Program Code Imports Microsoft.VisualBasic.Constants ‘Visual Basic Library Imports Microsoft.VisualBasic.ControlChars ‘Visual Basic Library Public Class Form1 Private Sub btnExit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnExit.Click Me.Close() End Sub Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click lstBChart.Items.Clear() End Sub Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click Dim Store(5) As String Dim strInp As String
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 11/09/2011 for the course COP 1332 taught by Professor Ryland during the Spring '11 term at American College of Computer & Information Sciences.

Page1 / 3

VB Exercise 5-6 - Exercise 5-6 Exercise 5-6 Asks us to...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online