Netlinkaccess - All about Payroll Services and Accounting
*Home>>>Payroll Program

Payroll Program Help 2 (Visual Basic.Net)?


The Calculate button, calculates the Profit or Loss by subtracting the cost from the selling price. Use the FormatCurrency() function to display Profit or Loss. The Commission is calculated by multiply 0.2D times the Profit or Loss. If there is a Loss, the Commission is set to $0.00.Use the FormatCurrency() function to display theCommission. You MUST use a constant which will contain 0.2D.
Public Sub CalcProfitLoss()
Dim decSellingPrice As Decimal
Dim decCost As Decimal
Dim decProfit As Decimal
Dim decLoss As Decimal
If decSellingPrice - decCost > 0 Then
decProfit = decSellingPrice - decCost
lblProfitorLoss.Text = FormatCurrency(decProfit, 2)
lblCommission.Text = FormatCurrency(CalcCom(decProfit), 2)
Else
decLoss = decSellingPrice - decCost
lblProfitorLoss.Text = FormatCurrency(decLoss, 2 lblCommission.Text = FormatCurrency(CalcCom(decLoss), 2)

I got help on this part but it when I hit the cal button nothing happens.

You need to put the call in the calculate button click event.

Tags
  Payroll Card   Payroll Tax   Payroll Accounting   Online Payroll   Adp Payroll   Payroll Program   Payroll Software   Payroll System   Payroll Processing   Payroll Services
Related information
  • Visual Basic .Net Payroll Program Help Please?

    You still have to create the button and text boxes yourself and rename the function or txt... variable names to what you need. Hope that can get you started: Public Sub CalcProfitLoss()...

  • How do i configure my payroll program in SQL server 2000.?

    Much too vague to answer, I'm afraid... Does your payroll program support SQL Server 2000? (Is this payroll program something you've bought? In which case what is it called? Or is it ...

  • What kind/ which program should I use to print payroll checks for a home based business?

    Office depot has pages for checks like the ones that come off of Quickbooks.

    ...
  • State that a program performs a sample payroll calculation (i.e., use text that helps to doc a prog ) in c#?

    Here is the C# adaption: using System; public class Payroll { public static void Main(string[] args) { // Prompt the user to input stuff Console.WriteLine("Enter an employee's ...

  • I want to maintain payroll in Tally 9 program , how can I ?

    Put the information in the Tally 9, and if it does work, take your Tallywhacker out and beat it.

    ...
  • How to make a program for payroll?

    you should use microsoft access.

    ...
  • How does a payroll draw program work?

    You set a specific draw amount, say $1000 a month, which would be $461.54 per paycheck if you pay every 2 weeks. When the employee's calculated commissions go over that after closing the mont...

  • Any one know where i can download a sage line 50 training program and also a sage payroll program?

    ...

  •  

    Categories--Copyright/IP Policy--Contact Webmaster