Please help, I think I did all the calculations correctly, but when I hit the analyze button nothing happens when it is supposed to perform the calculations and output the results in the two textboxes. Please help! Attached is what it is supposed to do...mine looks right but just doesn't output the calculations. Thank you!!!! Dim TotalInterest As Double Dim Payment As Double Dim P As Double Dim R As Double Dim N As Integer Private Sub btnAnalyze_Click(sender As System.Object, e As System.EventArgs) Handles btnAnalyze.Click P = txtAmount.Text N = txtDuration.Text R = txtInterestRate.Text Payment = P * R / (1 - (1 + R) ^ (-N)) TotalInterest = N * Payment - P Double.TryParse(txtPayment.Text, Payment) Double.TryParse(txtInterest.Text, TotalInterest) If Not Double.TryParse(txtAmount.Text, P) Then MessageBox.Show("Please enter in loan amount") End If If Not Integer.TryParse(txtDuration.Text, N) Then MessageBox.Show("Please enter in duration of loan") End If If Not Double.TryParse(txtInterestRate.Text, R) Then MessageBox.Show("Please enter in interest rate") End If

Here is the attachment...