Hi all,
I'm getting the mentioned error when I copy paste a piece of code where I add a new button in a form. It works fine with all other buttons in the form. The code is:
The error is shown in the red marked variable which I pass in the argument. m_HeadId declared as Integer. The same variables pass to other buttons and no prob. I'm figuring out why and even try to understand suggestion given by senior members in this forum but cannot resolve...pls guide
jpdbay
I'm getting the mentioned error when I copy paste a piece of code where I add a new button in a form. It works fine with all other buttons in the form. The code is:
VB.NET:
Private Sub cmdManualBucketAddition_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdManualBucketAddition.Click
'Cursor = Cursors.WaitCursor
WriteTrace(Me.Name & ":cmdManualBucketAddition_Click", 3, True)
If AfficherForm(New frmModiBucketCharging([COLOR=Red]m_HeadId[/COLOR])) = DialogResult.OK Then Refresh()
WriteTrace(Me.Name & ":cmdManualBucketAddition_Click", 3, False)
End Sub
jpdbay