Hi. I allready have made the application what you need, I can send you a working demo. If you are interested please contact me. Thank you. ( In this demo you can get prime numbers from 0(2) - 20, also you have an option to save result to file, but this is disabled in demo version. To run my application you need at least Windows XP )