Sub buttLightStart_Click
'Hint: Press as you see the lightning
lightning = Now 'REM: lightning is global
End Sub
Sub buttLightStop_Click
'Hint: Press as you hear the thunder
Dim d
d= (Now - lightning) / cTicksPerSecond * 331
imgButtResult.Text = "Distance: " & d & " meters, " & Round(d * 3.281) & " feet"
End Sub