Sunday, July 25, 2021

Celsius To Fahrenheit in Visual Basic 6

 Machine Problem

Write a program that will ask the user to give temperature in Celsius and the program will convert it into Fahrenheit 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 at the following email address for further details.  If you want to advertise on my website, kindly contact me also at my email address also. Thank you.

My email address is jakerpomperada@gmail.com and jakerpomperada@yahoo.com

My mobile number here in the Philippines is 09173084360.




Program Listing


Private Sub cmdQuit_Click()

End

End Sub


Private Sub cmdRefresh_Click()

txtcelsius.Text = 0

txtfahrenheit.Text = 32

End Sub


Private Sub txtcelsius_Change()

If txtcelsius.Text = "" Or IsNumeric(txtcelsius.Text) = False Then

MsgBox "Please enter a numeric value", vbInformation, "Reminder"

txtcelsius.SetFocus

Else

txtfahrenheit.Text = Format(Val(txtcelsius.Text) * (9 / 5) + 32, "##,##0.00")

End If

End Sub



No comments:

Post a Comment