<?xml version="1.0" encoding="utf-8"?>
			
			<rss version="2.0">
			<channel>
			<title>WebDH blog</title>
			<link>http://blog.webdh.com/index.cfm</link>
			<description>This is Troy&apos;s blog for WebDH.com LLC.</description>
			<language>en-us</language>
			<pubDate>Mon, 06 Sep 2010 12:22:42 -0700</pubDate>
			<lastBuildDate>Sat, 20 Mar 2010 17:16:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>webdh.com@gmail.com</managingEditor>
			<webMaster>webdh.com@gmail.com</webMaster>
			
			<item>
				<title>Using ColdFusion with a stubborn MS Access Date/Time field</title>
				<link>http://blog.webdh.com/index.cfm/2010/3/20/Using-ColdFusion-with-a-stubborn-MS-Access-DateTime-field</link>
				<description>
				
				I have a small application using a MS Access database. Yes, I know all the reasons why it shouldn&apos;t be used, let&apos;s not go there. Fact is, many developers still use Access for small apps, prototyping, etc, and may come across the same roadblock in which I figured out a solution. For reference, today&apos;s date is &lt;strong&gt;3/19/2010&lt;/strong&gt; which was used in the query examples shown.
&lt;br /&gt;&lt;br /&gt;

&lt;strong&gt;Requirement:&lt;/strong&gt; Query a table of Jobs (JobTitle, Dept, Salary, etc) that contains a Date/Time field named PostingEndDate. This field is configured as Required = No. That means the admin user who populates records in the table will either supply a date, or may leave the date blank.  Think of it as a field that allows NULL in MS SQL. On the end-user side, the query needs to list only current jobs by filtering the records where:&lt;br /&gt;
1) PostingEndDate has not passed today&apos;s date&lt;br /&gt;
OR&lt;br /&gt;
2) PostingEndDate is empty (blank value means the Job can be displayed to the user indefinitely)

Here is a cfdump (jobList_raw) of all records:
&lt;code&gt;
SELECT   JobID, DeptID, JobTitle, Salary, PostingEndDate
FROM     tblJob 
WHERE 	 ActiveJob = 1
ORDER BY JobTitle
&lt;/code&gt;
&lt;img src=&quot;/images/posts/1_rawdata.jpg&quot;&gt;
&lt;br /&gt;&lt;br /&gt;

&lt;strong&gt;Problem:&lt;/strong&gt; no easy way to write the WHERE clause. Here are some attempts:&lt;br /&gt;
1) Len(PostingEndDate) = 0&lt;br /&gt;
No error, but does not pick up those with blank dates:
&lt;code&gt;
SELECT   JobID, DeptID, JobTitle, Salary, PostingEndDate
FROM     tblJob 
WHERE 	 ActiveJob = 1
AND   (Now() &lt;= PostingEndDate OR Len(PostingEndDate) = 0)
ORDER BY JobTitle
&lt;/code&gt;

2) PostingEndDate = &apos;&apos;&lt;br /&gt;
Generates error: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Data type mismatch in criteria expression. &lt;br /&gt;
We can&apos;t compare the date field to an empty string.
&lt;code&gt;
SELECT   JobID, DeptID, JobTitle, Salary, PostingEndDate
FROM     tblJob 
WHERE 	 ActiveJob = 1
AND   (Now() &lt;= PostingEndDate OR PostingEndDate = &apos;&apos;)
ORDER BY JobTitle
&lt;/code&gt;

3) Cstr(PostingEndDate) = &apos;&apos;&lt;br /&gt;
Generates error: [Macromedia][SequeLink JDBC Driver][ODBC Socket][Microsoft][ODBC Microsoft Access Driver] Invalid use of Null&lt;br /&gt; 
This was my attempt to Cast the date to a string using an Access function. Guess not.
&lt;code&gt;
SELECT   JobID, DeptID, JobTitle, Salary, PostingEndDate
FROM     tblJob 
WHERE 	 ActiveJob = 1
AND   (Now() &lt;= PostingEndDate OR Cstr(PostingEndDate) = &apos;&apos;)
ORDER BY JobTitle
&lt;/code&gt;
&lt;br /&gt;

&lt;strong&gt;Solution:&lt;/strong&gt; write a ColdFusion Query of Query (QoQ) to UNION the two conditions into one resultset. Here are the steps that lead to the final solution.&lt;br /&gt;
1) I still need a way to get a string representation (varchar) of the date field. So I added another column (PostingEndDate_str) to the Query object.
&lt;code&gt;
&lt;cfset QueryAddColumn(jobList_raw,&quot;PostingEndDate_str&quot;,&quot;varchar&quot;,Arraynew(1))&gt;
&lt;/code&gt;

