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


ADVERTISEMENT

Create A Program That Takes An Amount Entered By The User And Then Convert It Into Half Dollars?

Oct 13, 2010

Im trying to create a program that takes an amount entered by the user and then convert it into Half Dollars, quarters, dimes, nickles, and pennies when the calculate button is clicked. Each coin has its own function and is shown in separate text boxes... right now i cant get it to work correctly. When i try to get half dollars to work it rounds up and then the rest of the coins say 0. How should i do this?

View 5 Replies

Create A Program Which Will Allow The User Enter Ten Numbers?

Nov 5, 2009

5. Create a program which will allow the user enter ten numbers. The program is to count how many numbers were above 50?

View 1 Replies

Create A Simple Times Table Program Which Will Allow User To Enter An Integer Value

Jan 22, 2010

could anyone please help me with this1.Create a simple Times Table program which will allow the user to enter an integer value n (between 1 and 20) into a textbox. On the click of a button output to a label the n times tables. Use a For Next loop to perform the repetition.i can output them to a list box but only last one to a label ive been stuck for 3 days.

View 8 Replies

Create A Program Which Promps The User To Enter An Unlimited Number Of Test Scores

Jul 7, 2011

Create a program which promps the user to enter an unlimited number of test scores. The program should show the high score and the low score. You should use a loop of your choice within this program. The program should look similar to the one below:

View 3 Replies

Application That Allows User To Select Or Enter Into A Combo Box Number Of Days A Person Will Work

Oct 28, 2009

Create an application that allows the user to select or enter into a combo box the number of days a person will work, and calculates the total amount of pay she will receive over that period of time. Salary is one penny the first day, two pennies the second day, four pennies the third say, and continuing to double each day.

The combo box must list the following items: 30, 180, 365, and 1000. Must be the default drop down box. Use a validating event procedure on the combo box.

The program should go through a loop once for each day, doubling the number of pennies with each iteration of the loop. You will need a running totl of the number of pennies that you add to with each iteration. To calculate the total amount of pay, multiply the total number of pennies by .01 and show the result in currency format.

Public Class Form1

Private Sub ComboBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ComboBox1.SelectedIndexChanged

[CODE]...

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

Enter More Then 25 Hours Value?

Jun 16, 2009

I have DGV like parent form and detail form like child. I want to give ability to user enter time in detail form in format like HHH:mm, save that value in database and display it in DGV.How to format timepicker or maybe need to use other control to have ability enter time data in format like HHH:mm?

View 4 Replies

Allows A User To Select A Program To Run At A Certain Time For A Specific Amount Of Time All Choosen By The User

Jul 1, 2010

I have a program that allows a user to select a program to run at a certain time for a specific amount of time all choosen by the user. Everything works with the exception of if my program has launched the other program, my program become non-responsive. Meaning I am not able to look at that window again. Not that one really needs too, because when time is up my program closes the program it opened, then closes itself. I just want to be able to see my program when the other program is running. how to do this and perhaps drop me some links, that would be wonderful. This is what I have coded, but like I stated there are no code errors.

[Code]...

View 5 Replies

Get Amount Of Money User Has And Doesnt Go Over Amount Hechecked

Jun 7, 2011

