Mortgage Amortization Program Output?

Jan 26, 2009

I am suppose to be creating a mortgage amortization program that calculates the monthly payment and the amortization table for a mortgage based on user input of the mortgage amount, the interest rate and the length of the loan. I have worked on the program all week and finally got the program to compile; however, the interface does not give me any output. I already posted the assignment yesterday and am getting a C in the class but each week the program builds on the last week? Attached is the complet VB 2005 project file.

Public Class MortgageCalc 'Forms Click Event Handler
Private Sub MortCal_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click
End Sub

[code]....

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

Visual Basic Console Output - Calculates The Monthy Mortgage Payment

Jan 19, 2009

I have already posted this assignment . The assignment is to create a VB.NET program that calculates the monthy mortgage payment for a $200,000 mortgage with an interest rate of 5.75% for 30 yrs. The program compiles and the interface window comes up but when you click the payment button nothing happens. fix this program because my other 4 assignments are based on this progam. The Visual Studio project file is attached.

Public Class Form1

Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click

[code]...

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

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

No Output In Asynchronous Program - Retrieve Output After The Events Are Invoked?

Mar 1, 2012

What I am trying to do: There are three powershell scripts with different time delays as shown below.I am trying to run them asynchronously in .NET and I followed this article to implement Asyncrhonous programming. Where I am stuck:The I am not able to retrieve output after the events are invoked.The scripts are being called but then the program ends and it shows "Press any key to continue" in console windows.I don't what I am missing here.

Info: JobRequest is a class that I use to pass around information keep track of jobs.

Sub Main()
OurAsyncFunctionCalling("psDelayScript2.ps1", "-arg1 4 -arg2 5", 1)
OurAsyncFunctionCalling("psDelayScript1.ps1", "-arg1 2 -arg2 3", 2)[code]......

View 1 Replies

Display Correct Numbers For Amortization Schedule

Apr 10, 2010

I am getting the mortgage calculations in my program to display the correct numbers for my amortization schedule.

Imports System.Console
Module CR
Sub Main()
'Prints statements to screen.
[Code] .....

View 4 Replies

Fixed Biweekly Loan Amortization Schedule

Jun 15, 2012

Monthly Loan payment calculated perfectly but still I'm stuck with fixed 2 week payment frequency for individual loan for example: if I a customer want to borrow $2000 and he/she want that loan amount to be paid off within 8 month technically by Biweekly payment frequency type!

For period As Integer = 1 To mPayments
iPayment = IPmt(APR, period, mPayments, -PVal, FVal, 1)
pPayment = PPmt(APR, period, mPayments, -PVal, FVal, 1)
lstLoanInterest.Items.Add(FormatCurrency(TotPrincipal).PadRight(25) & FormatCurrency(iPayment).PadRight(25) & FormatCurrency(dblBalance).PadLeft(25))
[Code] .....

View 1 Replies

VS 2008 Execute A CLI Program And Have It Output Or Return What The CLI Program Saids Such As Ping Etc?

Apr 25, 2009

Is there a way i can execute a CLI program and have it output or return what the CLI program sais, such as ping etc.

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

Calculate The Maximum Mortgage Possible For A Customer?

Dec 3, 2011

I have to calculate the maximum mortgage possible for a customer. If it is a single application, the customer can borrow up to three times their salary plus any savings and investments they may have.

If it is a joint application, the customer can borrow 3 times larger salary and 2 times the smallest, also borrowing against any savings and investments. In either case, the applicant is not allowed to borrow in excess of 90% of the purchase value of the property (including stamp duty and legal fees).

I have declared everything and done out the code, yet every time I calculate the max amount they can borrow, it comes up as 0. My code is below if anyone can spot problems.Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) _

[Code]...

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

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

Use A Calendar's Date For Calculating A Mortgage?

Dec 4, 2010

I am writing an application for my class, wherein I have a mortgage that will give the customer a discount of 1% on their interest if they pay early in the month, or penalize them by 1% if they are after the due date. Right now, I have it working with a checkbox that the user selects. However, I would like to have VB see the current date on the calendar I placed in the application already, and calculate the appropriate amount of interest based on that information. I am using Microsoft 2008 Visual Basic Express Edition on a PC.

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

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

Output Of The Program Segment?

May 12, 2010

What is the output of the following program segment?

[code]...

View 11 Replies

Display An Amortization Table To Display The List After Doing The Calculation?

Oct 19, 2009

i have to create a mortgage calculator (I know we have killed this mortgage calculator). Has to display an amortization table to display the list after doing the calculation. Here is the actual assignment:

Write the program in VB.Net (not Web based) and have it accept user input of the amount, term and interest rate. Display the mortgage payment amount. Then, list the loan balance and interest paid for each payment over the term of the loan. The list will be longer than the screen, so use loops to display a partial list, hesitate, and then display more of the list. Insert comments to document the program.

I have created 4 buttons. Calculate, Clear, List, and Exit. The buttons all work, but the list does not. Not sure what i am doing wrong.

[Code]...

View 2 Replies

Redirect Output To Window Within Program?

Dec 21, 2011

I made a Visual Basic program that adds an interface to some Windows network diagnostic tools like Ping and Telnet. Currently the program opens a new DOS window and displays the results. For each system you test or each time you hit the button it opens a new window.

