I am working on a program in which the user enters an amount of money in a textbox, selects a beginning and ending date using the datetimepicker, and then the program calculates the new amount based on an interest rate of 1% compounded monthly. The code I have written is as follows:

VB Code:
  1. Public Class Form1
  2.  
  3.     Private Sub cmdCompute_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cmdCompute.Click
  4.         Dim startdate
  5.         Dim enddate
  6.         Dim lngMonths As Long
  7.         Dim amount As Double
  8.  
  9.  
  10.         amount = txtInitialAmount.Text
  11.  
  12.         startdate = DateStart.Value.ToShortDateString
  13.         enddate = DateEnd.Value.ToShortDateString
  14.         lngMonths = DateDiff("m", startdate, enddate)
  15.  
  16.  
  17.         lblResult.Text = amount * 1.01 * lngMonths
  18.  
  19.     End Sub
  20. End Class

Tthe number of months between the startdate and the enddate is given in lngMonths, but I need to somehow use that figure from lngMonths in the formula so that if, for example, the user selects 3 months the formula will be amount * 1.01*1.01*1.01.
I know what I need to do, but don't seem to be able to get there!! Any guidance would be appreciated.