Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Guictrlcreatedate... crash?

$
0
0
Hello..

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

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>