devxlogo

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.

Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.

See also  Five Early Architecture Decisions That Quietly Get Expensive

About Our Editorial Process

At DevX, we’re dedicated to tech entrepreneurship. Our team closely follows industry shifts, new products, AI breakthroughs, technology trends, and funding announcements. Articles undergo thorough editing to ensure accuracy and clarity, reflecting DevX’s style and supporting entrepreneurs in the tech sphere.

See our full editorial policy.