|
-
Nov 15th, 2012, 08:22 AM
#1
Thread Starter
Addicted Member
listbox help selected
i have list1 that has usernames so i want a code like this plz
when an item is selected in list then send my code to that item thats selected
Me.wsServer(index).SendData lstUsers.Text & "COMMAND_KICK"
please help
-
Nov 15th, 2012, 08:39 AM
#2
Re: listbox help selected
What do you mean "send my code to that item thats selected"?
what is me.wsServer? And what is "COMMAND_KICK"?
Are you trying to EMAIL?
-
Nov 15th, 2012, 09:21 AM
#3
Re: listbox help selected
You would have to determine which Socket [winsock control] that user is connected through and send the text to that control. If the items in the list are in the same order as they are connected to teh winsock array then you could use the select items index+1 to determine the correct control if not then there is no way to even guess based on what you have provided.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|