Can anyone give me the code for programming a Mortgage Calculator in VB2008 - TechRepublic
Question
March 5, 2010 at 08:12 AM
shadadancer

Can anyone give me the code for programming a Mortgage Calculator in VB2008

by shadadancer . Updated 16 years, 4 months ago

I have tried everything but it doesn’t work. I don’t have any errors, comments, or warnings but it won’t run. I need to build it with a loan of $300,000 and 4.5% interest. It is to diplay results in a ListBox and it is to show Monthly Payment. Using a Do While…Loop showing results of 6 different years. The years will be in increments of 5 such as 5, 10, 15, 20, 25, and 30. So it will be something like this

Do While Increment<=6 Dim increment As Integer = 1 Dim calculatedvalue As Integer Dim counter As Integer = 5 calculatedvalue = increment * 5 years += 1 Can someone possibly give me the right code so I can compare mine and see where I am going wrong. I know I have to declare using Dim. I have all of it but it will not debug. I would appreciate it if someone would give me the complete code so I can compare mine and see why it won't debug to run. Thanks in advance.

This discussion is locked

All Comments