2) Loop query and populate the new varchar field. This was intended to produce a blank string for what cfdump showed as [empty string]. Then I should be able to use: PostingEndDate = &apos;&apos; 
&lt;code&gt;
&lt;cfloop query=&quot;jobList_raw&quot;&gt;
	&lt;cfset QuerySetCell(jobList_raw, &quot;PostingEndDate_str&quot;, &quot;#PostingEndDate#&quot;,currentrow)&gt;
&lt;/cfloop&gt;
&lt;/code&gt;
NOPE! Still see [empty string] in the new field, THIS BECAME THE HAIR PULLING MOMENT OF THE SOLUTION AT THIS POINT, SO I STARTED GOOGLE SEARCHING.&lt;br /&gt;
&lt;img src=&quot;/images/posts/2_str_empty.jpg&quot;&gt;

I decided to try using &apos;-&apos; before and after the value, a trick I noticed in &lt;a href=&quot;http://www.bennadel.com/blog/379-ColdFusion-Query-of-Queries-Unexpected-Data-Type-Conversion.htm&quot;&gt;Ben Nadel&apos;s blog&lt;/a&gt;:
&lt;code&gt;
&lt;cfloop query=&quot;jobList_raw&quot;&gt;
	&lt;cfset QuerySetCell(jobList_raw, &quot;PostingEndDate_str&quot;, &quot;-#PostingEndDate#-&quot;,currentrow)&gt;
&lt;/cfloop&gt;
&lt;/code&gt;
Now I see &quot;--&quot; for all those [empty string] values, much better. I can work with that in the QoQ.&lt;br /&gt;
&lt;img src=&quot;/images/posts/3_str_dashes.jpg&quot;&gt;

3) Last is the Query of Query UNION.
&lt;code&gt;
SELECT	JobID, DeptID, JobTitle, Salary, PostingEndDate
FROM    jobList_raw 
WHERE   #ParseDateTime(DateFormat(Now(),&apos;mm/dd/yyyy&apos;))# &lt;= PostingEndDate  &lt;!--- Lefthand expression will format Now() as: 2010-03-19 00:00:00.0 ---&gt;
UNION
SELECT	JobID, DeptID, JobTitle, Salary, PostingEndDate
FROM    jobList_raw 
WHERE 	 PostingEndDate_str = &apos;--&apos;  &lt;!--- [empty string] dates will contain this value from the QuerySetCell loop executed above ---&gt;
ORDER BY JobTitle
&lt;/code&gt;

Here is the final recordset. It correctly leaves the Architect job filtered out because its PostingEndDate of Mar 9, 2010 has passed. The Mortgage Processor and Supervisor jobs with blank dates are kept in the results!&lt;br /&gt;
&lt;img src=&quot;/images/posts/4_no_architect.jpg&quot;&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<category>SQL</category>				
				
				<pubDate>Sat, 20 Mar 2010 17:16:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2010/3/20/Using-ColdFusion-with-a-stubborn-MS-Access-DateTime-field</guid>
				
			</item>
			
			<item>
				<title>Excited for special ColdFusion Builder event in St. Paul on March 23</title>
				<link>http://blog.webdh.com/index.cfm/2010/3/17/Excited-for-special-ColdFusion-Builder-event-in-St-Paul-on-March-23</link>
				<description>
				
				Josh Adams, Adobe Senior Solutions Engineer for ColdFusion, will be presenting live as part of a special CFUG tour. Josh will bring us the latest details and demonstration of the new Eclipse based IDE, ColdFusion Builder. We are planning for a fun event hosted at our usual user group location, &lt;a href=&quot;http://www.easeltraining.com/locations.htm&quot;&gt;Easel Solutions&lt;/a&gt;. Adobe is shipping us some special event swag as well, so be there for chance to take home a unique prize. Hope to see a packed house, register now!

&lt;a href=&quot;http://www.colderfusion.com/CFBuilder10.cfm&quot;&gt;www.colderfusion.com/CFBuilder10.cfm&lt;/a&gt;

Date: Tuesday, March 23, 2010

Agenda:&lt;br /&gt;
5:45 Food and Social&lt;br /&gt;
6:30 Presentation begins&lt;br /&gt;
8:15 Q &amp; A - Prizes&lt;br /&gt;
8:30 After party at local bar TBD

Location: Easel Solutions, St. Paul, MN

Updated 3/24/2010&lt;br /&gt;
We had a great event, here are some pics!
&lt;table style=&quot;width:194px;&quot;&gt;&lt;tr&gt;&lt;td align=&quot;center&quot; style=&quot;height:194px;background:url(http://picasaweb.google.com/s/c/transparent_album_background.gif) no-repeat left&quot;&gt;&lt;a href=&quot;http://picasaweb.google.com/tccfug/ColdFusionBuilderJoshAdamsMarch2010?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh3.ggpht.com/_8EIHSD0NziE/S6oCy9g-XUE/AAAAAAAAAUQ/6yYOWWZdFx8/s160-c/ColdFusionBuilderJoshAdamsMarch2010.jpg&quot; width=&quot;160&quot; height=&quot;160&quot; style=&quot;margin:1px 0 0 4px;&quot;&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center;font-family:arial,sans-serif;font-size:11px&quot;&gt;&lt;a href=&quot;http://picasaweb.google.com/tccfug/ColdFusionBuilderJoshAdamsMarch2010?feat=embedwebsite&quot; style=&quot;color:#4D4D4D;font-weight:bold;text-decoration:none;&quot;&gt;ColdFusion Builder - Josh Adams - March 2010&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 17 Mar 2010 21:56:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2010/3/17/Excited-for-special-ColdFusion-Builder-event-in-St-Paul-on-March-23</guid>
				
			</item>
			
			<item>
				<title>ColdFusion UG Tour coming to St. Paul June 11</title>
				<link>http://blog.webdh.com/index.cfm/2009/5/31/ColdFusion-UG-Tour-coming-to-St-Paul-June-11</link>
				<description>
				
				I&apos;m thrilled to report that &lt;a href=&quot;http://www.forta.com&quot;&gt;Ben Forta&lt;/a&gt; is visiting the Twin Cities again as part of the Adobe &lt;a href=&quot;http://groups.adobe.com/resources/3cfaadbc5e/summary&quot;&gt;worldwide user group tour&lt;/a&gt; for the upcoming versions of ColdFusion and Flex.  I got the official word a few weeks ago and have been head down in planning mode ever since. Figuring attendance will bust down the doors at Easel Solutions, we needed a bigger venue, so I made a bunch of calls, sent emails, and even visited one potential location. In the end we choose the University of St. Thomas, St. Paul Campus and I think it is going to work out great.

I want to thank the TCCFUG&apos;s co-manager, Ben Ellefson, for major work on the event registration website. It&apos;s now live and I urge you to get this on your calendar and &lt;a href=&quot;http://colderfusion.com/forta09.cfm&quot;&gt;register now&lt;/a&gt;. This is one user group meeting you will not want to miss, plus you&apos;ll be fed and could win an IPod touch to boot.

Hope to see you there!

Updated 6/12/2009&lt;br /&gt;
We had a great event, here are some pics!
&lt;table style=&quot;width:194px;&quot;&gt;&lt;tr&gt;&lt;td align=&quot;center&quot; style=&quot;height:194px;background:url(http://picasaweb.google.com/s/c/transparent_album_background.gif) no-repeat left&quot;&gt;&lt;a href=&quot;http://picasaweb.google.com/tccfug/AdobeCF9Flex4UGTourStPaul2009?feat=embedwebsite&quot;&gt;&lt;img src=&quot;http://lh6.ggpht.com/_8EIHSD0NziE/SjEt5--eMqE/AAAAAAAAANw/kUTyq24jp14/s160-c/AdobeCF9Flex4UGTourStPaul2009.jpg&quot; width=&quot;160&quot; height=&quot;160&quot; style=&quot;margin:1px 0 0 4px;&quot;&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;tr&gt;&lt;td style=&quot;text-align:center;font-family:arial,sans-serif;font-size:11px&quot;&gt;&lt;a href=&quot;http://picasaweb.google.com/tccfug/AdobeCF9Flex4UGTourStPaul2009?feat=embedwebsite&quot; style=&quot;color:#4D4D4D;font-weight:bold;text-decoration:none;&quot;&gt;Adobe CF9/Flex4 UG Tour St. Paul 2009&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt; 
				</description>
				
				<category>Conferences</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Sun, 31 May 2009 23:36:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/5/31/ColdFusion-UG-Tour-coming-to-St-Paul-June-11</guid>
				
			</item>
			
			<item>
				<title>Completed my first Flash project</title>
				<link>http://blog.webdh.com/index.cfm/2009/4/30/Completed-my-first-Flash-project</link>
				<description>
				
				Over the past two months, I&apos;ve been working with a new client on a Flash project. She happens to be a former co-worker in my Creative Internet Solutions days back in 1999-2000. We reconnected on Facebook and I learned about a new &lt;a href=&quot;http://www.heddyfreddy.com/&quot;&gt;women&apos;s handbag system&lt;/a&gt; she was developing and needed a Flash demo for her website. We met for lunch so I could see the prototype handbags firsthand and she had a basic script on paper of how she wanted it to look and flow. From there I dove into some Lynda.com training and also picked up some best practices from a couple Flash gurus I know. After a few revisions, she had exactly what she wanted and was very happy with the end result.

&lt;a href=&quot;#&quot; onclick=&quot;JavaScript:window.open(&apos;http://www.webdh.com/clients/heddy_freddy/flash.html&apos;,&apos;flash&apos;,&apos;width=575,height=450,screenX=200,screeny=150,status=no,scrollbars=no,menubar=no,location=no,resizable=no&apos;)&quot;&gt;Heddy Freddy handbag system Flash demo&lt;/a&gt; 

Client quote: &quot;Thanks so much for the great animation, it&apos;s just what I imagined!&quot; 
				</description>
				
				<category>Flash</category>				
				
				<pubDate>Thu, 30 Apr 2009 13:19:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/4/30/Completed-my-first-Flash-project</guid>
				
			</item>
			
			<item>
				<title>How to send a fax using Ooma</title>
				<link>http://blog.webdh.com/index.cfm/2009/3/9/How-to-send-a-fax-using-Ooma</link>
				<description>
				
				We just got an &lt;a href=&quot;http://www.ooma.com&quot; target=&quot;_blank&quot;&gt;Ooma&lt;/a&gt; VOIP phone system ($220 deal right now at Costco) and I&apos;ve been testing exactly how I&apos;ll position the Hub and Scout in our house. I also wanted to make sure our fax machine will work. We don&apos;t fax very often, but it&apos;s sure nice to have when when needed (usually about once a month.)  Ooma says to position a fax machine with direct phone line connection to the Hub.  I tried this, but it wasn&apos;t working. I could hear the high pitch &quot;faxing sound&quot;, but after that, the connection would fail.  I found a web forum with an easy solution, simply prefix the number you are dialing with *99 and it works!  Here is the &lt;a href=&quot;http://forums.ooma.com/viewtopic.php?f=6&amp;t=114&quot; target=&quot;_blank&quot;&gt;Ooma forum link&lt;/a&gt;. Ok, now I just need to get our home phone number ported and it will be time to drop Comcast phone service and save $40 per month! 
				</description>
				
				<category>Ooma</category>				
				
				<pubDate>Mon, 09 Mar 2009 14:15:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/3/9/How-to-send-a-fax-using-Ooma</guid>
				
			</item>
			
			<item>
				<title>ColdFusion page added to SalesForce wiki</title>
				<link>http://blog.webdh.com/index.cfm/2009/3/3/ColdFusion-page-added-to-SalesForce-wiki</link>
				<description>
				
				Today I added a section for &lt;b&gt;Adobe ColdFusion&lt;/b&gt; to the SalesForce Developer Wiki under the &lt;a href=&quot;http://wiki.apexdevnet.com/index.php/Web_Services_API&quot; target=&quot;_blank&quot;&gt;Web Services API&lt;/a&gt; section. 

I then added the first code sample article, showing how to do a &lt;a href=&quot;http://wiki.apexdevnet.com/index.php/Basic_Web2Lead_Implementation&quot; target=&quot;_blank&quot;&gt;Basic Web2Lead Implementation&lt;/a&gt;. I looked at a similar PHP sample done by Wayne Abbott as the basis for my article.

Hopefully this will spur others in the CF Community to start adding more content to this wiki and spread the knowledge of CF as a viable web development platform. 
				</description>
				
				<category>SalesForce</category>				
				
				<pubDate>Tue, 03 Mar 2009 16:02:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/3/3/ColdFusion-page-added-to-SalesForce-wiki</guid>
				
			</item>
			
			<item>
				<title>Tips for testing web-to-lead on SalesForce sandbox server</title>
				<link>http://blog.webdh.com/index.cfm/2009/3/3/Tips-for-testing-webtolead-on-SalesForce-sandbox-server</link>
				<description>
				
				The SalesForce Web-to-Lead URL is well known to be: 
https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8

If you have access to a Sandbox server to do your development, you may want to test Web-to-Lead against it. You first should go into the setup area to find your OID (Organization ID) which will differ from your production OID. Find this from SalesForce&apos;s top &quot;Setup&quot; link. Then drill down into the left navigation menu:&lt;br&gt;
App Setup / Customize / Leads / Web-to-Lead&lt;br&gt;
Make sure the checkbox for Web-to-Lead Enabled is checked. Then click the &quot;Create Web-to-Lead Form&quot; button. On the next page, keep all selected fields as defaults and click the &quot;Generate&quot; button. Look in the generated HTML output for your unique OID which is given in the first hidden form field. You should see lines of code like this:

&lt;code&gt;
&lt;!--  ----------------------------------------------------------------------  --&gt;
&lt;!--  NOTE: Please add the following &lt;META&gt; element to your page &lt;HEAD&gt;.      --&gt;
&lt;!--  If necessary, please modify the charset parameter to specify the        --&gt;
&lt;!--  character set of your HTML page.                                        --&gt;
&lt;!--  ----------------------------------------------------------------------  --&gt;

&lt;META HTTP-EQUIV=&quot;Content-type&quot; CONTENT=&quot;text/html; charset=UTF-8&quot;&gt;

&lt;!--  ----------------------------------------------------------------------  --&gt;
&lt;!--  NOTE: Please add the following &lt;FORM&gt; element to your page.             --&gt;
&lt;!--  ----------------------------------------------------------------------  --&gt;

&lt;form action=&quot;https://www.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8&quot; method=&quot;POST&quot;&gt;

&lt;input type=hidden name=&quot;oid&quot; value=&quot;youroidhere&quot;&gt;
&lt;/code&gt;

Remember, you are developing for tests against the Sandbox server, so you will need to modify the Form action to match the URL of your Sandbox homepage. Look at your Sandbox url and replace &quot;www&quot; with the proper subdomain, such as &quot;cs2&quot; in this example. &lt;br&gt;
Example Sandbox homepage: https://cs2.salesforce.com/home/home.jsp &lt;br&gt;
New Web-to-Lead Form action: https://cs2.salesforce.com/servlet/servlet.WebToLead?encoding=UTF-8 
				</description>
				
				<category>SalesForce</category>				
				
				<pubDate>Tue, 03 Mar 2009 14:14:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/3/3/Tips-for-testing-webtolead-on-SalesForce-sandbox-server</guid>
				
			</item>
			
			<item>
				<title>Update your Twitter status from ColdFusion using a JSP tag library</title>
				<link>http://blog.webdh.com/index.cfm/2009/2/4/Update-your-Twitter-status-from-ColdFusion-using-a-JSP-tag-library</link>
				<description>
				
				Today I wanted to find an easy way to put a status update into my Twitter account using ColdFusion. I went searching the API docs, and found this page.

&lt;a href=&quot;http://apiwiki.twitter.com/Libraries&quot; target=&quot;_blank&quot;&gt;http://apiwiki.twitter.com/Libraries&lt;/a&gt;

Unfortunately, there are no CF examples listed, boo! However, there are some for Java, so I continued my search in that direction. Eventually I found this JSP taglib, and decided to give it a &quot;Twirl&quot; :)

&lt;a href=&quot;http://www.servletsuite.com/servlets/twittertag.htm&quot; target=&quot;_blank&quot;&gt;http://www.servletsuite.com/servlets/twittertag.htm&lt;/a&gt;

To use any JSP taglib, you simply drop the .jar file into your /webroot/WEB-INF/lib/ directory. I believe it also requires the Enterprise edition of ColdFusion. A &lt;a href=&quot;http://coldfusion.sys-con.com/node/41747&quot; target=&quot;_blank&quot;&gt;good article&lt;/a&gt; that fully explains their usage was done by Charlie Arehart back in May 2002.

After copying the file, you must then restart ColdFusion. This is a must or you will get an error when attempting to import the library. 

That&apos;s it, I was now ready to test a Twitter post. Here is the sample code I used that will put a new status message in my Twitter account. I saved this in a file twitter.cfm, then browsed to the page on my local machine as http://localhost/twitter.cfm 
&lt;code&gt;
&lt;cfimport taglib=&quot;/WEB-INF/lib/twittertag.jar&quot; prefix=&quot;twitter&quot;&gt; 
&lt;twitter:update user=&quot;your_username_here&quot; password=&quot;your_password_here&quot; id=&quot;result&quot;&gt;
My posting to Twitter from CF &lt;cfoutput&gt;#now()#&lt;/cfoutput&gt; 
&lt;/twitter:update&gt; 
&lt;/code&gt;

Upon success, an XML dataset is returned in the &quot;result&quot; variable. If you cfdump it, looks like this.
&lt;code&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&gt; &lt;status&gt; &lt;created_at&gt;Wed Feb 04 21:29:26 +0000 2009&lt;/created_at&gt; &lt;id&gt;1177644114&lt;/id&gt; &lt;text&gt;My posting to Twitter from CF {ts &apos;2009-02-04 15:29:28&apos;}&lt;/text&gt; &lt;source&gt;web&lt;/source&gt; &lt;truncated&gt;false&lt;/truncated&gt; &lt;in_reply_to_status_id&gt;&lt;/in_reply_to_status_id&gt; &lt;in_reply_to_user_id&gt;&lt;/in_reply_to_user_id&gt; &lt;favorited&gt;false&lt;/favorited&gt; &lt;in_reply_to_screen_name&gt;&lt;/in_reply_to_screen_name&gt; &lt;user&gt; &lt;id&gt;20062919&lt;/id&gt; &lt;name&gt;Twin Cities CFUG&lt;/name&gt; &lt;screen_name&gt;TCCFUG&lt;/screen_name&gt; &lt;location&gt;St. Paul, MN USA&lt;/location&gt; &lt;description&gt;Adobe ColdFusion User Group -of Minneapolis / St. Paul, Minnesota&lt;/description&gt; &lt;profile_image_url&gt;http://s3.amazonaws.com/twitter_production/profile_images/75391930/colderfusion_twitter_normal.jpg&lt;/profile_image_url&gt; &lt;url&gt;http://groups.adobe.com/groups/bd9082a926/&lt;/url&gt; &lt;protected&gt;false&lt;/protected&gt; &lt;followers_count&gt;0&lt;/followers_count&gt; &lt;/user&gt; &lt;/status&gt;
&lt;/code&gt;

If you fail to restart CF, you will see this TagExtraInfo error message:
&lt;code&gt;
The TagExtraInfo class com.cj.twitter.strVariable for the update tag could not be found.

The CFML compiler was processing:
    * A cfimport tag beginning on line 1, column 2.
&lt;/code&gt;

This is not the best solution if you are in a shared hosting environment, as they may not install the twittertag.jar file for you. I&apos;m curious what other methods developers have found to accomplish status posts to Twitter. 
				</description>
				
				<category>Twitter</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Wed, 04 Feb 2009 15:35:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/2/4/Update-your-Twitter-status-from-ColdFusion-using-a-JSP-tag-library</guid>
				
			</item>
			
			<item>
				<title>ColdFusion UDFs long2ip() and ip2long()</title>
				<link>http://blog.webdh.com/index.cfm/2009/1/6/ColdFusion-UDFs-long2ip-and-ip2long</link>
				<description>
				
				Yesterday I was working on porting some PHP code into ColdFusion. The PHP code was using a function called long2ip(), and I researched this &lt;a href=&quot;http://us3.php.net/manual/en/function.long2ip.php&quot;&gt;PHP Manual&lt;/a&gt; website to learn more about it.  I needed this function in CF, but couldn&apos;t find it at cflib or anywhere else doing a few Google searches. The closest I came was this &lt;a href=&quot;http://www.bpurcell.org/blog/index.cfm?mode=entry&amp;entry=1078&quot;&gt;blog post by Brandon Purcell&lt;/a&gt;, which got me started in the right direction. I learned from what Brandon wrote, along with the comments input by Gabriel Malca (if the function doesn&apos;t exist) at the PHP Manual site and came up with the logic for my CF version of the function.  After I had this working, I figured I better implement the opposite conversion function as well, so I also created ip2long(). Again I found a user comment for when the function doesn&apos;t exist to base my function&apos;s logic. I submitted these to &lt;a href=&quot;http://www.cflib.org&quot;&gt;cflib.org&lt;/a&gt; today, so look for them soon.  

Examples:&lt;br&gt;
long2ip(3401190660) = 202.186.13.4&lt;br&gt;
ip2long(202.186.13.4) = 3401190660

Here is the code for UDFs below:
&lt;code&gt;
&lt;cfscript&gt;
/**
 * Generates an (IPv4) Internet Protocol dotted address (aaa.bbb.ccc.ddd) from the proper address representation. Returns 0 if error occurs.
 * 
 * @param longip Numeric value of the address you want to convert. (Required)
 * @return Returns a String. 
 * @author Troy Pullis (tpullis@yahoo.com) 
 * @version 1, Jan 5, 2009 
 */
function long2ip(longip)
{
	var ip = &quot;&quot;;
	var i = &quot;&quot;;
    if (longip &lt; 0 || longip &gt; 4294967295) 
		return 0;
    for (i=3;i&gt;=0;i--) {
        ip = ip &amp; int(longip / 256^i);
        longip = longip - int(longip / 256^i) * 256^i;
        if (i&gt;0) 
			ip = ip &amp; &quot;.&quot;;
    }
    return ip;
}

/**
 * Converts a string containing an (IPv4) Internet Protocol dotted address (aaa.bbb.ccc.ddd) into a proper address representation.  Returns 0 if error occurs.
 * 
 * @param ip Dotted address value you want to convert. (Required)
 * @return Returns a String. 
 * @author Troy Pullis (tpullis@yahoo.com) 
 * @version 1, Jan 5, 2009 
 */
function ip2long(ip) {
	var iparr = ListToArray(ip,&quot;.&quot;);
	if (ArrayLen(iparr) != 4)
		return 0;
	else 
	 	return iparr[1]*256^3 + iparr[2]*256^2 + iparr[3]*256 + iparr[4];
}
&lt;/cfscript&gt;
&lt;/code&gt; 
				</description>
				
				<category>PHP</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 06 Jan 2009 11:57:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2009/1/6/ColdFusion-UDFs-long2ip-and-ip2long</guid>
				
			</item>
			
			<item>
				<title>CFC for Building a Zip Code Proximity Search with ColdFusion</title>
				<link>http://blog.webdh.com/index.cfm/2008/11/7/CFC-for-Building-a-Zip-Code-Proximity-Search-with-ColdFusion</link>
				<description>
				
				Back in Oct 2005, SysCon &lt;a href=&quot;http://coldfusion.sys-con.com/node/154258&quot; target=&quot;_blank&quot;&gt;published an article&lt;/a&gt; I wrote in CFDJ magazine. Unfortunately, the &lt;a href=&quot;http://www.webmonkey.com/webmonkey/05/32/index4a.html?tw=programming&quot; target=&quot;_blank&quot;&gt;Webmonkey.com&lt;/a&gt; tutorial I originally based my article on has been removed by Wired. I contacted them and hopefully they&apos;ll dig it up and repost it under their new wiki site. In the meantime, here is a link to the CFC file &lt;a href=&quot;http://blog.webdh.com/demos/zipfinder.zip&quot; target=&quot;_blank&quot;&gt;zipfinder.cfc&lt;/a&gt; used in that article. 

One more note... if you make use of my code examples from the CFDJ article, please write your queries using cfqueryparam, which I should have done in the first place. 
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Fri, 07 Nov 2008 15:46:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2008/11/7/CFC-for-Building-a-Zip-Code-Proximity-Search-with-ColdFusion</guid>
				
			</item>
			
			<item>
				<title>Twin Cities CFUG November meeting taking shape</title>
				<link>http://blog.webdh.com/index.cfm/2008/10/28/Twin-Cities-CFUG-November-meeting-taking-shape</link>
				<description>
				
				We have a great meeting planned for both intermediate as well as brand new CF developers. This meeting is Wednesday, Nov 5th at Easel Training.

Room 1) Kurt Wiersma - BlazeDS&lt;br&gt;
Have you ever wondered what BlazeDS is and what it can do? If so this session is for you. We will cover how you can install BlazeDS inside of CF and how CF can communicate with BlazeDS to make Flex applications get real time messages from ColdFusion.

Room 2) Jason Dean - New Developer Breakout Session&lt;br&gt;
This break out session will be an informal meeting for new developers and for developers who are new to CFML. Bring your questions or just learn the basics of ColdFusion.

