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


ADVERTISEMENT

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

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

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

Create A Simple Payroll Report With Viusal Basic 2010 Express?

Feb 9, 2011

Where can I see an example to print a formal (aligned) report with data that I have in an array[100,5]ypical example: a payroll report with the columns "NAME", "ADDRESS", NUMBER OF HOURS, SALAR PER HOUR", TOTAL SALARY

View 1 Replies

Simple Payroll System - Program That Shows Connection Of Database(sql Or Access)

Mar 4, 2010

I think its better if i attach my files for you understand what i wanted to happen in my program.

We are now in our finals and for our project we need to make a program that shows connection of database(sql or access) and vb.net so dont mind if it has a problem in design or anything bcoz the objective of this project is to show what we've learn in our subject IT Programming 1 (vb.net)

I dont know what to do in this part of my program. what to do first? why is it attaching zip files is not allowed?

View 4 Replies

Calculator / Add A Beep?

Jan 22, 2010

I have this:

If (TextBox1.TextLength > 16) Then Return

But I want to add a beep to how can I do it? I mean I can only Return and I want to use Beep() too.

View 6 Replies

Add Numbers In A Calculator?

Jan 29, 2009

I've made a simple calculator, everything works except for the adding (+) function. Such as 3 + 4 = 34 (which it doesn't). It takes it as a string, rather than a number.

Here's what I have so far:

CODE:

Again, the problem is the adding is not functioning.

View 1 Replies

Add Tax On A Simple Calculator?

Oct 11, 2009

I am doing a tutorial for a simple calculator. My question is how can I add code to make a botton that add my tax % to the total amount I have.

Option Explicit On
Public Class Form1
Dim firstnumber As Single

[Code]......

View 1 Replies

Calculator - Comma / Dot Appear Only Once

Dec 7, 2009

The comma/dot may appear only ones. How do I modify that within this code??
bpuntingedrukt as boolean
Private Sub VoegCijferToe(ByVal sCijfer)
If Len(lblDisplay.Text) > 15 Then Exit Sub
If sCijfer = "0" And lblDisplay.Text = "0," Then
[Code] .....

View 24 Replies

Calculator And Exe.file?

Jan 11, 2011

Okay, i have two questions i will merge into one.I am using Express, just in case its important

First of all, i am trying to create a calculator using Visual Basic, which will end up being a lot like the 'Calculator' application built into all Microsoft computers.

I am having trouble however, with adding more than one thing to a text box.

[Code]...

View 13 Replies

Cannot Get A Calculator To Work

Jun 18, 2012

i have to finished a cacluator, all my code seems to be working apart from the equals button and i do not understand why..i've tried several different things such as a case too but nothing seems to work to get the equals button working. This is my code, no need for all the buttons they are the same and ive declared variables.

[Code]...

View 2 Replies

Day Of Week Calculator?

Mar 30, 2012

Sorry in advance. I emailed myself my coding since I don't have vb on my personal computer. Sooo, the format is going to be off. But my program allows the computer to generate a random date. The user has to guess what day of the week the random date lands on. I have written the whole code. It all works except when user checks his/her answer. The answer always comes up as incorrect. Here is the coding:

[code]...

View 5 Replies

Dosage Calculator In C#.net?

Jul 13, 2009

I want Dosage Calculator in c#.net for my module completion.

View 2 Replies

How To Build A Calculator

Dec 17, 2009

I want to build a calculator, i want to learn vb.net myself so i contacted you.

View 2 Replies

How To Code The Calculator

Apr 3, 2009

how to code the calculator?

View 2 Replies

How To Design A Calculator

Jun 22, 2010

How can i design a calculator?

View 2 Replies







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