vendredi 6 janvier 2017

Live data over the internet

I have a very simple visual basic winform application which is just a counter. How can i see this data live in a web page?

here is my code

Public Function GetTime(Time as Integer) As String Dim Hrs As Integer 'number of hours ' Dim Min As Integer 'number of Minutes ' Dim Sec As Integer 'number of Sec '

'Seconds'
Sec = Time Mod 60

'Minutes'
Min = ((Time - Sec) / 60) Mod 60

'Hours'
Hrs = ((Time - (Sec + (Min * 60))) / 3600) Mod 60

Return Format(Hrs, "00") & ":" & Format(Min, "00") & ":" & Format(Sec, "00")

End Function




Aucun commentaire:

Enregistrer un commentaire