You can create a prime number tester in VB6 easily. This program can test whether a number entered by the user is a prime number or not.

A prime number is a number that cannot be divided by other numbers other than by itself. Examples are 2, 3, 5, 7, 11, 13,17,19, 23,29, 31, 37 and more. – See more at: http://www.vbtutor.net/VB_Sample/Prime.htm#sthash.AmIybwCv.dpuf