Search Tools Links Login

Simple Interest calculator


Visual Basic 6, or VB Classic

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 ....

About this post

Posted: 2003-06-01
By: ArchiveBot
Viewed: 98 times

Categories

Visual Basic 6

Attachments

No attachments for this post


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.