'ASP Code' Category

Code, functions and tutorials to solve common and not-so-common problems with ASP

April 3rd, 2006

CSS Tabs With a Bit of JavaScript

This CSS2 code will enable you to display the separate pages of your application in an intuitive tabbed interface. I use JavaScript to create the linked buttons, and an array of links to display the tabs. This code snippet also provides both the ASP and the PHP code to process the array and output the [...]

April 1st, 2006

Perform an NSLookup From an ASP Page

This subroutine will perform an nslookup of a server based on an IP address, and output the returned data to a text file. It will then parse the text file (using FileSystemObject), and output the information to the user's browser. The text file is then deleted.

April 1st, 2006

Ping a Remote Address with ASP

This subroutine will ping a server based on an IP address and output the returned data to a text file. It will then parse the text file, and output the information to the user's browser.

March 22nd, 2006

ASP.Net - Easy String Formatting

With classic ASP, string formatting and concatenation can be more than a pain. Line after line of 'strSQL = strSQL & "more text"' can be painful and very problematic. With ASP.Net and C# however, I've recently discovered the beauty of string.Format(), and just how easy it is to build strings with it.

March 20th, 2006

How to Upload Files With ASP

This code will enable you to create the necessary object and functions in your ASP code to upload files from a form. You don't need to purchase, install, or configure any 3rd party components, you can just copy this code straight into your application to enable client file uploading!

« Previous PageNext Page »