Sunday, June 5, 2022

Kilometers To Miles in Visual Basic

 A simple program to convert the given distance in kilometers to miles equivalent using Microsoft Visual Basic 6.

I am currently accepting programming work, IT projects, school and application development, programming projects, thesis and capstone projects, IT consulting work, computer tutorials, and web development work kindly contact me in the following email address for further details.  If you want to advertise on my website kindly contact me also in my email address also. Thank you.

My email address is the following jakerpomperada@gmail.com, jakerpomperada@aol.com, and jakerpomperada@yahoo.com.

My mobile number here in the Philippines is 09173084360.

Please subscribe to my channel  https://www.youtube.com/channel/UCOs-lpOoIeJoh6gpJthPoGg

=================================================


Want to support my channel?

GCash Account

Jake Pomperada

09173084360


Paypal

https://paypal.me/jakerpomperada


Patreon

https://www.patreon.com/jakerpomperada


Thank you very much for your support.





Program Listing

Private Sub Command1_Click()

' Written By Jake Rodriguez Pomperada, MAED-IT, MIT

' www.jakerpomperada.com  and www.jakerpomperada.blogspot.com

' jakerpomperada@gmail.com



If (Text1.Text = "") Then

MsgBox "Cannot Be Empty. Try Again", vbInformation, "Result"

Text1.SetFocus

Else

Text2.Text = FormatNumber((Val(Text1.Text) * 0.621371), 2)

End If

End Sub


Private Sub Command2_Click()

Text1.Text = ""

Text2.Text = ""

Text1.SetFocus


End Sub


Private Sub Command3_Click()

End

End Sub


No comments:

Post a Comment