ASP Classic 301

Active Server Pages for web development. Code here can also be used in VBA, VBA-Excel or VB6
Sorted from new to old.
Card image
GetAttr

Reads attributes of a file using FSO. Return will be a string of RHSA ...

Card image
RandomImage

Gets a random image from a folder of files, passed as an unMapPathed (HTML) ...

Card image
IsThere1_Remote

Checks if a file is found from a URL, finds a file in a remote server

Card image
IsThere1_Folder

Checks if a folder is found or not, can pass either mapped path or unmapped ...

Card image
DigitsORLettersOnly

Check if the string has special characters or not, only Letters or digits ...

Card image
AmIMobile

Check if browser is for a mobile or tablet, or not. This was before we have ...

Card image
FoldersIn5

Creates list of subfolders and subfolders of each down to 5 levels Folder ...

Card image
UserSign

Returns someones astrology sign using their birthday in m/dd/yyyy or m/dd/yy ...

Card image
CutString_Words_Left + CutString_Words_Mid

Cuts the left or Middle part of string without breaking words Can specify ...

Card image
Prn

Printout into page, along with additional function to decide where to put the ...

Card image
GetConfigValue

Read settings from Web.config file (or other XML files) Originally from ...

Card image
FoldersIn

Returns list of folders found in given folder in a string in ANStr format, ...

Card image
Base64encode + Base64decode

Encodes and decodes a string, Base64 is used to convert binary data (like ...

Card image
Posts_per_Year

Gets list of years and total of posts per year from a table, by using date ...

Card image
RandomRecords

Returns random IDs (or any column) from SQL Database table, passing number of ...

Card image
MSSQL DB Connection

Connects to MSSQL database from Classic ASP All DB variables need to be ...