What I want it to do is redirect the output back to the program and display it using a List box or whichever is the best choice for displaying results. I have checked out posts that talk about capturing the text and redirecting it back to the program but I can never get those to work.

Is there an easy answer for this or does it entail a lot of additional coding? I am using Visual Studio 2008.

View 1 Replies

Sends The Output To Our Charting Program?

Jun 4, 2009

2.0 Framework.Our software does some measurement and then sends the output to our charting program. Right now it is taking 20-30 seconds for the results to print after our chart has sent the data to the printer since the printer is in sleep mode. What we are wanting to do is send a command to wake the printer at the end of our test, before it sends the results to the charting program, so the printer is (hopefully) done "waking up" by the time the chart program auto prints.

I have been looking around and haven't been able to find anything regarding this. The printer we are mainly using is a Brother HL 5250DN. I have contacted Brother but I have yet to hear anything back from them.

View 1 Replies

Unable To Get Sp Output Parameter Value In Program?

Jun 25, 2009

I am having a stored procedure in sql 2005 the procedure is to retrieve year code between two days it works correctly in sql query analyzer and it returns value [code]...

View 2 Replies

VS 2010 Program Keeps On Displaying The Same Output

Dec 2, 2010

I am working on a program where a user either enters "small" or "large" and then the number of toppings. Once the user has done that my program outputs the total cost of a pizza based on user input.

My problem is no matter if I enter LARGE or SMALL into the textbox for size of pizza the output displays "A small pizza with 2 toppings cost: $x.xx"

It also displays the price of the pizza as a small one. So somewhere along the lines it changes everything to be small.

this problem only started occurring after I made this procedure.

Procedure that I believe is causing problem
Function IisUserInputValidSizeOfPizza(ByRef mytextbox As TextBox, _
ByRef errorMessage As String) As Boolean

[Code].....

View 2 Replies

Output Screen Just Flashes On Running Program

Sep 30, 2009

I have windows 7 installed on my laptop and visual basic 2005 academic edition as well. I can use VB but when I go to run program, it compiles, links, and executes, but the output screen just shows up for about 1 second. I have tried updating my computer and manually updating VB2005, with no luck.

View 3 Replies

Program To Select The Proper Output In The Listbox?

Feb 5, 2010

I need my program to select the proper output in the listbox based on what the user input as the delivery code!I have attached the complete file that is run in Visual basics 2008 express edition.

This is the code:

Public Class frmMain
Private Sub btnExit_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnExit.Click

[Code].....

View 1 Replies

Sales Commission Program - Output Values?

Oct 21, 2009

I wrote this code and everything works as planned:
Module SalesCommissionProgram
Sub Main()
Dim name As String = 0
Dim code As String = 0
Dim monthlySales, commissionDollars As Double
' Prompt user to input value for name
[Code] .....

For the finished project I am supposed to have it output the total sales and commissions for that were calculated before the sentinel value (Eugene) was entered. Here is what I tried and here is where I am lost.
Module SalesCommissionProgram
Sub Main()
Dim name As String = 0
Dim code As String = 0
Dim monthlySales, commissionDollars As Double
[Code] .....

View 10 Replies

Use Select Case But When I Run The Program It Won't Output To The Text Box?

Mar 15, 2010

I am taking an intro to VB 2008 course and i am having difficulties with a particular project.The project is to calculate to Federal Tax based on income, I am trying to use Select Case but when i run the program it won't output to the text box. i did the problem using If/Else blocks and it worked perfect. Do I have to put the txtTax.text output statement somewhere else?

Private Sub btnCompute_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnCompute.Click
'Project 3 using Select Case
'Program is to find Federal Income tax[code].....

View 2 Replies

VS 2010 Output Data Without Slowing Program Down?

Nov 28, 2011

So I got this program to generate me some data and I want to show that data to a label.

If I don't do a display I can generate about 20,000 data per second, but if I do, I get about ~9,000 data per second.

PS. Since the generating logic in is a thread, I have a function that does the displaying to the label.

View 1 Replies

.net - Validation Summary Control ASP.NET Program Output Error?

Aug 3, 2011

I am executing this validation summary program in Visual web developer 2008 express edition, found the validation summary property is not visible in output.

<div><asp:ValidationSummary ID="sum1" runat ="server" ShowMessageBox="false" HeaderText="You details cannot be processed due to following errors:" DisplayMode="BulletList" ShowSummary ="true" Font-Names ="arial" Font-Size ="12"></asp:ValidationSummary>
<asp:CompareValidator ID="cmp1" runat ="server" ControlToValidate ="txtname" Display="Dynamic" Operator="DataTypeCheck"

[code]....

View 1 Replies

Create A Program That Produces Random Sentences As Output?

Nov 14, 2010

I'm trying to create a program that produces random sentences as output. With five arrays of strings, one each for nouns, adjectives, verbs, prepositions, and articles. Each array should hold several words for that part of speech. It's supposed to generate sentences by randomly choosing eight words (randomly generating eight array indices) from these arrays, always constructing sentences by using the parts of speech in the following order: article, adjective, noun, verb, preposition, article, adjective, noun.Also, theh code should be properly modularized so that the code to generate each part of speech is not repeated.

View 8 Replies







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