acer20006 Posted February 12, 2010 Share Posted February 12, 2010 (edited) hii again i have problem at reading data from winlist to send it Through tcp connection my purpose is to select the first row at winlist(change every 5 sce) and send it with tcp func my problem is :: i cant read data at winlist Through tcp have a look to code ((part)) HotKeySet ("{f6}" , "bb") GUICreate("tcp", 633, 447, 192, 124) $Status = GUICtrlCreateListView("", 8, 8, 609, 377, BitOR($LVS_SORTDESCENDING, $LVS_LIST, $LVS_SHOWSELALWAYS)) GUISetState(@SW_SHOW) While if $iFlag Then bb() EndIf $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit EndSwitch WEnd Func bb() $IP = "187.526.527.26" $Hex = ("0x0850456801470"&GUICtrlRead(GUICtrlRead($Status))) TCPStartUp() TCPConnect($IP, 15547) _GUICtrlListView_SetItemSelected($Status, 0) TCPSend($socket1,$Hex) TCPShutdown () EndFunc Edited February 12, 2010 by acer20006 Link to comment Share on other sites More sharing options...
acer20006 Posted February 12, 2010 Author Share Posted February 12, 2010 up up i need help plz Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now