Re: Stack Over flow Problem

  • From: "Niran" <public.niran@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Thu, 25 Sep 2008 10:19:22 +0530

Try removing the code inside CheckChanged event specially the line that set the checked state to true.


-N
Check out my blog on programming
http://www.nirandas.com/blog/
----- Original Message ----- From: "Marvin Hunkin" <startrekcafe@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Thursday, September 25, 2008 8:44 AM
Subject: Stack Over flow Problem


HI.
doing a project, for a school subject, and using jaws 9 standrd on a windows
vista machine, and using vb.dot net 2008 express.
now, the radio buttons, are giving me stack over flow.
will paste the code below  and from a book called programming in visual
basic by julia milspaw.
from Magraw Hill.
can you help?
tried a few different things, but not working and driving me crazy.
cheers Marvin.

'Program:   Shipping
'Programmer:    Marvin Hunkin
'Date:  Thursday September 4 2008
'Description:   Enter Shipping Information using text boxes, labels, radio
buttons, group boxes and buttons.


Public Class frmVBMail




   Private Sub btnDisplayButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnDisplayButton.Click


       'Display Information

       With Me
           Me.lblCatalogueLabel.Text = "12345"
           Me.lblPageNumberLabel.Text = "1"
           Me.lblPartNumberLabel.Text = "12444"

       End With

   End Sub











   Private Sub btnClear_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnClear.Click

       'Reset insertion point.

       tbCatalogueTextBox.Clear()
       tbPageNumberTextBox.Clear()
       tbPartNumberTextBox.Clear()
       tbCatalogueTextBox.Focus()

   End Sub


   Private Sub btnExitButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles btnExitButton.Click

       'Exit the project.

       Me.Close()



   End Sub

   Private Sub chkNewCustomerCheckBox_CheckedChanged(ByVal sender As
Object, ByVal e As System.EventArgs) Handles
chkNewCustomerCheckBox.CheckedChanged


       'Select Checkbox.


       chkNewCustomerCheckBox.Checked = True



   End Sub

   Private Sub picShippingPictureBox_Click(ByVal sender As Object, ByVal e
As System.EventArgs) Handles picShippingPictureBox.Click


       'Show Picture.

       picShippingPictureBox.Image = picShippingPictureBox.Image

   End Sub

Private Sub radExpressRadioButton_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles radExpressRadioButton.CheckedChanged


       '        Select  Express Radio Button.


       radExpressRadioButton.Checked = True

   End Sub


   Private Sub radChargeRadioButton_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles radChargeRadioButton.CheckedChanged


       'Select Charge Radio Button.

       radChargeRadioButton.Checked = True








   End Sub




   Private Sub chkVisibleCheckBox_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles chkVisibleCheckBox.CheckedChanged


       'Set Visibility.

       chkVisibleCheckBox.Checked = True

   End Sub

   Private Sub radGroundRadioButton_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles radGroundRadioButton.CheckedChanged


       'Select Ground Radio Button.

       radGroundRadioButton.Checked = chkVisibleCheckBox.Checked = True


   End Sub

   Private Sub radCashRadioButton_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles radCashRadioButton.CheckedChanged


       'Select Cash Radio Button.

       radCashRadioButton.Checked = chkVisibleCheckBox.Checked = True

   End Sub

   Private Sub radOrderRadioButton_CheckedChanged(ByVal sender As Object,
ByVal e As System.EventArgs) Handles radOrderRadioButton.CheckedChanged


       'Select Money Order Radio Button.

       radOrderRadioButton.Checked = chkVisibleCheckBox.Checked = True

   End Sub
End Class


__________
View the list's information and change your settings at
//www.freelists.org/list/programmingblind


__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: