Multiple processes? Multithreading? (accumulation and computing)
Time:10-07
Large-scale computing takes longer, is it possible to realize such functions:
Such as the need to compute and 1-1000000000, it is divided into 10 synchronous calculation (similar to distributed computing) Picturebox add 10 progress bar, including the first n progress bar reflect 10 ^ (n - 1) * 8 + 1 to the progress of a n * 10 ^ 8, N part of the end of the operation, to hide the progress bar All operation over, will be 10 operation results displayed together together?
CodePudding user response:
VB does not support multithreading, If is the language of support multithreading, and processor is sensitive to program, and on a computer with multiple processors (core), so really useful,
CodePudding user response:
Cao moderators have any Suggestions for my question?
CodePudding user response:
Look at your personal preferences and the program to run the environment, if preferences, BASIC grammar and use multithreading, can use freebasic or vb.net, if want to use vb6, then use the Activex exe unit threads, just deploy up a little trouble,