Ich hab jetzt noch ein kleines Prob bei der Erstellung des Zeitstrings:
Code:
Dim Tresult As String * 8
Dim Dresult As String * 8
Dim D1 As String * 2
Dim D2 As String * 2
Dim D3 As String * 2
If Second < 10 Then D1 = "0" + Hex(second) Else D1 = Hex(second)
If Minute < 10 Then D2 = "0" + Hex(minute) Else D2 = Hex(minute)
If Hour < 10 Then D3 = "0" + Hex(hour) Else D3 = Hex(hour)
Tresult = Hour + ":" + Minute + ":" + Second
Hex wandelt einen numerischen Wert in einen String (laut Hilfe)
Das funktioniert leider nicht richtig
was mache ich jetzt schon wieder falsch. Dazu sagt das RN-Wissen leider auch nichts.
Ich bekomme stadt bspw. 03:24:01 leider nur 3:24:1 und das zusammenführen des tresults klappt auch nicht.
Mfg
Tobi
Lesezeichen