Hello..
why does autoit crash when i try to run this?
think there is something i'm doing wrong the the _Date_Time_SetSystemTime
why does autoit crash when i try to run this?
think there is something i'm doing wrong the the _Date_Time_SetSystemTime
[ autoit ]
Func tidfunc() Local $date, $msg, $setttdato, GUICreate("Endre Dato til:", 200, 200, 800, 200) $date = GUICtrlCreateDate("2011/11/11", 10, 10, 185, 20) $knapp = GUICtrlCreateLabel("(Lukk Vindu når du har valgt dato)", 20, 100, 200, 20) GUISetState() Do $msg = GUIGetMsg() Until $msg = $GUI_EVENT_CLOSE $svar = MsgBox(4, "Still dato til:", GUICtrlRead($date)) if $svar = 6 Then $settdato = _Date_Time_SetSystemTime(GUICtrlRead($date)) Else GUIDelete() endif