Hi all,

I realize this may be a fundamentally obvious answer, but I have the following scenario:

1. A stream of string data arrives via the Winsock control (the data stream is comprised of individual CrLf delimited messages).

2. I Split the data stream into individual messages into a listbox.

3. I send listbox item 1 on to the rest of the program (initially sent to a subroutine I'll call 'sub1') where it's execution may take from < 1 sec to > 10 seconds.

4. My question is this; can I (how can I) send item 2 from the listbox while item 1 is still executing code? The rest of the program does not include class modules.

5. One oddity is that this works, i.e. multiple executions of code when the data arrives on the COM port. The messages from the COM port are also initially sent to 'sub1' from OnComm - comEvReceive.

Thank you for any help or suggestions...