Wb-FreeKill 0 Posted March 18, 2005 I really can't figure this out, hope some of you brain guys know it... The senario is, that Client sends ALOT of data, so it cant all be sent at once.. therefore the Do...Until $RetRecieve is = 0, then create the treeview items..CLIENTDLLCall(@WindowsDir & "\au3xtra.dll", "int", "TCPSend", "int", $socket1, "str","1," & $a[0] &","& $SaveFiles)SERVERWhile 1 $RetRecieve = DLLCall(@WindowsDir & "\au3xtra.dll","int","TCPRecv", "int",$ConnectedSocket1, "str", "", "int",8192) $GetSplit = Stringsplit($RetRecieve[2],",") ;Log everything to editlist Do ;Only if something comes in from $RetRecieve GUICtrlSetData($FilesLogEdit, GUICtrlRead($FilesLogEdit) & $GetSplit[3] & @CRLF) Until ;$RetReceive = 0 $FileSplit = StringSplit(GUICTRLRead($FilesLogEdit),"{") For $i = 1 to $Filesplit[0] GUICtrlCreateListViewItem($FileSplit[$i], $FileHD[4]) Next Exitloop EndIf Share this post Link to post Share on other sites
Neoborn 0 Posted March 20, 2005 I would hazard that you should ask a '?' if you would like an answer ~Projects~1. iPod Ejector 1.0 - Tool Used To Eject iPod in Windows - Uses DevEject.exe :P2. SmartFTP Close Popup Tool - Closes reminders from freeware SmartFTP.~Helpful Links For New Users~1. LXP's Learning AutoIT PDF Guide - <<< Go here for a PDF Guide on learning AutoIT from the ground up!<<<2. AutoIt 1-2-3 <<<Want to learn more about AutoIT quickly? Go Here<<<3. How To Install The Beta And Production Versions Of AutoIT / SciteAutoIT Share this post Link to post Share on other sites