Though not a major feature, I am very pleased to see the cffinally tag in the ColdFusion 9 Beta. I have always missed the full try/catch/finally construct found in other languages. While you could manually structure your code to simulate it, the absence of a finally clause makes it easier to …
I was pleasantly surprised to see these announcements a short while ago: ColdFusion 9 and ColdFusion Builder in the wild Adobe releases public beta of ColdFusion 9 and ColdFusion Builder
A few weeks ago I had problems importing a java project into Eclipse. I ended up with a "General" project, instead of a "Java" project, which meant the build path option was disabled. With the help of this useful tip it was fixed in seconds. Eclipse: Changing a General project to a Java project
A recent response by Peter Boughton on stackoverflow.com pointed out a commonly overlooked technique for handling multiple selections from a set of database values. Well it reminded me that I wanted to write a small entry on the bizarrely underused INSERT/SELECT method. (Now chances are if you …
I read a question last week about creating a flash cfchart pie chart with a transparent background. For whatever reason I was convinced this was a simple task, and could have sworn I had done it before. Well it seems I was wrong and must now eat crow. After checking the trusty webchart3d utility …
I saw a question the other day about how to rename query columns with invalid names. Now in the poster's case, renaming really was not needed. Like most query ills it was solved with a simple bit of array notation: #queryName["column-name"][rowNumber]# But in the process I did stumble upon …
Once every blue moon, I am reminded of the fact that you cannot create a null character in ColdFusion. At least not in any of the ways you would expect. When the moon rises, I quickly run through the logical possibilities chr(0), javacast("char", chr(0)), etcetera. Only to find they do not work. …
A brief addendum to Part 2 . Here is an example of using a OpenXMLViewer.exe from a .bat file. Just update the directory to match the location of the OpenXMLViewer folder on your system. Note, the cd (change directory) statement in the first line is important. If you have not added the …
In a Part 1 I mentioned two interesting projects for converting docx files. The first one is the OpenXML Document Viewer Project , which can be used to convert docx files to html. The server version is a small executable that can be used with cfexecute. The small program accepts three arguments: …
So a while back I was looking into open source tools that could be used to covert RTF or MS Word files to HTML and/or PDF format. Eventually, I stumbled across two projects with some good potential, at least for the newer .docx format. I decided to focus on the newer format only, and not the …