Can VB5 multi task

I have developed a standared EXE program in VB5 which I need to run 8 times on my PC. Each session is communicating with a different Main Frame.

I would like to develop the program into one EXE which can communicate simaltanously whith each of the Main Frames.

I have tried Active X controls, but thay seem to still only perform one task at a time.
If I had a number copies of a ActiveX EXE in one project would they work independantly (Multi Tasking) or should I continue to execute 8 copies of my EXE.

ianfmurrayAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

MitchBroadheadCommented:
ActiveX.exe are out of process components, which means that each instance of it runs on its own thread of execution.  Whereas dlls run in process, ie they continue the same thread of execution as the calling program.  You could create a multithreaded ActiveX exe, which would require starting a new thread every time it started a new process.  There is code to do this in VB.  But it might be better to use the WIN API.
So, in effect you are talking about a lot of effort, and possibly crashing the processor.  Ask about multithreading to the experts.
0
VBGuruCommented:
yes -- through ActiveX Exe.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
ianfmurrayAuthor Commented:
Answer still leaves me with some work to do, but that's ok.
Thanks very much.
0
MitchBroadheadCommented:
thanks for the points ianfmurray
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Visual Basic Classic

From novice to tech pro — start learning today.