Make A VB Program To Calculate Retirement Calculater?

Mar 21, 2012

Actually i don't know how to mentions the years of work into the program and i don't know how to calculate the final result. I took a long time try to solve my problem but i can't.this assignment due tomorrow morning.

Public Class Form1
Private Sub btnClack_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClack.Click

[code].....

View 5 Replies


ADVERTISEMENT

Make Program To Calculate The Result Of Brackets?

Feb 18, 2011

if you want to make program to calculate the result of brackets math question , as 6+(9+(5-(1+(2+1)))) , and you made 2 buttons representing ")" and "(" , and you want when the user clicks on the "(" button it just applies that the number before it to be stored in a place like a label such that the program calculates numbers after it and then calculate the produced number and the label number , something will disallow you that the questions with many brackets as the mentioned one above 6+(9+(5-(1+(2+1)))) will for example store 6 and plus sign in a label but after that 6 will be placed by 9 because there is another bracket after 9 , so the question will be calculated false , more clarification for my question is the way brackets are made in the windows calculator so i want a coding idea to make the brackets like in the windows calculator

View 5 Replies

Make A Program That Will Calculate The Height Of A Falling Ball?

Nov 4, 2009

I am trying to make a program that will calculate the height of a falling ball for every .25 seconds starting at 0 and going till the height = 0 or until 10 items have been listed. I have started the code, but it just isnt working out!

Dim h, time as double
Dim aftert as integer
Do While h>0

[Code]....

I get an "expression needed" error from the &time& and nothing is displayed in the list box. Not to mention, I have no idea what to put in the loop or how to limit the list to 10 items or until the ball hits 0.

View 4 Replies

Creating A Program For Which Will Calculate The Time Taken For A User To Make A Number Keystrokes?

Feb 18, 2012

I am creating a program for which will calculate the time taken for a user to make a number keystrokes. I want to start the timer running from the beginning of the first key stroke and end on the final keystroke. Each keystroke has been linked to a label which will change colour according to whether the key has been pressed. When the keystrokes have been finished I want to save this timespan in a field in a database. To test that the timer is running I have made a messagebox which will show the time taken however it is constantly showing zero and the label for the final keystroke is remaining in the keydown colour.

Public Class Form1
Dim dteStart, dteFinish As Date
Dim span As TimeSpan

[code]....

View 19 Replies

Make A Program Calculate The Number Of Comparisons An Insertion Sort Makes?

Jul 15, 2009

I got a list of 16 items and I have sorted them and I want to show the number of comparisons the program had to make using the insertion sort?(in a textbox for example)I mean is there a formula?

View 10 Replies

Make Program To Calculate Textbox1.text And Show The Answer In Textbox2

Dec 22, 2011

I am working on bit more advanced calculator, but I cant figure out how I can make my program to calculate textbox1.text and show the answer in textbox2

For example: (textbox1) 5*62+4
(textbox2)314

I'm not sure this question belong in this topic, but I don't know where else it should be?

View 16 Replies

Make A Program That Will Calculate The Area Of A Rectangle Based On The Length And Width Given By The User

Nov 20, 2009

im trying to make a a rogram that will calculate the area of a rectangle based on the lenght and

width given by the user

[code...]

View 4 Replies

Make Loop In Program And Calculate Time Taken To Complete Loop?

Nov 23, 2011

I am constructing a program, i am new to Visual Basic, but i have past programming experience. I was wondering if anyone knew how to form a loop that could...lets say calculate the answer when two numbers are added together,and it would repeat this thousands of times, etc. And if there is a way, would it be possible to calculate the time taken to complete this loop.

View 5 Replies

Make A Program That Will Calculate Sum Of Consecutive Numbers Between Two Given Numbers

Jun 4, 2012

I'm trying to make a program that will calculate the sum of consecutive numbers between two given numbers. [code]

View 13 Replies

Make Application That Will Calculate All?

May 7, 2012

I am trying to make application that will calculate all that is nessesary for it and show to user a results for x1 and x2. And now I am stucked somewhere:

vb.net
Dim a As Integer = TextBox2.Text
Dim b As Integer = TextBox3.Text

[Code]....

Ok, an explanation for variables: TextBox2 is parameter a (user enter), textbox3 is paramenter b (user enter), textbox4 is c parameter (user enter). I manage to solve result for D , as you know D is all under sqrt root . Now I wanted to solve x1, and there is some error. Where is the problem?

