Jump to content

Visual basic. net


Recommended Posts

I haven't been using VB for very long so treat me as a beginner lol. I have been given a task to add to this code that I have already been given and make a stack chart out of it and a pie chart. I was just wondering if anyone would be able to help me with this?

Here is the code that I already have that makes the bar graph:

"

Dim val1 As Short

Dim val2 As Short

Dim val3 As Short

Private Sub RunGraph_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles RunGraph.Click

val1 = Val(txtFig1.Text)

val2 = Val(txtFig2.Text)

val3 = Val(txtFig3.Text)

Dim bargraph As New BarGraphForm()

bargraph.Show()

bargraph.SetValues(val1, val2, val3)

End Sub

Private Sub InputForm_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

"

any ideas on what code to type next? any suggestions would be great full.

Keith.

Link to comment
Share on other sites


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...