by Walid Eshtiwi (1 Submission)
Category: Miscellaneous
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Wed 11th August 2004
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Sample code to convert your age to seconds,minutes,days,months
Dim a as integer
Dim b as long
Dim c as long
Dim d as long
a=12
b=365
c=1440
d=60
pic1.print text1.text*a
pic2.print ((text1.text*a)*b)
pic3.print (((text1.text*a(*b)*c)
pic4.print ((((text1.text*a)*b)*c)*d)
text1.setfocus
End Sub
Private Sub text1_Change()
pic1.cls
pic2.cls
pic3.cls
pic4.cls
End sub