Creating A Program For My Workplace Which Stores Hours Worked, Calculates Pay And All That Stuff?

Jun 21, 2010

I'm creating a program for my workplace which stores hours worked, calculates pay and all that stuff.Problem being, the database will be accessed through the network and i want to be able to select the database from an openfile dialog on first use to locate the database. On every program start up it then would have the database location stored within the program itself.

View 1 Replies


ADVERTISEMENT

VB Coding - Program That Calculates Minutes Worked Times Pay Rate Equals Amount Of Weekly Pay

Mar 16, 2011

I am trying to build a program that calculates the minutes worked times pay rate equals amount of weekly pay this is what I got but it doesn't calculate

CODE:

View 3 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

Creating An Application That Calculates Render Times For Maya?

Sep 21, 2010

I'm creating an application that calculates render times for Maya. I kinda got bored of coding all the technical stuff so I started to mess around with the interface. I'm trying to create a combobox color picker.

View 5 Replies

SQL Statement Worked Worked Fine With Access 2007 But Does Not Work In Access 2010?

Aug 23, 2011

upgrade my DAO code to ADO? The following code worked fine in VB.Net for Interop Access 2007.

View 1 Replies

Creating A Variable For Bunch Of Stuff?

Mar 1, 2012

I want to create a variable that will hold bunch of stuff.

