Search Tools Links Login

Thread Server


Visual Basic 6, or VB Classic

This is an example based on the technique of using ActiveX EXE components to multithread. This code shows how to multithread without the need of a form and timer control, and also without the need of events (which are slow and no good when you want to thread a dynamic number of objects. The trick is to implement an interface). This example code is programmed in a very short amount of time, so have understanding if you find the it a bit sloppy.
I think that I don't lie when I say that you will have a hard time finding a VB multithread example (that actually works) with fewer lines of code!!
Instructions:
Compile the ThreadServer project.
Open the "Client" project, add a reference to the "threadServer" COM object and run the client.
-Good luck

Original Author: Jesper Blomquist

Assumptions

Compile the ThreadServer project.
Open the "Client" project, add a reference to the "threadServer" COM object and run the client.

About this post

Posted: 2002-06-01
By: ArchiveBot
Viewed: 85 times

Categories

Visual Basic 6

Attachments

Thread Ser266029182001.zip
Posted: 9/3/2020 3:45:00 PM
Size: 5,564 bytes


Loading Comments ...

Comments

No comments have been added for this post.

You must be logged in to make a comment.