Both topics will be presented simultaneously in different rooms. Learn more at &lt;a href=&quot;http://colderfusion.com/&quot;&gt;colderfusion.com&lt;/a&gt; 
				</description>
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 28 Oct 2008 09:08:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2008/10/28/Twin-Cities-CFUG-November-meeting-taking-shape</guid>
				
			</item>
			
			<item>
				<title>Dispute with web host gisol.com</title>
				<link>http://blog.webdh.com/index.cfm/2008/10/15/Dispute-with-web-host-gisolcom</link>
				<description>
				
				Today I got into a financial dispute with my hosting provider of the last 8 months, Global Internet Solutions, gisol.com. They totally misrepresented a special rebate offer, whereby I was supposed to get my hosting plan at only $3.57/month. Apparently, they&apos;ve done this to countless others, as this &quot;&lt;a href=&quot;http://www.report-gisol.com/&quot;&gt;report-gisol.com&lt;/a&gt;&quot; website I found today has documented. Warning to all CF developers, never host with this company, they are crooks!

Therefore, this blog is probably going away for the short term until I get going with another host. If/when they shut me down, you can visit my site &lt;a href=&quot;http://home.comcast.net/~webdh/&quot;&gt;here&lt;/a&gt;, setup under my Comcast ISP hosting. Hopefully I&apos;ll be back soon. 
				</description>
				
				<category>Other</category>				
				
				<pubDate>Wed, 15 Oct 2008 23:23:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2008/10/15/Dispute-with-web-host-gisolcom</guid>
				
			</item>
			
			<item>
				<title>Whirlwind trip to BFusion/BFlex was a success</title>
				<link>http://blog.webdh.com/index.cfm/2008/9/9/Whirlwind-trip-to-BFusionBFlex-was-a-success</link>
				<description>
				
				Just got back from the &lt;a href=&quot;http://bflex.info/&quot;&gt;BFusion/BFlex&lt;/a&gt; conference and wanted to summarize my weekend. I joined a few local CF developers and we drove 11+ hours to Bloomington, Indiana to attend this FREE 2-day conference put on by some of the Adobe User Groups in conjunction with Indiana University.

