Equivalent to fork()?

Question:
Is there any command in visual basic which is similar to fork command in c?

Answer:
It’s not exactly the same, but the Shell statement will allow you to start another program. There is also a “WinExec” API call which does a similar function. Fork kicks off additional processes…I don’t know of an equivalent for VB/Windows at this time. There is no “multi-threading” model for VB, at least as of version 4. Time will tell if later versions will have this feature.

Share the Post:
Share on facebook
Share on twitter
Share on linkedin

Overview

Recent Articles: