M.C
08-31-2003, 11:28 PM
All a thread is, is a code string running on it's own. So, if you have a VB program that starts a form from an array then that form runs on it's own as long as there is something that causes that form code to take action such as a socket recieving data from a host.
Look at it this way. If you used one form with a 100 sockets on that form each socket act on it's own. But the code to handle this is quite complex and it will bogle up the application. So, if you use multiple forms with only two sockets on each then the whole VB applcication runs much better.
The end results of using multiple forms is very much the same as multi-threading as in Java or C++.
Quoted from a different forum
Is this true?
Look at it this way. If you used one form with a 100 sockets on that form each socket act on it's own. But the code to handle this is quite complex and it will bogle up the application. So, if you use multiple forms with only two sockets on each then the whole VB applcication runs much better.
The end results of using multiple forms is very much the same as multi-threading as in Java or C++.
Quoted from a different forum
Is this true?