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
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
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!
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
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.
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] .....
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]
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) _
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.
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
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.
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.
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
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
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.
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.
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.
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]...
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
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.
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
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] .....
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].....
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"
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.