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
ADVERTISEMENT
Mar 27, 2009
I have this homework assignment where we have to create a pay calculator where you would enter the total minutes worked and the hourly pay rate. and then i have to create the code to show what the total weekly pay would be. I have to display the Hours Worked: and the Leftover minutes: I also know that the formula to calculate the weekly pay is totalMinutesWorked / 60 = hoursWorked and i have to use the Mod operator. [code]
View 2 Replies
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
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
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
Oct 29, 2009
The hotel has 8 floors and 30 rooms on each floor. Create an application that calculates the occupancy rate for each floor, and the overall occupancy rate for the hotel. The occupancy rate is the percentage of rooms occupied, and may be calculated by dividing the number of rooms occupied by the number of rooms.When the user clicks the "Complete Report" button, a loop should execute and iterate 8 times. Each time the loop iterates, it should display an input box for one of the hotel's floors. The input box should ask the user to enter the number of rooms occupied on that floor. As the user enters a value for each floor, the loop should calculate the occupancy rate for that floor, and display the information for that floor in the list box. When the number of occupied rooms has been entered for all the floors, the application should display the total number of rooms occupied and the overall occupnacy rate of the hotel.I have some of the code but I'm not sure which way to go now!
[Code]...
View 14 Replies
Jul 6, 2011
The program is a hotel occupancy form The Hotel has eight floors and 30 rooms oneach floor. I'm supposed to create aapplication that calculates the occupancy rate for the hotel. Theoccupancy rate is the percentage of rooms occupied, and may becalculated by dividing the number of rooms occupied by the number ofrooms. For example, if 18 rooms on the first floor are occupied, the occupancyrate is: 18/30 = .6 or 60%. The form has two out labels called totalrooms occupied and overall occupancy rate that holds two output text boxes todisplay the numbers
its only three buttons Calculate report,close, and exit Its obvious what the exit buttons issupposed to do the clear button should clear all the controls on the floor
Now the complete report button is supposedto loop and iterate eight times. Each time the loop iterates, it should displaya input box for one of the hotel floor. The input box should ask the user asksthe user the user to enter the number of rooms occupied on each floor. As theuser enters a value for each floor, the loop should calculate the occupancyrate for that floor and display the information for that floor in a list box.When the number of occupied rooms has been entered for all floors theapplication should display total number of rooms occupied an overall occupancyrate for the hotel. (the hotel has a total of 240 rooms total)
[code]...
View 6 Replies
Apr 20, 2011
Im trying to create a program that can search files and display the amount of times that it has been encountered, for example it will show the number 4 because it will run into four instances of the word. Im kinda stuck on how to do this,
View 3 Replies
Jul 6, 2009
I am writing this program for class its supposed to be able to accept loan amount interest rate amount and the term of the loan (in years) and then output how much interest you owe and how much in total you owe.
Here is my code:
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form1
Inherits System.Windows.Forms.Form
'Declare Variables
Dim loanAmount As Double
Dim interestRate As Double
[Code] .....
I copied the whole code as to I do not know where the rros are. My error keeps saying 'class' statement must end with a matching 'end class' I got a feeling this is something like if/endif but I cannot find it.
View 7 Replies
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
Jun 7, 2011
1.In a bank fixed deposit rates are given below.
PeriodRate
6 months8%
12 months10%
24 months12%
a.Design Suitable user interface in windows application in VB.NET to calculate interest at maturity. Use Radio buttons for period.
b.Calculate interest at maturity.
c.Calculate total amount at maturity
d.Add a clear button to clear the exiting contents
e.Display an error message when deposited amount is blank
View 3 Replies
Mar 31, 2011
I need to tab over a certain amount of times in a text fileI am using chr(9) for the tab, but I don't want to have to put in a bunch of those.
View 3 Replies
Feb 19, 2010
Private Sub uiSCORE_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles uiSCORE.Click
'Displays Correct or Wrong in Labels
If ui1Textbox.Text.ToUpper = "FOOD" Then[code]....
I finally finished all my labels and textbox codes for this button.But now I have to code it so that I will be able to click the button and it will calculate all the wrong and correct answers in the labels and then finally place the percentage score in the uiScorePercentagelabel. What I dont understand is how to calculate all the different labels as one and then show the percentage right in the appropriate label.
View 6 Replies
Oct 20, 2010
I have made a new form on vb 2010. I need a small box which updates itself automatically to show the amount of years,months,days,hours,minutes and seconds from the 25/6/09. How would i do this in visual basic 2010?
View 3 Replies
Jun 5, 2012
How do I make webbrowser1 refresh a certain amount of times?
View 5 Replies
Mar 29, 2009
I have made an app that the user has to type a number, and i want the process for the app to do this how evermany times the user wishes it to do.
for example, the app is ment to create a line in a text document, so they write in textbox1 what they want written on the line, and then in textbox2, tey say how many lines they want to create.
So,
TextBox1.Text = "BLAA"
TextBox2.Text = "782"
It will create 782 lines of BLAA. not just one...
View 2 Replies
May 23, 2012
I implemented a PagedModel class to wrap around IEnumerable to provide paging data for grids in my MVC app.I used Resharper's auto-generated Equality code telling it to check the data, total rows, page number, and page size fields.[code]I found the call to Equals(other._ModelData, _ModelData) peculiar, as AFAIK, this checks that it is the same object rather than that the contained items are the same. Because my tests were failing anyways, I went ahead and changed it to other._ModelData.Equals(_ModelData) with no success. Then I reflected into it at debug time and found that other._ ModelData.GetType().GetMethod("Equals",{GetType(Object)}).DeclaringType was Object! Obviously, that would result in the failed comparison.I came up with a solution to create a EnumerableEquals method which compares every item in the two enumerables to confirm the are the same, but it seems sloppy. Is there anything I can do to use the normal .Equals method? [code]
View 2 Replies
Aug 23, 2011
upgrade my DAO code to ADO? The following code worked fine in VB.Net for Interop Access 2007.
View 1 Replies
Apr 13, 2011
how to create a code that clicks on a certain product on a web site thousands of times?
View 2 Replies
Nov 25, 2008
how i can make the WebBrowser1 refresh an infinite amount of times really fast and with a click of a button?This is the code i have right now:
Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button2.Click
WebBrowser1.Refresh()
End SubThe above code only makes the webBrowser1 refresh 1 time, but i want it to refresh infinite times with a click of a button.
View 6 Replies
Aug 19, 2009
how to calculate rate for 3 days in different rate like public holiday,weekend and normal for 1 room
View 2 Replies
Mar 25, 2012
How can I speed up a process? I see I should use timegettime, gettickcount, and queryperformance counter, but I have no clue where to start.
I guess you can call it Frame Rate or Refresh Rate of a process?
View 1 Replies
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
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
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
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
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
Mar 3, 2010
I just started with VB.NET using Murach VB.net 2008 book and i want to make this program for my work, please tell me what knowledge needed to make this program beside VB.NET: want to make a program for my supervisor which Lists the name of every employee in our division. the program should be accessed by any computer in our division using LAN. each employee will have user and pass to enter this program they only can view their data with charts showing their attendance, productivity , etc, supervisor will have master account where can edit the info.the supervisor can send private message like e-mail to each employee. all the info should be saved in database so it can be used to compare the employee activity for each year.
View 3 Replies
Apr 2, 2009
[code]what I have done (with some help) is find a timespan. the timespan (between when an employee logged in-out) is, for example, 1:15 (1 hour, 15 mins).the pay rate is 6.00 (representing $6.00)I can't get the program to multiply the timespan by the payrate..Error: 'Conversion from string "02:00:00" to type 'Double' is not valid.'
View 5 Replies
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