Day 1 was ColdFusion focused, and I was in the Intermediate Track. We spent a full day of hands on training learning about the Mach II framework. This was my first formal exposure to a framework and it was great to get a recap of OO principles and see them in action.

Day 2 was Flex focused and I was in the Beginner Track. We started building a basic photo gallery application following the actual Adobe Flex course materials. I only stayed until noon as we had to get back on the road for the long drive home. Plus, I had a similar training back in April at the local Flex Camp in Minneapolis, so I don&apos;t think I missed too much.

Highlights of the trip:&lt;br /&gt;
- good intro to Mach II, hope to start using it on a small app at work&lt;br /&gt;
- my 2nd exposure to Flex, I really need to put this into a work app soon!&lt;br /&gt;
- met some new CFers and had a good time at The Upland Brewery restaraunt&lt;br /&gt;
- got started on &lt;a href=&quot;http://twitter.com/webdh&quot;&gt;Twitter&lt;/a&gt; and now following over 20 others&lt;br /&gt;
- scored tons of swag for giveaways at CFUG (CF tag posters, Fusion Authority frameworks issue, Flex Authority first issue, etc)&lt;br /&gt;
- won a new book: &lt;a href=&quot;http://www.packtpub.com/coldfusion-8-developer-tutorial/book&quot;&gt;ColdFusion 8 Developer Tutorial&lt;/a&gt;&lt;br /&gt;
- arrived there and back home safely as we covered approx 1400 miles by car 
				</description>
				
				<category>Conferences</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Tue, 09 Sep 2008 15:26:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2008/9/9/Whirlwind-trip-to-BFusionBFlex-was-a-success</guid>
				
			</item>
			
			<item>
				<title>Connect for FREE using Adobe ConnectNow</title>
				<link>http://blog.webdh.com/index.cfm/2008/8/15/Connect-for-FREE-using-Adobe-ConnectNow</link>
				<description>
				
				This week I began using Adobe ConnectNow. This tool is a fantastic, money-saving alternative to WebEx or GoToMeeting for desktop sharing meetings. It is a perfect FREE solution for anyone who needs to share his/her screen with only 1 or 2 other people. I often need this capability at work to help support others using a Web application, or to show my coworker halfway across the country a walkthrough of some new development in progress. The only requirement is the &lt;a href=&quot;http://www.adobe.com/go/getflashplayer&quot; target=&quot;_blank&quot;&gt;Flash player 9 plugin&lt;/a&gt; which most people have installed in their Web browser of choice. 

