How to use VB6 to create a simple division program
a) The interface of the program, it’s support three type of division.
b) The source code of the division program at the command button.
inpt1 = Text1.Text
inpt2 = Text2.Text
Text3.Text = inpt1 / inpt2
Text4.Text = inpt1 \ inpt2
Text5.Text = inpt1 Mod inpt2
c) The result is like below
No comments:
Post a Comment