Computer Tricks

VBScript Prime Number Generator

0 comments

Image

This is a really cool HTML application which finds all the prime numbers in a given range. This program is pretty fast for low ranges and may raise the core usage to 100 or 90 percent for very large ranges. So I prevented large ranges from being entered as it caused some errors and caused the computer to crash.

The VBScript used in the program is really simple. The program tries to get a integer number by dividing it with all possible numbers and if does not get an integer the number is confirmed as a prime number. This process is repeated for all the numbers in the given range.

To make the program paste the following code in notepad and save with a .hta extension.

No comments:

Tips Tricks And Tutorials
  • Calculator

    VBScript Calculator

    This is a very simple calculator made with HTML and coded with VBScript.

  • Hack windows password

    Hack windows 7/XP password

    Learn the easiest and most reliable method to hack logon password for any account on windows 7/XP. Even administrator accounts are not excluded!

  • Windows gadget

    Make windows gadgets

    Learn how to make gadgets for windows! It may be easier than you imagine.

  • Facebook

    Visit our facebook page

    Keep tuned to the posts via facebook. We continually update our facebook page.

  • Contactform

    Contact

    If you have any complaints, questions or suggestions, feel free to contact me via the easy contact form.