Can anybody tell me how to create a multi-threading application.
Thanks in advance
;)
Printable View
Can anybody tell me how to create a multi-threading application.
Thanks in advance
;)
Try searching the forums for MultiThreading or Async there have been lots of examples of the different ways of doing this.
hi,
the only way to create multi thread app in vb is to use ActiveX EXE.
do not use CreateThread API (or some kind of function) because your app will crash.
ActiveX EXE is an out of process COM server.
u can configure the threads in the app, right click on project name and choosing Project Properties, u can define Thread Per Object which said: create new thread for each client, or Thread Pool, in that option app will create the client object in one of the threads it have (note: if u define Thread Pool of one object, VB will create all clients in the same thread which is much like in proc COM - ActiveX DLL).
Is it required to create the ActiveX as a separate project or i can create as a subproject in the exe project????
:p
What do you mean by 'subproject'?
I don't think the IDE will let you manage both in the same group since they are both exes.
Thank you for your lightning response :)