I am in need of VB code that will return the future value of simple investment. This is for Intro VB class assignment.

Problem: Enter an Initial investment value in txtBox, have an hsb for years- The problem states "compound in years, not monthly" (not very practical, huh?), and an hsb for the intrest rate paid into the account. I can't find a VB function that doesn't use the " pmt" argument, and because no subsequent deposits or withdrawls are made to the account after the initial investment, I don't need a Pmt argument.
When I use this Code- "fv(rate,nper,pmt,pv,type)" with "pmt" and "type" =0, I always get "0" returned as the Future Value.

Does anyone know what I'm doing wrong?
Thanks!