Re: VB. Net String conversion Exception Hanlder message

  • From: "Ricks Place" <OFBGMail@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 28 Sep 2008 09:47:18 -0400

Answer below notes please:
'Calculate the beginning, ending and cost of living, display the average
inventory,  and the turnover.
RtNote: Is the above description accurate in what is saying or do you enter some values and calculate others?
Public Class financeForm
   'Constant Declaration
   Const yearInteger As Integer = 365
Private Sub calculateButton_Click(ByVal sender As Object, ByVal e As
System.EventArgs) Handles calculateButton.Click
'Calculate Beginning Inventory, Ending Inventory and Cost Of Goods
RtNote, do you calculate all of them or enter any of these items?
       Dim beginDecimal As Decimal
       Dim endDecimal As Decimal
       Dim costDecimal As Decimal
       Dim averageDecimal As Decimal
       Dim turnoverInteger As Integer
       'Convert variables.
RtNote:
What are you entering in each text box before you click the Calculate button:
       With Me
           beginDecimal = Decimal.Parse(beginTextBox.Text)
Value Entered = endDecimal = Decimal.Parse(endTextBox.Text)
Value Entered
           costDecimal = Decimal.Parse(costTextBox.Text)
Value Entered
           averageDecimal = Decimal.Parse(averageTextBox.Text)
Value Entered
           turnoverInteger = Integer.Parse(turnoverTextBox.Text)
Value entered 'Calculate Finance Details.
... removed for brevity.
Rick

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

Other related posts: