Creating A Mortgage Calculator That Display Continuous Information Depending On User Input

Mar 2, 2009

creating a mortgage calculator that display continuous information depending on the user input such as monthly payments, remaining balances, and interest paid. I am attempting to use a list box and am currently stuck. [code] Please use code tags when posting your code. Code tags are used like so.

View 1 Replies


ADVERTISEMENT

Creating An Amortization Schedule For Mortgage Calculator?

Feb 17, 2010

I'm creating an amortization schedule for my mortgage calculator and I'm having a problem with a loop.

[Code]...

View 2 Replies

.Net Calculator - Allow The User To Select Which Way They Want To Calculate The Mortgage

Jan 1, 2009

Write the program in VB.Net (not Web based) with a graphical user interface. Allow the user to select which way they want to calculate the mortgage: By input of the amount of the mortgage, the term of the mortgage and the interest rate of the mortgage

[Code]...

View 2 Replies

Control Display Of Several On-screen Elements Depending On A Single Value Input By A User

Aug 3, 2009

I am new to VB and seeking to create a visual basic program which controls the display of several on-screen elements depending on a single value input by a user. The user can enter anyone of 2500 values and depending on the value entered, five different display elements on the screen will change color or text. The program's response to a given input value never changes, in other words if the user enters 279, the five different display items will always be the same. However, there is no real pattern to the display items that would allow for programming an anticipated response to the input value.

My thinking is to create a large and ponderous "lookup table" in visual basic - I am assuming this an be done but perhaps there is a different or better method. I plan on creating the lookup file in Excel but was assuming I'd need to export it to something that VB could easily read. Any suggestions on the best way to do this? Does the lookup table reside as a separate .txt files someplace or something like that? [Code]

View 2 Replies

.Net Mortgage Calculator W/ Array And Loop

Jun 3, 2010

I am here again begging for help with homework. I have to write this program to display three mortgage payments simultaneously using an array for three types of loans, that part of my program does work... Then I must amortize all three loans at once using a loop for comparison so the user can see: [code] I can't get the amortization to show. [code]

View 7 Replies

Mortgage Calculator : How To Pause A Loop In .net

May 19, 2011

I am having a problem trying to pause/hesitate my loop for a couple of seconds and then iterate through the loop, but pauses every 10th iteration. I have my loan amortization displaying correctly but cannot get it to pause to list only 10 items at a time. 'This section uses the for loop to display the Loan Balance and Interest Paid over the Term of the Loan.

Dim counterStart As Integer
For counterStart = 1 To LoanTerm
'Performs Calculations for Amortization of loan.
InterestPaid = LoanAmount * InterestRate

[code]....

View 5 Replies

Mortgage Calculator Using Functions And Sub Procedures?

Nov 23, 2011

For my enterprise computing course we were asked to re-due a previous project which was a mortgage calculator that calculates your monthly payment except now using function and sub procedures.

[Code]...

View 2 Replies

Program - Vb - Create A Mortgage Calculator ?

Nov 8, 2011

I'm taking an introductory programming course, and am completely flummoxed as to what I'm doing wrong with my program. The problem seems to be in my arithmetic, as the program runs fine; it just doesn't produce the correct result when compared to the professor's control model.

I need to create a mortgage calculator, using the following formula: monthly payment = interest rate * loan amount * ( (1+ interest rate) ^ months) / ((1+interest rate)^months)-1) )

We have to use that formula, no other one. If anyone can spot an error in my code, please let me know what I've done wrong!

The code I've written is as follows:

CODE:

View 1 Replies

Have A Multiple Form Project That Is A Mortgage Calculator?

Feb 7, 2010

I have a multiple form project that is a mortgage calculator and I am having trouble with my Payment Numbers. One of the things I am listing in the amortization table is Payment #. The variable for that is Lyears. It seems like Lyears is set to 0 so it continues and never stops.

Public Class Week3Calc
Private Sub Button3_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles CalcBtn.Click
Dim MonthlyRate As Double 'Initiates variable
Dim YearRate As Double 'Initiates variable

[code].....

View 4 Replies

SQL Stored Procedure - Insert Data Depending On User Input

May 13, 2011

I created a sql stored procedure that will insert data for me depending on user input. Now I would like to know usually I would do something of this nature

Dim con As New SqlConnection(connectionString)
Dim cmd As New SqlCommand("usp_userinput", con) 'references connectionstring and calls store procedure
cmd.CommandType = Data.CommandType.StoredProcedure 'sets default to be storeprocedure
lblMessage.Text = String.Empty
With cmd.Parameters
If (Session("UserInitials")) IsNot Nothing Then
.AddWithValue("@UserInitials", Session("UserInitials").ToString())
End If
End With

That is just an example how i usually approach calling the stored procedure in vb. However for this particular form I am going to have 50 or 60 textboxes which each one would require a session state variable.Seems a little tedious to have to create a session state variable for each textbox on the form.

View 1 Replies

Mortgage Calculator Application : Write/program VB Programs?

Mar 15, 2009

how to write/program VB programs. However, I'm stuck on the mortgage calculator application. Whenever I run the program, I come up with an error stating "Argument 'NPer' is not a valid value." which refers to the Pmt function in the code.

'Dim monthly As Double ' monthly payment rates
Dim years As Double 'total # of years
Dim rate As Decimal 'annual rate
Dim months As Integer

[code]....

View 2 Replies

Creating User Input With Textbox.text Input Then Displaying In Messagebox?

Feb 19, 2012

If my Category and Forum selection is incorrect I am sorry and feel free to move it. I'd like to have the users input in the message box that will show. For example: There is a textbox and the user puts in their name as Bob. Then the message box would be: What my main goal is, is being able to include the users input they type inside the textbox inside the message box.

View 6 Replies

Standard Deviation Calculator - Random Number Of Numbers Input By User

Feb 19, 2011

Im working on writing a program for doing standard deviation and as of right now im running into one slight issue with subtracting my mean from the original numbers. I will post most of my code so you can get an over view but i mostly just want help on this one little part for now. Im going to be making a website for school and put some programming stuff on it so i wanted to make just some random programs for it so this is school related but not really homework. It's line 26 and 27 that this is relating to. When i put a stop in my code and look at the result of arrayDifferences it gives me 0.0 when it should be -1. I know i can go this route and say arrayDifferences(1) = arrayDifferences(1) - arrayAvg but seeing as how i want this to be a random number of numbers input by the user i cant do that.

CODE:

View 4 Replies

Develop A Simple Math Calculator That Will Allow The User To Input The Right-hand-side (RHS) Of An Equation Into A Textbox?

Dec 12, 2011

I am trying to develop a simple math calculator that will allow the user to input the right-hand-side (RHS) of an equation into a textbox on the application and have the application evaluate the expression for a given value of x, which is also input
into the application by the user via another textbox.For example, if the user wants to evaluate the following expression,

y = 3 + 4*x + 5*x^2

then they would input into the textbox the RHS of the equation

3 + 4*x + 5*x^2

and then enter a value of x into the another textbox and click on the calculate button.I tried this:

answer = EquationTextBox.Text

but it doesn't work.

View 6 Replies

Write A Program That Allows User Input Information?

Jan 30, 2012

I am trying to write a program that allows user input information and plot a bifurcation diagram that looks like this:I haven't program in 2 years:sick: so I am all rusty and such. Here is what I have got so far and more information about what I am doing.

Bifurcation:
f(x) = kx(1-x)
and k = xL + i * (xR-xL) / 500

when i runs from 0 to 500, it plots (i, f(seed)), (i, f(f(seed)), .... up to the boundary number.Here is what I have got so far. Everything seems normal, however, I am really confused when it comes to plotting.

[Code]...

View 1 Replies

Forms :: Creating Usercontrol Which Gets Input And Display The Numbers?

Jul 12, 2009

Am working on a project like a office automation. The problem am displaying the balance amount using lables.But i want to display the numbers like we see in calculators...

One way to do that creating usercontrol which gets input and display the numbers.

View 3 Replies

Cannot Display Lengthy Mortgage Payments?

Oct 9, 2010

I am creating a mortgage calculator using Visual Basic Express version. I am currently using the Console method, or command window view. I have it set up so the user can input the mortgage/loan amount, interest rate, term (in years), and have the formula for calculating the monthly payments.The problem I am having is that I need the program to display "all" the payments for the term of the loan, the loan balance/interest paid, and depreciating after each payment. The program should display a certain amount of payments, hesitate, then continue to display until it shows the end of the term of the loan. Basically, it is now an amortization loop formula I am trying to implement into the program.

View 3 Replies

Creating A Program That Will Input A Number In A Textbox For Example 5 And Display 5 Textboxes In Form?

Sep 10, 2009

I'am creating a program that will input a number in a textbox for example 5 and display 5 textboxes in form...I have no idea how to do this but here is the code i've done..

textbox1.text = val(textbox1.text)

'i don't know what to do next..

View 1 Replies

Display Multiples Of A User Input?

Dec 2, 2010

I need to display multiples of a user input ex user input = 1

1*1=1
1*2=2
etc through 10

I got it to display the last one, 1*10=10, but nothing else...I don't see what i'm doing wrong..

[Code]...

View 2 Replies

[2008] Creating A User Tool For A Game - Simply Shows Information About My Own Character

Feb 23, 2009

I am creating a user tool for a game I am playing (NOT a hacking tool, it simply shows information about my own character). I have a template of what I need to do with the data I recieve, here is the code, it is coded in PHP

function decode_style($r) {

//get gender
$gender_array = array('Male', 'Female', 'Male 2','Female 2','Male 3', 'Female 3');
$style['Gender'] = $gender_array[round($r / hexdec(4000000))];
//GET AURA

[CODE]...

Ok, I understand PHP a bit (As you know one programming language you can understand just about any) and this is what I have created from this

Dim Style As Decimal
Dim Rank, RRank As Decimal
Dim Gender, RGender As Decimal
Dim Aura, RAura As Decimal

[CODE]...

As you can see, it is receiving a single piece of data from a remote SQL server, I then need to run this data through the above calculations (Seen in the PHP file) although the answers I'm getting are incorrect.

Here are some simple instructions I got in what goes on between values:

gender :
PHP

[CODE]...

aura:
PHP

[CODE]...

View 1 Replies

Ask User To Input The Number Of Textboxes To Display

Feb 15, 2011

I was about to create a program about CPU Scheduling (SJF Nonpreemptive), Now, I want to ask the user to input the no. of processes ,then based from the user's input I would display exact no. of text boxes where the user could enter the value for each process then store it in an array. But I don't know how to code the text box., I'm new to VB.net and I'm used to it's 'drag and drop' nature. I just want to know how the code to output this text boxes. and is it possible to have an array of text boxes?

BtW I'm thinking of using 2 forms here

Form 1 for the USER INPUT OF THE NO. OF PROCESSES

Form 2 for the output of TEXT BOXES

View 4 Replies

Display All Even And Odd Integers Between 2 User Input Numbers?

Mar 23, 2009

using for...next loop the program is supposed to accept 2 user inputed integers and display all even numbers between the two in one label and all odd numbers between in another label.

Private Sub displayButton_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles displayButton.Click
' displays the odd and even numbers between two integers
Dim intNum1 As Integer

[code]....

I'm not exactly sure what this code is doing. When I put 1 in the first number and 10 in the second number, the odd label only shows 9 and the even label only shows 10. Another example is when I put 2 and 15, the odd label comes out as 15 and the even label is 14. I'm very new to VB and programming in general and have just started getting into for...next loops and don't fully understand what the counter is or how the loop is supposed to work. I guess I'm having 2 problems. One is that I don't know how to make the program find the right numbers(my logic is off? or how I set up the loop isn't right?) and the other is the labels are showing only 1 number each instead of all the numbers in between on their own line.

View 1 Replies

Do A Calculation Where-in Output Is Different Depending On What Input Is

Jul 28, 2009

I'm trying to do a calculation where-in the output is different depending on what the input is. [code] I have these repeated using >=50 >=60 etc. but when I go to run the program I get this: [code] basically I need to know how to create a cut off point for the grading system. <= doesnt seem to work.

View 4 Replies

Creating An Alarm Clock Application Which Requires User Input To Switch Off The Alarm

May 21, 2011

i am creating an alarm clock application which requires user input to switch off the alarm. I have 3 comboBoxes on the form named day month year. when the user enters the correct date ( Current date) and click the button the alarm is deactivated. the code to check that the date entered in the comboBoxes is the current date.

View 3 Replies

Cancel The Input On Textchange Event Depending On A Condition?

Jun 18, 2009

i want to cancel the input on textchange event depending on a condition, how? for example, as user type in textbox, it fires textchange event, in that i want to do some condition testing, if value is true then accept new character or cancel the new input.

View 5 Replies

Make A Control Required To Put Input Depending On The Radiobuttonlist Selection?

Dec 24, 2010

How can i make a control required to put input depending on the radiobuttonlist selection?

Let me try to clarify a bit more. I got 2 radiobuttons, if one gets selected, nothing else has to be done.

But if the otherone gets selected, a textfield must have some input too.

View 2 Replies

Distance Calculator - Input Box Does Not Prompt

Oct 18, 2011

1. My input box does not prompt

2. Then a loop should be used to display in a list box the distance the vehicle has traveled for each hour of that time period.

[Code]...

View 5 Replies

Input String Type Calculator?

Mar 31, 2010

The object of this project is to create code for a 4 function calculator that takes a character string like: 5 + 123 + 6 = and generates a new string: 134 There are multiple tasks to be done. First the string must be broken into tokens; in this case, there are 6 tokens:

5, +, 123, +, 6, and =
Dim input As String = (txtIn.Text)
Dim x() As String = input ?????

[Code]....

View 1 Replies

Databound Combobox Doesn't Update Properly Depending On Input Meth

Feb 10, 2011

I've already found evidence of another having this problem. You can see this on this post by someone else:

http:groups.google...096b3fcaa?pli=1

The problem is that when one navigates the combobox via the keyboard, the combobox's information doesn't update. If you click a value with your mouse, though, everything works wonderfully. The link I've mentioned suggests changing the binding from the Text property to the SelectedItem property. I'm very deep into this project and it would be a bit of a nuisance to change the setup so as to allow it to be bound to the SelectedItem property.What I'm wondering is whether or not I can detect the user changing the selected entry in the combobox and tell VB that they "clicked" the value, if that makes any sense.

View 2 Replies

VS 2005 - Gotchas With Docked Forms - Forms - Displayed Using Menu Items To Display Information To User

Nov 10, 2011

We have an application that has a main form with a map on it. Right now the paradigm is to have forms that are displayed using menu items to display information to the user. Most of these forms are modal forms, but a couple are non-modal forms that interact with the map. For some of the forms, it really would make for a better user experience if we could dock them in the main form of the app and allow the user to see both the form and the map. For instance. We could have a list of map features in a docked window, and select one of the items on the list and have the map zoom to that feature. Or do the reverse: let the users select a map item and have a docked window that shows details of the feature. Sounds great, but I wonder about what sort of gotchas we may encounter. In particular, what if we have two windows docked at the same time? Could we get tangled up in our event code?

View 2 Replies







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