Moin zusammen,
heute hab ich mir mal vorgenommen mein erstes Script mit GUI zu machen (bin also noch relativ neu).Kaum hab ich mein GUI fertig kommt auch schon das erste problem :rolleyes:. Es findet wohl die Bilder nich die ich angegeben habe...
Fehlermeldung:
hier noch das Script:
Muss ich die Bilder im selben Ordner wie das Script haben? :confused: oder an was liegt es?
Ich bin dankbar für jede Hilfe
Mfg Crow
heute hab ich mir mal vorgenommen mein erstes Script mit GUI zu machen (bin also noch relativ neu).Kaum hab ich mein GUI fertig kommt auch schon das erste problem :rolleyes:. Es findet wohl die Bilder nich die ich angegeben habe...
Fehlermeldung:
Code:
C:\Users\lol\Desktop\EWMM.au3 (5) : ==> Variable used without being declared.:
$Pic1 = GUICtrlCreatePic("C:\Users\lol\Desktop\Warstorm 6 Kopie.jpg", 0, 0, 361, 449, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Pic1 = GUICtrlCreatePic("C:\Users\lol\Desktop\Warstorm 6 Kopie.jpg", 0, 0, 361, 449, BitOR(^ ERROR
>Exit code: 1 Time: 0.338
Code:
#include <GUIConstants.au3>
#Region ### START Koda GUI section ### Form=C:\Users\lol\Desktop\esaywar.kxf
$Form1 = GUICreate("Form1", 363, 451, 307, 115)
$Pic1 = GUICtrlCreatePic("C:\Users\lol\Desktop\Warstorm 6 Kopie.jpg", 0, 0, 361, 449, BitOR($SS_NOTIFY,$WS_GROUP,$WS_CLIPSIBLINGS))
$Start = GUICtrlCreateButton("Start", 191, 392, 121, 33, 0)
$Button1 = GUICtrlCreateButton("Ende", 64, 392, 105, 33, 0)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $Start
EndSwitch
WEnd
Muss ich die Bilder im selben Ordner wie das Script haben? :confused: oder an was liegt es?
Ich bin dankbar für jede Hilfe
Mfg Crow