SAMPLES - ASP CODE    


* NOTE : To use any of these ASP class modules, you need to put them on a server running MS IIS 4.0, 5.0, or better.

* NOTE : If you have problems downloading these files, try holding the <SHIFT> key and left-click on the URL of the file.  If that doesn't work, right-click on the URL of the file and select "Save Target As..." or "Save Link As..."

    Name:   Description:   Required:
ASP_Sample_
PicsInDir.asp
    
This ASP code causes the server to take the specified directory and searches it for all specified images, then generates an HTML web page which displays those images in a neat table.

NOTE: The pictures are displayed in their actual size... so if you have HUGE images in this direcetory, your table won't look too good.   =)

This code uses the "Microsoft Scripting Runtime" (SCRRUN.DLL) to create a server object ("Scripting.FileSystemObject") which does the file searching.  This runtime is installed by default on IIS 4.0 and better.

  MS Scripting
  Runtime
  [SCRRUN.DLL]
  (Server Side)

GetHtmlSource.asp     
This ASP page allows you to get the source of another web page via the user of Microsoft's MSXML DOM from within your ASP web page.

  MSXML 2.0

PopulateSelect.asp     
This ASP page is designed to be "popped up" by another ASP or HTML web page and take in pre-defined parameters to dynamically populate an HTML SELECT ListBox or ComboBox based on the ADODB.Recordset returned from the specified query string and database connection.  This allows you to populate an HTML ListBox or ComboBox "on the fly" on the client side (using JavaScript) based on information returned from a database on the server side.

  MDAC v2.5
  (or better)

       

MAIN   |  DOWNLOADS  |  SAMPLE CODE  |  STEP BY STEP  |   DISCUSSION BOARD  |  LINKS  |  AUTHOR
E-MAIL