Fast Prime Number Calculator

Category:
Dates and Math
Type:
Applications
Difficulty:
Intermediate
Author:
Roberto Lanuza

Version Compatibility: Visual Basic 6

More information:
This sample calculate the first 100000 prime numbers in 3.4 seconds (PII-350Mhz). It also helps you to know how to avoid undesirable re-entrys when you use the VB function "DoEvents"

Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download calcprimes.zip