Search Tools Links Login

Simple Interest calculator

Posted: 2003-06-01
By: ArchiveBot
Viewed: 70

Filed Under:

VB6 Code Cache

No attachments for this post


This is a program made to calculate interest !
This is for Beginners !...
Comments and Votes will be very highly appreciated ...

Original Author: ComputerWhiz

Code

Make three textboxes with the names :-
txtPrinciple
txtRI
txtTime
Respectively .
Then make a command button and name it cmdAnswer .
Then make a variable - AnswerGot
i.e
dim AnswerGot
After that ,make a label control and name it lblAnswer
Now ,in the click event of the cmdAnswer add this code :-
lblAnswer.Caption = AnswerGot
AnswerGot = txtprinciple * txtRI * txtTime / 100
            ***
Now the total form's code should look something like this ...
Dim AnswerGot
Private Sub Command1_Click()
lblAnswer.Caption = AnswerGot
AnswerGot = txtprinciple * txtRI * txtTime / 100
End Sub

_________________________________________________
           *****
Please vote for this article .I will very highly appreciate your voting ....


Comments on this post

No comments have been added for this post.

You must be logged in to make a comment.