Re: VB. Net String conversion Exception Hanlder message

  • From: "Marvin Hunkin" <startrekcafe@xxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Sun, 28 Sep 2008 23:53:15 +1000

        HI.
yes, the description is accuragteaccurate.
yes, you enter the beginning, ending and the cost of goods, then click the 
calculate button.
cheers Marvin.

----- Original Message ----- 
From: "Ricks Place" <OFBGMail@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Sent: Sunday, September 28, 2008 11:47 PM
Subject: Re: VB. Net String conversion Exception Hanlder message


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


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

Other related posts: