It appears you have not yet registered with DEVPPL. To register please click here... (it's fast, easy and free!)

Forum

Log In Sponsors
Board index Programming Visual Basic Forum

hlep~ need a fix

Moderator: dafunkymunky

hlep~ need a fix

Postby wildguardian on Sun Apr 11, 2010 2:23 am

1Error Handles clause requires a WithEvents variable defined in the containing type or one of its base types

Code: Select all
Public Class frmPS

    Private Sub btnCompute_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCompute.Click
       
Dim costPerShare, numberOfshares, amount As Double
        costPerShare = 25.625
        numberOfshares = 400
        amount = costPerShare * numberOfshares
        lstoutput.Items.Add(amount)

    End Sub

End Class


it shows error > btnCompute.Click

help please :~S
wildguardian
 
Posts: 1
Joined: Sun Apr 11, 2010 2:14 am

Re: hlep~ need a fix

Postby ilkut on Wed May 26, 2010 12:05 pm

but it's working
ilkut
 
Posts: 5
Joined: Wed May 26, 2010 11:25 am


Who is online

Users browsing this forum: No registered users and 1 guest