ConnectNow features include:
&lt;ul&gt;
&lt;li&gt;unique meeting room URL
&lt;li&gt;screen sharing
&lt;li&gt;give desktop control to another user
&lt;li&gt;webcam
&lt;li&gt;chat pod
&lt;li&gt;whiteboard
&lt;/ul&gt;

Learn more about ConnectNow at &lt;a href=&quot;http://www.adobe.com/acom/connectnow/&quot; target=&quot;_blank&quot;&gt;http://www.adobe.com/acom/connectnow&lt;/a&gt;

 
A first-time user must sign up for an Acrobat.com account.&lt;br&gt;
Sign up here - &lt;a href=&quot;https://www.acrobat.com/#/connectnow/ConnectNowBegin&quot; target=&quot;_blank&quot;&gt;https://www.acrobat.com/#/connectnow/ConnectNowBegin&lt;/a&gt;&lt;br&gt;
&lt;img src=&quot;/images/posts/adobeconnect1.jpg&quot;&gt;

After this, you can visit the same URL and sign into your meeting room to start a new meeting.&lt;br&gt;
&lt;img src=&quot;/images/posts/adobeconnect2.jpg&quot;&gt;

Then you simply share your personal URL with up to 2 others to join your meeting for FREE. For example, here is the format of the personal URL, which I would email to my manager, Joe Smith. Then Joe would join my meeting as a guest. &lt;br&gt;
https://connectnow.acrobat.com/mynamehere&lt;br&gt;
&lt;img src=&quot;/images/posts/adobeconnect3.jpg&quot;&gt;

