Back

AKH Online, Inc

Home

Code Notes

These are individual samples of coding problems and solutions, used primarily for personal reference and peer review. There is little exposition here.

 

ColdFusion "FormatName" function
ColdFusion "FormatName" function

CF gives us FormatDate, FormatTime & FormatNumber out of the box. Here's a little function to provide a similar "FormatName" feature too.

View Stored Procedure 'Source Code' using CFML
View SQL Objects with CFML

Leveraging a ColdFusion datasource connection to view MS-SQL compiled object definitions - when you don't have access to an IDE.

List All Mura Site Advertisers
Mura CMS - Advertisers

The Mura open-source Content Management System has Advertising Management built-in. Here's a quick way to list all the sponsors and their logos on a single page.

How to Style your Flex Application
Flex Stylesheets

I've built you a Flex app and sent you a stylesheet to customize it. Now what?

QR Code generation from OpenBD
QR Code generation from OpenBD

OpenBD (Blue Dragon), Railo and Lucee are open source versions of CFML (Adobe's ColdFusion version is licensed). Here's how to dynamically generate QR Codes using the zxing Java library.

Flash Forms and IE's Unspecified Error
Flash Forms and IE's Unspecified Error

Internet Explorer throws a "Unspecified Error" error dialog box when working with (Macromedia's old) Flash forms.

Flex Spark ComboBox Background Color
ComboBox Background Color

Styling the background color of the newer Flex ComboBox.

Getting MarkAsJunk2 to Work on Roundcube
Roundcube & MarkAsJunk2

Roundcube is an open source IMAP email (ie Webmail) client, for which developers have authored various plugins. Often they work fine...

SQL Error: Could not find prepared statement with handle...
SQL Handle Error

SQL Server can't find a prepared statement with handle... huh??

Oracle to SQL Server via ColdFusion
Oracle to SQL Server via ColdFusion

ColdFusion template for copying a simple Oracle database table over to Microsoft SQL Server.

Full Version