I will be using over 50 IF statements (it's a complicated number game) and the IF statements will be something like this.

If something = 1 then
' do this
' then do that

[Code]....

View 12 Replies

VS 2010 - Creating StartMenu And Adding Stuff

Jun 17, 2011

I am looking to create a startmenu like thing in my game, I have my 'desktop' all sorted out but struggling to create a startmenu that I can easily add stuff to via code. For instance when the form starts it will check a directory for DLLS, query each dll which will return a name. I then need to populate this menu with the 'installed' applications my game has. I have a start equivalent button then I just need to the actual menu.

View 1 Replies

Program That Stores Data To A Webserver?

Oct 11, 2011

I wanted to used standard TCP/IP connection using MYSQLconnection. Is this the best way?

View 1 Replies

Make A Program That Calculates The X's?

Dec 25, 2010

I'm trying to make a program that calculates the x's for you using the abc formula. Now i have made it, it gives a value of "NaN" as output. I don't know where i went wrong, so I hoped one of you could help me with it.

Here is the code I made:

[Code]...

View 7 Replies

Created A Program Which Stores And Creates Customers And Orders

Mar 2, 2010

I've been coding in VB.net for a while now, but still have never used the printing features. I've created a program which stores and creates customers and orders etc. I now require to print invoices related to these quotes.Is the following possible within VB.net when printing a document. Images i.e. Logo of company (which i've made already)Table of items orderedTotalshorizontal lines to split-up the design of the invoice/document.

View 2 Replies

Make A Register Program That Stores Data In Online Database?

Jun 9, 2012

My code is the following[code]....

I don't have any errors on the password orr the database!!!I only have errors on the "sqlquary"

View 2 Replies

Create A Program That Calculates The Amount Of Quarters?

Oct 28, 2010

VISUAL BASIC 2008. Program Description: Create a program that calculates the amount of quarters, dimes, nickels, and pennies are needed from an amount of change (entered in pennies). The program should use the largest coins possible (for example, fifty cents should use two quarters, not five dimes, fifty pennies, etc.)

I don't want the code already written out, I need somebody to walk me through making a code. Also, this is my first class dealing with computer programming so all we've learned so far is declaring variables and how to label objects, the simple stuff. I'm at a loss at how to start because a quarter is worth 25 but the program is supposed to show how many quarters once a user enters the amount in cents.

View 5 Replies

Building A Program That Calculates The Number Of Books By Points?

Oct 16, 2011

I am building a program that calculates the number of books by points.Ex: 1-3 books read are worth 10 points, 4-6 are worth 15 and > 6 are worth 20. The issue I'm having is getting it to calculate the the first 3 books, the 2nd 3 books and then the > 6.Ex: User inputs 8 books read. It should display 115 in the label.

1. I'm using an If statement (should I be)
2. Could I use a decimal for the > 6?
Ex: intTotalNumberOfBooks = (intTotalNumberOfBooks * intFirst3Books) *#D

I know this is something simple and it's out of VB 101, but it is my very first programming class and my professor uses a copy paste method during class.

View 10 Replies

VS 2008 Design A Program That Calculates Hashes Of Files?

Apr 16, 2009

Okay, that's not a big deal... I'll implement FileStreams and read bytes performing operations on them. The problem is that if I do this, the program will hang until the hashes have all been calculated. I want the program to show the hashes calculated so far and a progress bar. I know I need to implement this using threads and interrupts, but how, P.S. Any example code, simply for showing the progress of any operation, and involving a thread,

View 1 Replies

Write A Program That Calculates A Bill For Pizza Shop?

Oct 12, 2009

I am trying to write a program that compute the bill for a pizza shop and I cannot figure out what I am doing wrong when I build it there are no errors but when I debug it it will not run [code]...

View 4 Replies

Write A Program That Calculates Amount Due And Provides A Summary Or Rentals?

Nov 16, 2009

I have to write a program that calculates amount due and provides a summary or rentals.Members get 10% off. The program is to calculate the Total rental price then how much the discount is and then the total amount due. Inside a Group box called summary I need the program to display the number of customers (captured each time a member number is enentered) and the total rental income after the discount. I have the follwoing Text Boxes:

In Group Box 2:
memberNumberBox
moviesRentedBox

[code].....

View 1 Replies

Exiting Sub - Program Calculate Fibonacci Sequence Which Calculates Numbers Correctly

Feb 2, 2010

I'm trying to create a program which will calculate the Fibonacci Sequence which calculates the numbers correctly however, there are a few problems.

1. When using a Do While...Loop the program becomes non responsive.

2. Kind of dealing with the program becoming non responsive; I am unable to stop the process by forcing the sub to Exit.

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Operation.Text = "Calculating...."
EStop = False

[CODE]...

View 3 Replies

Program Which Calculates Cost Of Spent Electric Energy For A Number Of Days

May 12, 2010

I am making a program which calculates the cost of (Let's say) Spent Electric Energy for a number of days,defined by the user..I have 2 Date Time Picker and x (The average energy spent in a day) where x must be an integer and it is defined by the user x * (DateTimePicker2.Value - DateTime Picker1.Value) = y (The value to be paid for a number of days)

View 4 Replies

VS 2010 : Write A Program That Calculates And Displays The Depreciation Of A Businesses Assets?

Apr 14, 2011

I need to write a program that calculates and displays the depreciation of a businesses assets.I need the program to read a comma-delimited input file containing the names of multiple assets, their purchase prices, the years of their purchase and the number of years that the assets are expected to be useful.I need to use this straight line depreciation formula- (purchase price / number of years of usefulness) * (current year �purchase year)

View 7 Replies

Make A Program That Edit Stuff On Launcher?

Apr 12, 2011

I am making a customizable launcher for a game.I have already made the launcher. now I want to make a program that can edit stuff on my launcher. A method that Im thinking is make the editor produce a file that the launcher can read.Are you getting what I mean?

There are 2 buttons in the launcher,1 webbrowser and 1 progress bar.The 2 button are links for the users personal website the webbrowser is for the news panel where they can put there news about the game and 1 progress bar for auto updating of the game.

View 1 Replies

Make A Program Which Allows The User To Create Stuff?

Nov 12, 2008

about a week since I started. Now I'll just ask my questions straight away:I want to make a program which allows the User to create stuff, say a survey. What I want them to be able to do is,

1. Decide the headline
2. Decide the layout of the survey
3. Import pictures
4. create new pages, like a form.

And then save this survey to a file which can be opened either by itself or by using some sort of viewer program. And I want the user to be able to put in answers to questions in the survey which wont be visible when you open the file in the viewer program. Now I dont expect you to write the program for me, just give me ideas on how to solve them, where I can learn about methods to get there and so on.

View 12 Replies

.net - Advantages / Disadvantages Of Using C# In The Workplace?

Jun 27, 2012

At a colleague's workplace, a decision is trying to be made about whether to use both languages in the workplace or to standardize on one? There are some VB.Net developers and some C# developers. What advantages or disadvantages would there be to using both or to using one? Edit: To clarify this question, the question is not asking the advantages of one over the other, rather what are the advantages/disadvantage of standardizing on both languages versus standardizing on one. For instance, one point could be that C#/VB.Net may have more third party tools available and hence it may make sense to standardize all developers on that language.

View 9 Replies

VS 2008 Get File Contents To Make Program Do Certain Stuff?

Nov 7, 2009

1)How can I make my program get the contents of a .txt file on my website to tell the program to run or not?Here is and example of what I want:Say the file says "Running", the program would run without problems.If the file was to say "Unavailable", a pop up would appear saying "The program is currently unavailable, try again later." Then once the person clicked OK, the program would close.

2)How can I make the program get contents from a .txt file to get the latest version of the program, then if there is a newer version, there would be a pop up saying there is a newer version and they need to update. Then when they clicked OK, the program would close and it would open their default web browser or Internet Explorer to the update page.

View 4 Replies

C# - WinForms Development Environment In The Workplace

Sep 17, 2010

I'm from an AS/400 (iSeries) background and have no idea about how a team of programmers work within the .Net environment. Lets say a company purchases a new button control. Now, in that company they'll have 5 or 10 developers working with that new control. Its my understanding that even if the control is in the GAC, it must still be copied locally to work on at design-time. My question is, what is locally? Does each developer have a copy on their own PC or is it held centrally on a server?

View 3 Replies

Setup For Hours And Years Slept Program?

Sep 18, 2009

How do you do the code setup for Hours and Years Slept Program

View 4 Replies

Where To Learn To Program Stuff For Windows Like Cd Tray - Desktop - Keyboard

Apr 4, 2009

Where should I go to leanr to program stuff like getting keystrokes, locking keyvoards, changing desktop backgrounds, opening CD trays, changing IE homepage, etc.... Basically everything windows... I'm using VB.NET right now. Is there an api or something to learn for this kind of stuff?

View 10 Replies

VS 2008 Make A Program That "stores" Hardware IDs In A Database?

Nov 1, 2009

I want to make a program that "stores" Hardware IDs in a database.

-How would I get the hardware ID

-How would I add it into the database?

-How do I "host" the database

-If my computer if turned off, will the program still work? (seeing that it needs to connect to a database)

View 2 Replies

Create A Program That Ask The User To Enter The Amount Of Hours Work?

Sep 22, 2009

I have to create a program that ask the user to enter the amount of hours work for 5 diferent projects in textboxes. The user have to enter the time he worked in minutes. Ex: 153, 280, 600, 130, 20... The total then is out putted into a textbox in this format "13 Hours and 35 Minutes" I'm having dificulties making the conversion and the separation from hours and minutes. I understand that the total is divided by 60, but if we fallow the above numbers the total hours comes out to 1183 / 60 = 19.71. So I'm having problems with the .71 mnts or digits... so from this total I have to output the total of in this particular format: "19 Hours and ?

View 2 Replies

VS 2008 - Datediff - Program That Will Count Down The Hours To A Specific Date

Jul 30, 2010

I want to make a little program that will count down the hours to a specific date. I.E. "Hours until: ##/##/##"

Like they do for new year and other big events in the world or whatever but I'm having big problems. I don't know how to use datediff to compare the difference in hours from 1 date to the next.

View 3 Replies

Note Worked Vb App After Formatting?

Jun 15, 2011

I used vb2008 and make a good application and make setup file by advanced installer builder .And install and use one month then I formatted my pc .Then install my application without install vb2008but I get a warning message as

View 1 Replies







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