Creating Payroll Calculator With Certain Requirements

Dec 9, 2009

What code to use in a payroll calculator I am making. The requirements are
1. Name of employee.
2. number of hours worked
3. pay rate
4. percentage of state tax.
5. percentage of federal tax.
6. percentage of FICA tax.
How I would go about this.

View 3 Replies


ADVERTISEMENT

PayRoll Calculator On VB?

May 22, 2010

You need to design and create a program that accepts input of employee name, employee type, and the number of hours worked each week for two weeks.You must be able to select an employee type. An employee of type Trainee makes $10 per hour. An employee of type Regular makes $15 per hour. An employee of type Manager makes $20 per hour.The program should calculate the employee�s pay for the week. The employee should receive 1 � times the regular pay for any hours worked over the prescribed 40 hours in a week. The program should output the following information:

Option Explicit On
Public Class Form1
Private Sub GroupBox2_Enter(ByVal sender As System.Object, ByVal e As System.EventArgs)

[code].....

View 3 Replies

VS 2010 Write Code With IF Statements For A Payroll Calculator?

Feb 2, 2012

I am trying to write code with IF statements for a payroll calculator. The first IF statement is getting a bit confusing. I have three text fields that I want to ensure have data before proceeding with the next set of code. This is the part I am not sure I am doing right.

IF IsNothing(txtHoursWorked.Text) OR
IF IsNothing(txtEmpName.Text) OR
IF IsNothing(txtHourlyPayRate.Text) Then

[code]....

View 6 Replies

VS 2010 - Debug - Code For A Payroll Calculator - Gives Me My Own Error Message Box

Feb 3, 2012

I have written the below code for a payroll calculator. When I run the program, it gives me my own error message box no matter if my number of hours fall within the 5-60 hours range as I have stipulated. Is there something wrong with my code? (well, obviously there is something wrong--I just cant find it!)

CODE:

'This program calculates the Gross and Net Pay as well as the Tax Deduction amount of an employee's wages when given the input of Employee Name, Tax Rate, Hours Worked, and Hourly Pay Rate.

CODE:

View 5 Replies

Payroll Calculator - Program Must Calculate And Display The Total Pay In The Total Pay Label

Oct 6, 2010

The pay rates for the project are:

a. Level 1 - $10.00
b. Level 2 - $12.00
c. Level 3 - $14.00
d. Level 4 - $16.00
e. Benefit Deduction Rate - 0.10
f. Overtime Factor - 1.5

For ease of program maintenance, all of the above rates and factors must be stored in module level constants. All references to pay rates in the program must refer to the module level constants.

When the Calculate button is clicked:

a. The value in the Hours text box must be validated to insure that it is numeric value greater than zero.

1. If the value is not valid, a message box must appear as shown below and the user must be offered the option to continue processing or quit the program.

2. If the user chooses to continue processing, the focus must be set to the Hours text box.

3. If the user chooses to quit, the program must close immediately.

b. If the value is valid, the program must calculate and display the total pay in the Total Pay label.

1. The pay rate is determined by which Job Grade radio button is checked.

2. For hours less than or equal to 40, the total pay is the hours times the pay rate.

3. For hours greater than 40, the total pay is 40 hours times the pay rate plus the hours in excess of 40 hours times the pay rate times the Overtime Factor.

4. If the Full Time radio button is selected, the total pay must be reduced by the Benefit Deduction Rate.

5. The value displayed in the Total Pay label must be formatted with a dollar sign and with two decimal
places.

6. The focus must be set to the Hours text box.

Why i get an error when i try to run this code

Code:

Also the message box, both yes and no close the program.....

View 10 Replies

PayRoll Calculator On Vb - Program That Accepts Input Of Employee Name, Employee Type, And Number Of Hours Worked

Sep 30, 2009

You need to design and create a program that accepts input of employee name, employee type, and the number of hours worked each week for two weeks.

You must be able to select an employee type. An employee of type Trainee makes $10 per hour. An employee of type Regular makes $15 per hour. An employee of type Manager makes $20 per hour.

The program should calculate the employee pay for the week. The employee should receive 1 times the regular pay for any hours worked over the prescribed 40 hours in a week. The program should output the following information:

-The employees name without trailing or leading spaces

-Regular hours worked

-Regular pay

-Overtime hours worked

-Overtime pay

-Total pay

