Tach zusammen,
mal iweder eine kleien Frage zwischen durch. ich bin einfach blind ;o))
Habe folgenden mini Code:
Spoiler anzeigen
Code
DIM $local_IP = @IPAddress1&"|"&@IPAddress2&"|"&@IPAddress3&"|"&@IPAddress4
#Region ### START Koda GUI section ### Form=D:\AUTOIT\NSClient\NSCinstall.kxf
$Form1 = GUICreate("Form1", 354, 173, 193, 125)
$ok = GUICtrlCreateButton("OK", 240, 32, 65, 33, 0)
$Combo1 = GUICtrlCreateCombo("", 40, 40, 161, 25)
GUICtrlSetData(-1,$local_IP)
GUISetState(@SW_SHOW)
#EndRegion ### END Koda GUI section ###
$C_IP = GUICtrlRead($Combo1)
While 1
$nMsg = GUIGetMsg()
Switch $nMsg
Case $GUI_EVENT_CLOSE
Exit
Case $ok
MsgBox(1,"test",$C_IP)
EndSwitch
WEnd
Alles anzeigen
Wenn ich es nun ausführe und eine IP aus der Box auswähle, mit OK bestätige, dann erhalte ich einfach nur ein lerres Dialogfeld.
Wieso liest er meine auswahl nicht aus ??
Grüße
CrazyER