Soren Winslow Soren Winslow
Soren Winslow's ASP Scripts and Utilities and Web Development Tools and Tutorials
Soren Winslow's ASP Scripts and Utilities and Web Development Tools and Tutorials
Soren Winslow's ASP Scripts and Utilities and Web Development Tools and Tutorials and more

This script will take several RSS news feeds and combine them into one feed for either display or to create a new RSS feed. It also checks for duplicate news articles and sorts the multiple feeds by date.
Tue, 30 Sep 2008 11:56:24 GMT
This is a fairly simple script that will calculate your golf handicap index according to the USGA's formula. Each round of golf is first calculated with the USGA'a formula of of (Score - Course Rating) * 113 /Slope Rating. Depending on the number of rounds entered, a certian number of lowest rounds are then dropped. An average of the remaining differentials is calculated. The average is then multiplied by .96 to get the final handicap index.
Fri, 15 Feb 2008 15:01:57 GMT
This is a sub-routine that can sort an array in ascending or descending order. It works by running the array, then as a temporary variable is holding the value of that item, it loops through the array again an compares the temporary value to all the other values in the array and reassigns the temporary value to the current array number depending on of you are sorting it ascending or descending. You could compare it to a ladder. The sub-routine will move the temporary value up or down the ladder accordingly and shift the other values in the array to make room for it. In the example shown, I have two methods of declaring arrays and how to use them with this sub-routine.
Fri, 25 Jan 2008 15:42:38 GMT
This is a simple monthly calendar that allows you to select the month and year then generates the calendar for the year. Because of the way it works and with only a minimal amount of calculations, it makes it very easy to modify or manipulate. Since the calendar is rendered from a starting date to an ending date, that also simplifies being able to run a query on dates against a database to check for events or schedules.
Fri, 25 Jan 2008 06:35:13 GMT
This is a function that will automatically (based on U.S. time changes) will determine if your date/time is during the standard time period or during the daylight saving time period. An example of this may be if you are pulling data out of a database to create an RSS file where the time zone must be specified to conform (and be valid) to the RSS 2.0 Specifications.
Thu, 17 Jan 2008 17:53:42 GMT
This is a script that will help you create a database driven secondary html select based off the selection of a database driven primary html select. This script uses a combination of ASP, JavaScript and AJAX to display the options. It will fill a second dropdown without refreshing or reloading your html page or form.
Fri, 19 Oct 2007 16:38:29 GMT
This is an easy and simple ASP script that will import, read and display RSS data feeds. It uses Microsoft.XMLDOM to import and process the code. The way this code works, there is no need to use an external XSL style sheet since all the formatting is done right within the script.
Fri, 19 Oct 2007 09:36:57 GMT
If your server is in the Eastern time Zone and you are in the Pacific time zone, and you would like to get some accurate times without having to think as much. For example, you are keeping some kind of page hit log and you would like to see the time/date stamp in your time zone instead of the servers time zone.
Fri, 19 Oct 2007 08:42:37 GMT
This is a function that will convert a number into Roman numerals. It takes a look at each place value then converts it into the appropriate roman mumeral value. This function also includes proper formatting of values of 4,999 up to 3,999,999,999.
Sun, 01 Jul 2007 08:34:55 GMT
This is a simple ASP script to keep bots from automatically submitting your forms for what ever reason for example an email form or a form to submit a post to a guestbook or blog. Using a combination of random numbers, VBScript escape codes and hexadecimal values, it will generate two separate codes, one for the user to submit and one to check against once the form is submitted.
Thu, 21 Jun 2007 17:11:06 GMT
How to display data results from a query in a multiple column table listing the data vertically from top to bottom, similarly to newspaper format. Here is a process that can do that for you and even give you the flexibility to change only the number of columns and the data that is displayed.
Wed, 20 Jun 2007 15:59:20 GMT
As you may already know, RSS feeds need to have their PubDate formatted properly to use. You may also know that most databases do not store a date in the same format as a RSS Data feed requires. This is a quick and easy way format your date into the required proper RSS PubDate.
Wed, 20 Jun 2007 13:28:07 GMT
This function checks for just about anything I can think of for an email address to not be a valid formatted email address short of pinging the domain or sending an actual email and it returns a simple true or false.
Mon, 11 Jun 2007 16:08:27 GMT
This script shows how to create a simple bar graph based on numbers pulled from a database. You can use it to compare just about any kind of percentage data. This script takes your highest number and uses it as your base of 100%.
Mon, 11 Jun 2007 10:36:46 GMT
This script is a sub routine that will select a random image from a folder then display it to the screen. It is the same script that is used on the home page of
Mon, 11 Jun 2007 10:05:57 GMT
This script is one of those fun, but almost useless scripts, It converts any string inputed into an ASCII code string, Hexadecimal code string, Octal code string, Binary code string, Server.URLEncode string, and Server.HTMLEncode string.
Wed, 06 Jun 2007 17:03:57 GMT
This is the script that runs the photo galley on There are many different ways to do a photo galley. This one is a way to do it without a database allowing you to just upload new photos, graphics and images to a folder and then not worry about it.
Wed, 06 Jun 2007 15:12:55 GMT
Quick and easy utility to find all the numbers that will divide evenly into a number. This quick and simple utility may help in setting up large tables. For example if I know I will have 4096 table cells, I will find out quickly that I could have a table of 256 rows of 16 cells each. Good example of a For...Next loop and use of Mod.
Wed, 06 Jun 2007 13:31:47 GMT
Let's say you have a list of quotes or any other list and you would like to display them in a random order whenever anyone access your page. This code will take your list of quotes, descriptions, or whatever and display them in a random order, dispaying them all without repeating any of them.
Wed, 06 Jun 2007 12:31:21 GMT
This script shows how to use XMLHTTP to transfer a file (or list of files) from a remote server (or domain) to the server that this script is running on. This example also checks to see if the files exists. If it does, it deletes the existing file then creates the new file. Otehrwise, it will not create the new file.
Wed, 06 Jun 2007 10:13:31 GMT
This is an HTML color reference chart that displays 4096 colors and gives you the option to choose a different background color.
Tue, 29 May 2007 16:09:07 GMT
This script cycles through and outputs all of the server variables (Request.ServerVariables) that are available on this server.
Thu, 31 May 2007 13:29:28 GMT
A script that will display the cookies for the domain that it resides along with their values and key values if they exist. Great utility to check if the cookies are holding the values you expected.
Wed, 06 Jun 2007 12:03:23 GMT
This is a reference chart to the codes to display special characters in VB applications (known as VB Chr Codes) or in HTML (known as decimal codes or HTML Escape Codes). There is also a select list for fonts, so you can see what fonts can return other special symbols, like webdings and etc.
Tue, 29 May 2007 11:43:20 GMT
This is a reference chart to the codes to type special characters using the "Alt" key and number pad on your keyboard. It is not necessarily for web development since it works in any text program. such as MS Word, Notepad or any other text editor. For example if you hold down "Alt" on your keyboard and type 0169 on your number pad your will get the copyright symbol. Alt+9733 will give you a solid colored star.
Tue, 29 May 2007 10:39:47 GMT
© 1967 - 2017 Soren Winslow