Sry, I found error: TextBox5.Text = "D = " & D & vbNewLine & "x1" = x1 (I didnt add = into quotation marks and it was like i say something = something = something which cant be done XD

View 1 Replies

Calculate Pi In Program?

Apr 26, 2009

Does anyone know how can I calculate pi (π) in VB?

View 6 Replies

Calculate Sum In Program?

Mar 21, 2009

Calculate sum in program? [code]...

View 5 Replies

Calculate Date In Program?

May 15, 2010

I have a two maskedtextbox, one textbox named as masktxtdepostdate and , masktxtmaturitydate, txtnoofmonth.

i changed maskedtextbox property as date, in format "YYYY-MM-DD";

now i need to calculate masktxtmaturitydate after entering the values in, masktxtdepostdate and txtnoofmonth.[code]...

View 2 Replies

Program That Will Calculate FinalMarks?

Sep 12, 2011

program that will calculate finalMarks. Year mark counts 20% to the final mark and ExamMark counts 80% to the final Mark. Using case select: calculate final mark and display appropriate color. If the total is < 45 display color black etc

View 4 Replies

Program That Will Calculate The New Price?

May 4, 2010

I'm doing a program that will calculate the new price. Iv been using a class to put my code their. Iv been getting errors in my form code.

Heres the class code

Public Class Computer
Private _id As String
Private _price As Decimal

[Code].....

View 8 Replies

Program To Calculate Best Fit Line?

May 17, 2010

I have a DataGridView with two columns, X and Y, which are the X and Y coordinates. What I am trying to do is to let the user input some X and Y coordinates, and it will calculate the best fit line.

View 5 Replies

Program To Calculate Depreciation ?

Jan 4, 2012

iam making a program to calculate depreciation (just to apply what I learned) and when I run the program and made the input, I get an error that says "Please input numeric values." Here is the code for the calculate button [code...]

View 27 Replies

Program To Calculate Digits Of Pi?

Mar 11, 2010

I am creating a program to calculate digits of pi, I get two error messages. Value is not a member of Integer. I get this message twice.

View 12 Replies

Calculate Ratio On Startup Of The Program?

Apr 4, 2009

Im making a small tool that helps gamers keep track of their kills and deaths, and their kill/death ratio.I calculate ratio on startup of the program, straight after kills and deaths are loaded off my website.Dim ratio As Decimal ratio = Val(txt_kills.Text / txt_deaths.Text) At the moment, kills = 172 and deaths = 145. Ratio results in 1,1862068. How can I round this number up and turn this into a number with 2 integers after the dot? ( 1.19 ) I tried a hundred things so far but I cannot figure this out.

View 3 Replies

Calculate The Traffic Of Sent And Received Using Program?

Oct 10, 2009

I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received

View 5 Replies

Calculate The Traffic Of Sent And Received Using VB Program?

May 12, 2012

I want just a code that calculate and show the traffic (volume) of sending and receiving to/from internet?

for example, IE is opening a page and IDM is downloading a file ; NOW , how many bytes has been sent / received?

View 2 Replies

Construct A VB Program That Will Calculate Dog And Cat Ages?

Mar 11, 2009

I am going to construct a VB program that will calculate dog and cat ages, i plan to have a user interface to ask the user if they have a cat or a dog, then id like another window appear to ask how many human years of age is your dog/cat, up to the age of 20 (in human years) with that input the calculator will give you the age equivilent in dog/cat years.

View 1 Replies

Program To Calculate Loan Using Dates?

May 2, 2009

i'm making a program to calculate loan using dates, the customer borrows an item on a particular day and returns it on a given day else he would have to pay a certain amount of fine per day, which starts from the date of return if the user returns the item 1 day after the Date of Return, he pays a fine of 50pence if the user returns the item 3 days after the Date of Return, he pays a fine of 25pence per day if the user returns the item 10 days after the Date of Return, he pays a fine of 10pence per day and if the user returns the item 30 days after the Date of Return, he pays a fine of 5pence per day i did something like this, but it's not producing the required answer

Dim returned As Date
Dim due As Double
Dim fine As Double

[Code]....

how do i format a datetime in a textbox?

View 3 Replies

Write A Program To Calculate Temperature?

Nov 9, 2009

Option Explicit On
Option Strict On
Option Infer Off

[code].....

View 4 Replies

Calculate Average Of Excel Table Using Program?

Jun 8, 2011

I want to calculate the average value of excel table readings 1 hr once... how do i import the sheet and how do i calculate the avg in vb.net?

View 4 Replies

Create A Program To Calculate Math Grade?

Feb 19, 2010

I ma trying to create a program to calculate my math grade. The way my math teacher explained the grading scale was each test is worth 1 point and each quiz is worth .2 points.

So as an example (add both sides up then divide by both sides)

100 =1
80 = 1
15 = .2
18 = .2

213 divide by 2.4 which equals your grade of 88.75

There are more quizs and tests in the semester and I want the numbers to change with the number of quizs and tests entered. The only problem is I am not sure how to code it. I though I would use IF AND statements but I am not sure where to start.

View 8 Replies

Designing And Coding A Program To Calculate Commission And Pay?

Jan 29, 2010

I am designing and coding a program to calculate commission and pay and I have chosen to use menu items to do the calculations. I have written most of the code but I am seeing a few syntax errors that I do not understand.here is the code...

[Code]...

View 5 Replies

Press Calculate The Program Should Display The Change

Sep 8, 2011

It is a cashier change return where the user enter the amount owed and the amount paid and when he/she press calculate the program should display the change due as well as the number of Dollars, Quarters, Dimes, Nickels, and pennies returned to the customer. When I run the program sometimes it gives me the right output and others it gives wrong output and it rounds the output. I just want to let you know that I have the option strict on. I will paste the code below

CODE:

View 1 Replies

Program To Calculate The Total And Average Rainfall?

Feb 14, 2010

For my programm I was told to do a programm to calculate the total and average rainfall. I have done so, but now I am supposed to use two function procedures to calculate the total and average rainfall. I can not seem to figure it out and it is very frustrating.

[Code]...

View 5 Replies

VS 2005 Make The Calculate Funtion Work Up Selection Change In Combobox?

Nov 21, 2009

I have a calculate function that adds twenty text boxes together a+b, etc... 20 +20, B changes value when a selection in combobx is changed, how can i make the calculate funtion work up selection change in combobox ? You would think the selection change or index change , but that doesnt work because the tetbox doesnt actually get the new value till after the combo selection is made, so you actually have to go and make the selection twice I know i can put the code in the textbox value change , but i dont want to do that for 20 text boxes and i am assuming there must be a BETTER way?

View 1 Replies







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