im trying to make a fast food program on which the user will input the amount that he has, then he will check on what he wants, by using check boxes. There are 7 different check boxes with 7 different amounts of money. I have the program somewhat finished (thanks for the people that helped me before) but theres still a couple of things that I still need to get finished but I dont know how to.I need to be able to get how much money the user has (this will be entered threw a text box, I think I accidentally messed this part up, because I cant get it to work right, (theres alreasy a permit amount of money in there and it needs to be what the user enters instead of the permit, 5.59, one) and this will be the maximum amount he can spend, then the user will check on the food he wants (and the program will add the sales tax also) then it will produce an answer saying if you have enough money or if you dont. But what im confused on is how do I get the users amount of money and make it the maximum mount he can spend and make sure it doesnt go over the amount that he has checked.[code]

View 1 Replies

Small Box Which Updates Itself Automatically To Show The Amount Of Years,months,days,hours,minutes And Seconds?

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

Communications :: Create Program That Will Keep Track Of Amount Of Data That Has Been Received

Oct 31, 2008

I want to create a program that will keep track of the amount of (network/internet download) data that has been received, but I have know idea how to go about doing it.Where would be a good place to start with this type of development? Or could some one give me example code that will get me started.

View 1 Replies

Create A Program That Can Search Files And Display The Amount Of Times?

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

Create A Small Application That Will Force User To Enter An Even Number?

Oct 5, 2011

I need to create a small application that will force a user to enter an even number but i MUST use a loop. Here's what i've come up with:

Quote:

Dim bynombrepair As Byte
bynombrepair = InputBox("Entrez un nombre pair")
If bynombrepair Mod 2 = 0 Then

[Code]....

View 1 Replies

Create An Application That Allows A User To Enter Three Test Scores Each For Three Students?

Sep 30, 2009

I am a new user to VB and I am having difficulty with one of my assignments. The assignment states that to create an application that allows a user to enter three test scores each for three students. The application should calculate each student's average test score and assign a letter grade. The application should prompt the user for each student's name and three test scores.

[Code]...

View 3 Replies

Create An Application That Allows User To Enter Number Of Tickets Sold

Apr 16, 2012

i'm having a bit of a hard time on setting up the calculations.There are three seating categories at a stadium. For a baseball game, Class A seats cost $15, Class B seats cost $12, and Class C seats cost $9. Create an application that allows the user to enter the number of tickets sold for each class and the total revenue.

View 3 Replies

Create Form Where End User Enter Folder Location For Download?

Aug 5, 2009

I currently have a program that allows users to download files into a folder of there choice. I currently have 10 different forms all with a text box to show folder location and a browse button for user to find it, but what I want to do is create a form that will appear at the start where the end user can enter the folder location so that they don't have to enter the folder path for every download they want to do. How would I go about doing this I have a textbox, browse button and an OK button but have no idea what to do next.

View 1 Replies

VS 2010 Create An Application That Lets A User Enter As Much Grades He Wants?

Oct 5, 2011

I have to create an application that lets a user enter as much grades he wants. The grades are between 0 and 100 and they can't be negative. Whenever the user type -1, the application is done and it shows the average of the grades, the lowest and the highest grades.I absolutly have no idea where to start but i must be using loop/do/while.

View 4 Replies

Program That Allows The User To Enter A Month And A Number Of Years?

Jun 10, 2011

program that allows the user to enter a month and a number of years. (e.g March and 10 years) The program then displays all the months of the year from the entered month in a loop that runs as many times as the number of years.(e.g March April May.....December January February March....)

View 1 Replies

Create An Application That Prompts The User To Enter Today's Sales For Five Stores?

Feb 18, 2009

I have to create an application that prompts the user to enter today's sales for five stores. The program should then display a simple bar graph comparing each store's sales. Create each bar in the bar graph by displaying a row of asterisks (*) in a list box. Each asterisk in a bar represents $100 in sales. I have to make two different versions of this program. One using a "do while ... loop" and the other using a "for ... next loop". Could someone give me a hint on how to do this. I the "do while ... loop" version and I have had some problems, especially with converting the numbers to asterisks.

Private Sub btnDisplay_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnDisplay.Click
'Clear everything

[code]....

View 5 Replies

Create An Application That Prompts The User To Enter Today's Sales For Five Stores?

Jun 5, 2011

this is my first vb. and i have assignment and i have been trying for hours but i couldn't do it right I have to create an application that prompts the user to enter today's sales for five stores. Create a loop to prompt for an amount for the first store using an inputbox and do not exit until you have good data. The inputs cannot be negative or greater than 5000, but may contain decimal values. The program should then display a simple bar graph corresponding to the amount of sales using a row of asterisks (*) in a listbox. Each asterisk represents $100 in sales. Display the total of all the stores by looping this process for each store.

[Code]...

View 2 Replies

Designing A Windows Based Computer Program That Will Allow A User To Enter Some Number (n)?

Dec 10, 2010

I need designing a Windows based computer program that will allow a user to enter some number (n) and a choice of a count up or count down for that many numbers. So for example, the user enters 5 as their number and selects the count down option, the message box displayed would contain the message: "Here are your numbers: 5,4,3,2,1,0"

View 7 Replies

Write A Program In 2008 That Allows The User To Enter In Information About A Video Into Textboxes?

Apr 30, 2009

I need to write a program in visual basic 2008 that allows the user to enter in information about a video into textboxes and from there it needs to be sved to a file. The user also has the option to search for a video in the collection by name and the info for that video should go to the textboxes. how i can do this?

View 2 Replies

Simple Math - How To Work Out Hours Within Time Frames

Feb 9, 2012

So i know this is more Math related but it would make life so much easier. What i want to do is enter 2 times into 2 text boxes and then subtract them from eachother to find out the hours inbetween as a decimal.

View 8 Replies

Create A Console Application That Lets A User Enter 20 Names And Then It Sorts Them Out Alphabetically In Order?

Mar 25, 2012

I need to create a console application that lets a user enter 20 names and then it sorts them out alphabetically in order and then displays them.

Module Module1
Sub Main()
Const names As Integer = 20
Dim index As Integer

[code]....

View 2 Replies

VS 2008 - Code Error On Tax Calculating Program - User Enters The Item Name And Amount Of The Item Purchased

Feb 9, 2010

So i've to write this program whose purpose it this:

Purpose: The user enters the item name and amount of the item purchased. The program calculates the tax for the item and the final total, and then displays these values. Tax on all items will be 7.75%.

And so far i've this code but it's not working:

' Program: Cash Register
' Author: Nidhi Shah
' Date: February 2, 2010
' Purpose: The Cash Register Window application will
' computer the tax and the final cost of a
' purchased item.

Option Strict On

Public Class frmCashRegister
' Tax per item - used in multiple procedures
Const _cdecTaxPerItem As Decimal = 0.0775D

[CODE]...

View 6 Replies

Make Program Application Work As Multi-user?

Jul 25, 2007

I am developing a VB.Net application. That application might be working on a LAN. MS Access as a backend will be used.

I have developed many single user applications, but don't know of multi user , LAN, manage DB etc. How do I make the program as Multi user on LAN. Data will be accessed at the same time. How to mange such things.

View 5 Replies

Create An Error Message By Message Box To Tell The User To Enter A Number Only If They Key In A Character Value?

Feb 22, 2009

how to create an error message by message box to tell the user to enter a number only if they key in a character value?

I MEAN AFTER THEY PRESS THE CALCULATE BUTTON

Private Sub btnCalcFat_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCalcFat.Click
Dim intFat As Integer
intFat = Integer.Parse(txtFat.Text)
lblResultDisplay.Text = txtFat.Text * 9
End Sub

My text box is call txtFat

View 3 Replies

VB2008 Program - Enter A Data That Enter In Textbox To A Datagridview?

Aug 29, 2010

how to enter a data that i enter in textbox to a datagridview... for example i enter in the textbox is round and when i click add it will go to database... im using ms access database

View 1 Replies

Array (parallel) - Allow User To Enter A Score And The Program Returns A Grade Based On The Score Entered

Apr 14, 2012

Haveing troubles with an assignment. I am writting code that will allow user to enter a score and the program returns a grade based on the score entered. I can get it to work using "IF" statements but want to use code for ranges. My "IF" code is as follows.......

[Code]...

View 1 Replies







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