Once Joe Smith submits this form, I receive an alert popup and must click &quot;Accept&quot; to bring Joe into my meeting.&lt;br&gt;
&lt;img src=&quot;/images/posts/adobeconnect4.jpg&quot;&gt;

It&apos;s as simple as that, thanks Adobe!

PS: While you&apos;re checking this out, you should also give BuzzWord a try. 
				</description>
				
				<category>Other</category>				
				
				<pubDate>Fri, 15 Aug 2008 22:30:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2008/8/15/Connect-for-FREE-using-Adobe-ConnectNow</guid>
				
			</item>
			
			<item>
				<title>Seal Guard Systems pondering ColdFusion</title>
				<link>http://blog.webdh.com/index.cfm/2008/8/9/Seal-Guard-Systems-pondering-ColdFusion</link>
				<description>
				
				I&apos;ve started working with a new client over the past couple of weeks. Ken Wolfbauer and Kathi Wolfbauer of &lt;a href=&quot;http://www.sealguardsystems.com/&quot;&gt;Seal Guard Systems&lt;/a&gt; who approached me to help with their HTML and SEO. We have been working together in their great showroom in Blaine, MN. I&apos;ve suggested that they move their site under ColdFusion. I&apos;m looking forward to working with Ken and Kathi to promote their products and services on the Internet, including &lt;a href=&quot;http://www.sealguardsystems.com/milgard_fiberglass_windows.htm&quot;&gt;Milgard fiberglass windows&lt;/a&gt; and &lt;a href=&quot;http://www.sealguardsystems.com/MetalRoofing.htm&quot;&gt;Metro steel roofing&lt;/a&gt;. Hopefully I&apos;ll convince Kathi to start using ColdFusion so we can take their website to the next level. 
				</description>
				
				<category>HTML</category>				
				
				<category>ColdFusion</category>				
				
				<pubDate>Sat, 09 Aug 2008 15:37:00 -0700</pubDate>
				<guid>http://blog.webdh.com/index.cfm/2008/8/9/Seal-Guard-Systems-pondering-ColdFusion</guid>
				
			</item>
			</channel></rss>