The Problem that i am having right now is "Displaying " the overtime hours on my "FORM VIEW" i mean i did the math right its just when i type (lblOverHrs.Text = CDec(CDec(OvrHrsWrkWeek1.Text) + CDec(txtOvrHrsWrkWeek2.Text))

Its says the "OvrHrsWrkWeek1 and 2" are not Declared which are..im not really sure where i went wrong..

Heres my code

CODE:

View 4 Replies

Payroll Calculator : Indicate If The Tax Is At Single Rate (18%) Or The Family Rate Of (15%)?

May 7, 2009

i am trying to indicate if the tax is at single rate (18%) or the family rate of (15%)This is what i got so far i could do the rest but just cant do the Mstatus part.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim Name As String 'Name of employee
Dim hrWage As Double 'Hourly wage
Dim hrsWorked As Double'Hours worked this week

[code]....

View 1 Replies

Creating A Backspace Key For A Calculator?

Dec 2, 2010

i am creating a backspace key for a calculator. first of all a currency needs to be chosen by clicking a button, when for example the is clicked the text is entered into the texbox. But when i use the backspace it deletes here is my code..

Private Sub btn_pound_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btn_pound.Click
'Enable the keypad when the pound sign is clicked,Disable the curency buttons after'
pnl_numbers().Enabled = True[code]....

View 4 Replies

Creating A Calculator/ With Totalling Values

Apr 19, 2009

Since it's been a while since I have done anything in VB and I wasn't that accomplished anyway, I thought I would VB.net (VB 2008 Express) and fiddle around with it. I am in the process of making a calculator, which so far only adds...the other functions will come. The adding is where I am having difficulty. Here is what I've got:[code...]

I am not adding the right things...I know, but I am running out of ideas...too tired, but can't stop now. Just too close to have one function of the calculator working.

View 3 Replies

Creating A Simple Function Calculator?

Dec 8, 2010

i am going creating a simple function calculator, but I had to first do a design documentation proposal. I now have to update the project proposal with a storyboard or list of menu and screen items to delineate my proposed user screen and menus.aside from the calculator itself there will not be any menus.I also have to list any user data inputs and outputs my application will require and produce, which i assume i can put any numbers that the user inputs into the calculator and their results.

View 5 Replies

Creating The Subtract Button On A Calculator?

Jan 7, 2010

I'm completely new to programming and wondered if you could help me. I've designed a simple calculator that can add numbers together but am now trying to create a subtraction button. This seems more complicated, I've searched various forums but am a little confused and wondered if any of you can help or point me in the right direction. Here is the coding I've done for the Add button (cmdPlus):

Private Sub cmdPlus_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdPlus.Click

[Code]...

View 4 Replies

Creating A VB 2008 Change Calculator As An Assignment?

Sep 24, 2010

I am creating a VB 2008 change calculator as an assignment. The program is to use the amount paid - the amount due to calculate the total.(this is working fine). After that, it is to break that amount down into dollars, quarters, dimes, nickels, and pennies. The problem I am having is that sometimes the quantity of pennies, nickels or dimes will be a negative number. For example $2.99 = 3 Dollars and -1 Pennies.

Option Explicit On
Option Strict Off
Option Infer Off

[code]....

View 5 Replies

Creating An Amortization Schedule For Mortgage Calculator?

Feb 17, 2010

I'm creating an amortization schedule for my mortgage calculator and I'm having a problem with a loop.

[Code]...

View 2 Replies

Creating A Mortgage Calculator That Display Continuous Information Depending On User Input

Mar 2, 2009

creating a mortgage calculator that display continuous information depending on the user input such as monthly payments, remaining balances, and interest paid. I am attempting to use a list box and am currently stuck. [code] Please use code tags when posting your code. Code tags are used like so.

View 1 Replies

MS .NET Hardware Requirements?

Jun 9, 2009

it is possible to run MS .NET with the following hardware configuration.

Celeron 1 GHz Processor.
512 MB RAM (SD).
40 GB Harddisk.
Windows XP.

If not then please suggest the minimum and best possible alternatives.

View 7 Replies

Requirements To Run A Console?

Apr 8, 2012

I have written a console app that works fine on my computer. I need it to run on a computer that does not have the complete install of Visual Basic 2010 Express. What are (or where do I find) the steps to install the required files on the second computer?

View 2 Replies

System Requirements Need To Be For VS2010?

Dec 7, 2009

what the system requirements need to be for VS2010? I'm running beta 1 with 4GB internal and I find it very, very slow I can't find any requirements at the Microsoft site.

View 3 Replies

Application Installation Software Requirements?

Oct 1, 2009

I tried to do a test install yesterday on a laptop running Windows Vista Ultimate and I was unable to get it to run without an internet connection because it needed to download additional software. My application may be installed on a client computer that does not have an internet connection and I need to be able to provide this extra software on disk.

View 4 Replies

Checking User Input For Requirements?

Mar 30, 2009

I have text box in my program where I need the user to enter at least six characters. They also need to include at least one alphabetic and one numeric character.My idea is to create a loop that uses the IndexOf string manipulation to check each character. I'm familiar with the IsNumeric method .

View 4 Replies

VS 2003 Requirements To Access Password Protected Database?

Apr 15, 2009

instrruct me how to access a password protected mdb from VS 2003 VB.net

View 4 Replies

Where Is The Payroll Table

Apr 26, 2012

already added the code but I can't find where the payroll table is in order to add the emplyer's name, the hours..etc..

View 4 Replies

Computation Of Tax For Payroll System

Oct 6, 2011

I am working on program in vb2008 and facing problem in making a PAYROLL SYSTEM.. well, I've done some of its parts and functions but the main part of it is still unsolved -- the computation of tax!! our boss want that when you input a basic monthly salary, the semisalary will be computed.. minus the sss, pag-ibig and philhealth.. then the tax will be computed but also depending on the number of dependents the employee have...

Code:
Private Sub semiSalary_click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles semiSalary.Click
If basicSalary.Text = "" Then
MsgBox("Please enter a salary.", MsgBoxStyle.Exclamation, "Invalid")
Else
Dim result2 As Double
[Code] .....

What I've done is that I'm trying to display those values when the the textbox corresponding to it was clicked. We get each value in our database stored on textboxes from the formtables of sss & philhealth.
Attached image(s)

View 5 Replies

Make Payroll System For My Organization?

Dec 7, 2009

i m not able to make payroll system for my organization using vb.net and access

View 2 Replies

Tips For Making Payroll System

Feb 12, 2009

I'm about to start a new project, its a Payroll System, I'll be using VS 2008 and my dbase is MS SQL Server 2k5.I just want have some tips for this kind of project.

View 4 Replies

VB 2008 - Create A Payroll Program?

Feb 19, 2010

We're working in the book "Advanced Programming Using Visual Basic 2008.(Pg.34, Praying that someone has the book) Anyway, I suppose to create an payroll program, I have the layout done. What I having trouble with is the coding, I mean, how do I start? I know how to code the buttons and menus. But, I don't understand how to input the codes for the employees, or allow only #'s to be placed in the text box.The payroll, suppose to be able to calculate the employees Hours, Rate, and Pay. As you can tell I'm a complete noob with VB, just started using the program.

View 1 Replies

Modify A Payroll Application Using An Independent Sub Procedure?

Mar 15, 2009

I am attempting to modify the payroll application below using an independent sub procedure rather than a Function procedure I'm not sure why things are not working after I managed to get the thing to work with the Fwt function. It's got to be something minor that I'm overloking. I get the correct amount for "gross pay and "FICA", but get "0.00" for FWT (it should be 35.78) and I get 369.40 for Net pay (should be 333.62)' This is the "CalcFWT Function" version

Option Explicit On
Option Strict On
Public Class MainForm

[code]....

View 1 Replies

Payroll Application - DataGridView Filter Data

Dec 17, 2011

I'm working with payroll application and I need data grid to view dates from 1/1/2011 to 31/1/2011 and this dates should be change by textboxs out of data grid to choose from where to start and when will end I mean he may change it to 1/1/2011 to 12/1/2011 so the first column will be the dates also second column will be if it is friday or Monday etc. Then 3rd column will be get from sql database table the time of check in and we will use this query.

"SELECT * FROM Transactions WHERE Date LIKE '%" & column1.Text & "%' and EmpID like '%" & TextBox1.Text & "%' and In like '%" & "2" & "%'"

And this number it the end of code will change to 0 and 1 and 3 to get the 4th column and 5th column etc. then next column will subtract time that will be shown in previous columns with times in labels that I'm already got from another table.

View 7 Replies

Make A Vb-access Software For Example Payroll System,marksheet?

Apr 21, 2010

I want to make a software in vb where i wanted to use access as backend.i m very new in this line.please give me a complete code for making marksheet preferebly.

View 1 Replies

Create A Small Payroll System Using Windows Form Applications

Feb 12, 2012

Im trying create a small payroll system using VB.Net windows form applications. The problem im currently facing is when im updating the datagridview. But my update doesnt work. IM using dataset and databinding source. I want to udpate the datagrid view and automatically update the database. [code]

View 1 Replies

Get The First Store To Calculate The Total 5 Payroll Inputs But It Is Only Calculating The First Entry?

Apr 15, 2012

I am trying to get the first store to calculate the total 5 payroll inputs but it is only calculating the first entry I am not sure what I am doing wrong. Also if I click on the cancel button in my inputbox it bombs.

Private Sub calcButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles calcButton.Click
' Dim storeTotal As Integer
' Dim store As Integer

[code]....

View 8 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved