Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21251

How can I use multiple cores for running a code?

$
0
0
Hi.
I have a code written in VB6, which takes very long to be completed. In some cases (depended on the input length), more than a week. I run it on my laptop. My laptop's CPU is Intel Core i3, which seems to have 4 cores. But Visual Basic only uses one of the cores to process and consequently, only 25% of the CPU is used during the running procedure. As you know, the affinity of VB6.exe cannot be modified from Task Manager. Is there any methods to force Visual Basic use more than a core? My OS is Microsoft Windows 7.
Thank you so much for your help.

Viewing all articles
Browse latest Browse all 21251

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>