<?xml version="1.0" encoding="utf-8"?>

			<rss version="2.0" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:cc="http://web.resource.org/cc/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd">

			<channel>
			<title>Against All Odds - CF Tag</title>
			<link>http://www.ppshein.net/index.cfm</link>
			<description>A blog for ColdFusion, Android, jQuery, jQueryMobile, Oracle, HL7 and other Web-based programming languages, Web Server like IIS7 and RDMS like Oracle, Microsoft SQL and MySQL.</description>
			<language>en-us</language>
			<pubDate>Wed, 22 May 2013 13:15:06 -0700</pubDate>
			<lastBuildDate>Thu, 04 Apr 2013 08:52:00 -0700</lastBuildDate>
			<generator>BlogCFC</generator>
			<docs>http://blogs.law.harvard.edu/tech/rss</docs>
			<managingEditor>pyaephyoeshein@gmail.com</managingEditor>
			<webMaster>pyaephyoeshein@gmail.com</webMaster>
			<itunes:subtitle></itunes:subtitle>
			<itunes:summary></itunes:summary>
			<itunes:category text="Technology" />
			<itunes:category text="Technology">
				<itunes:category text="Podcasting" />
			</itunes:category>
			<itunes:category text="Technology">
				<itunes:category text="Tech News" />
			</itunes:category>
			<itunes:keywords></itunes:keywords>
			<itunes:author></itunes:author>
			<itunes:owner>
				<itunes:email>pyaephyoeshein@gmail.com</itunes:email>
				<itunes:name></itunes:name>
			</itunes:owner>
			
			<itunes:explicit>no</itunes:explicit>
			
			
			
			
			
			<item>
				<title>CFDocument in fontembed</title>
				<link>http://www.ppshein.net/index.cfm/2013/4/4/CFDocument-in-fontembed</link>
				<description>
				
				Last 3 days, I&apos;m about to generate one of our reports to PDF with cfdocument but I don&apos;t know why our unicode font is missing as displaying &quot;blank&quot; in cfdocument even this font is in my pc. That&apos;s why I request my junior to  investigate the problem to be solved. After a day, she found how to display unicode font in cfdocument.

First of all, we need to install font in our server first. Then, we need to go CFAdmin &gt; Font Management and add installed font into coldfusion to be recognized. After all, we need to add &lt;b&gt;fontembed=&quot;yes&quot;&lt;/b&gt; in cfdocument as follow.

&lt;code&gt;
&lt;cfdocument format=&quot;pdf&quot; orientation=&quot;portrait&quot; backgroundvisible=&quot;true&quot; filename=&quot;pdf_#id#.pdf&quot; fontembed=&quot;yes&quot; overwrite=&quot;true&quot;&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Thu, 04 Apr 2013 08:52:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2013/4/4/CFDocument-in-fontembed</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFTransaction cannot work for different datasource</title>
				<link>http://www.ppshein.net/index.cfm/2012/11/4/CFTransaction-cannot-work-for-different-datasource</link>
				<description>
				
				Today, I&apos;ve found that CFTransaction cannot work for different datasource. This one is really bad for CFDevelopers like us. Because we need to use CFTransaction when we need to do long process for so many query transaction within our code with different datasource.
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Sun, 04 Nov 2012 19:37:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/11/4/CFTransaction-cannot-work-for-different-datasource</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Webservices without using cfinvoke</title>
				<link>http://www.ppshein.net/index.cfm/2012/8/14/Webservices-without-using-cfinvoke</link>
				<description>
				
				As we all know if webservices of another party using window NT authentication, we cannot use CFInvoke for calling webservices. At that time, we need another 3rd party webservices integrator for coldfusion to access another party. At that time, we need to use CFObject instead of CFInvoke.

&lt;code&gt;
&lt;!--- Include .NET webservices DLL file ---&gt;
&lt;cfobject type=&quot;.NET&quot; name=&quot;webServiceName&quot; class=&quot;ViewUserLibrary.UserManagementService&quot; assembly=&quot;C:\ViewUserLibrary.dll&quot; /&gt;
&lt;!--- call webservices URL ---&gt;
&lt;cfset webServiceName.set_wsdl(&quot;http://10.168.7.71:8080/oaswebservices/OASWebSvcPatientMgmt.asmx?wsdl&quot;) /&gt;
&lt;!--- Window NT Username ---&gt;
&lt;cfset webServiceName.set_userId( &quot;CTTT24&quot; ) /&gt;
&lt;!--- Window NT Password ---&gt;
&lt;cfset webServiceName.set_password( &quot;passwd78&quot; ) /&gt;
&lt;!--- Window NT Domain ---&gt;
&lt;cfset webServiceName.set_domain( &quot;CGHAD&quot; ) /&gt;
&lt;cfset dataSetResult = webServiceName.viewUserInfo(&quot;CG&quot;,&quot;PPShein&quot;)/&gt;

&lt;!--- Dump it ---&gt;
&lt;cfdump var=&quot;#dataSetResult#&quot;/&gt;
&lt;/code&gt;
				
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<category>.NET</category>
				
				<pubDate>Tue, 14 Aug 2012 22:06:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/8/14/Webservices-without-using-cfinvoke</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>My UDF is released at cflib</title>
				<link>http://www.ppshein.net/index.cfm/2012/7/24/My-UDF-is-released-at-cflib</link>
				<description>
				
				Today, I&apos;ve received email from &lt;a href=&quot;http://www.cflib.org&quot; target=&quot;_blank&quot;&gt;CFLib.org&lt;/a&gt; that my UDF called &lt;b&gt;&quot;getProfileStringUTF8&quot;&lt;/b&gt;. It supports to translate any unicode-based language instead of using GetProfileString which doesn&apos;t support Unicode (UTF-8).

You can download and check this one here.

&lt;a href=&quot;http://www.cflib.org/udf/getProfileStringUTF8&quot; target=&quot;_blank&quot;&gt;getProfileStringUTF8&lt;/a&gt;
				
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Tue, 24 Jul 2012 18:02:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/7/24/My-UDF-is-released-at-cflib</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Replace Javascript Confirm box with CFMessagebox</title>
				<link>http://www.ppshein.net/index.cfm/2012/6/19/Replace-Javascript-Confirm-box-with-CFMessagebox</link>
				<description>
				
				In my previous post &lt;a href=&quot;http://www.ppshein.net/index.cfm/2012/6/7/To-replace-javascript-alert-with-CFMessagebox&quot; target=&quot;_blank&quot;&gt;(here to view)&lt;/a&gt;, I&apos;ve mentioned how to replace Javascript Alert box with CFMessageBox. Here again, to replace Javascript Confirm box with CFMessage.

&lt;!--- Below is to dynamically create CFMessage box in Javascript ---&gt;
&lt;code&gt;
function DisplayMessageConfirm (obj, messageText) {
	var RandCount = Math.random();
	
	ColdFusion.MessageBox.create(obj + RandCount, &apos;confirm&apos;, &apos;CESID&apos;, messageText, onfinish, {width:300, modal:true});
	ColdFusion.MessageBox.show(obj + RandCount);
}
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Tue, 19 Jun 2012 02:24:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2012/6/19/Replace-Javascript-Confirm-box-with-CFMessagebox</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>CFIDE with multiple instance</title>
				<link>http://www.ppshein.net/index.cfm/2011/12/23/CFIDE-with-multiple-instance</link>
				<description>
				
				Today I got the problem that I cannot use following sentence in one of my instance.

&lt;code&gt;
&lt;cftextarea skin=&quot;silver&quot; toolbar=&quot;Basic&quot; richtext=&quot;true&quot; name=&quot;body&quot; required=&quot;true&quot;&gt; 
&lt;/code&gt;

And hit JS error and don&apos;t know why. That&apos;s why I just go viewsource and found that CFIDE is missing for one of my CF instances. I cannot convince why Adobe cannot include CFIDE for multiple instances installation. That&apos;s why I know there is two ways to solve this bug of Coldfusion multiple instance installation.
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Fri, 23 Dec 2011 23:13:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/12/23/CFIDE-with-multiple-instance</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Get IPv6 address</title>
				<link>http://www.ppshein.net/index.cfm/2011/11/27/Get-IPv6-address</link>
				<description>
				
				Today, I&apos;ve found how to get IP address of IPv6. Because we&apos;re using IPv6 address in our office and normally so far to use for IPv4 in Window7. That&apos;s why I gotta retrieve address of IPv6. On the other hand, CGI variable can retrieve IPv4 address of client machine. 

How to get IPv6 is as follow. First of all, we need to create Java object first which called &quot;&lt;b&gt;java.net.InetAddress&lt;/b&gt;&quot;. Then, write as follow.
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Sun, 27 Nov 2011 03:52:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/11/27/Get-IPv6-address</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>IncrementValue in Coldfusion is useful</title>
				<link>http://www.ppshein.net/index.cfm/2011/11/5/IncrementValue-in-Coldfusion-is-useful</link>
				<description>
				
				Today, I&apos;ve oddly found &lt;a href=&quot;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-6d3b.html&quot; target=&quot;_blank&quot;&gt;IncrementValue&lt;/a&gt; in Coldfusion. In my previous time, when I need to increase count in Coldfusion, I always use as follow.

&lt;code&gt;
&lt;cfset mycount = mycount + 1&gt;

&lt;!--- CFScript version ---&gt;
&lt;cfscript&gt;
	mycount++;
&lt;/cfscript&gt;
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Sat, 05 Nov 2011 02:04:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/11/5/IncrementValue-in-Coldfusion-is-useful</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Coldfusion 9 exam preparation</title>
				<link>http://www.ppshein.net/index.cfm/2011/10/12/Coldfusion-9-exam-preparation</link>
				<description>
				
				&lt;p&gt;
	I&amp;#39;m now planning to take Coldfusion 9 exam for my career enhancement. Because &lt;a href=&quot;http://www.ppshein.net/index.cfm/2010/9/9/adobe-certified-expert&quot; target=&quot;_blank&quot;&gt;I&amp;#39;m Adobe Certified Expert in Coldfusion 8&lt;/a&gt; and I feel like myself to take Coldfusion 9 either. Some people will argue that certificates are not needed if you really know of it but for new career, it&amp;#39;s needed. When I want to apply for new job, I&amp;#39;m not sure whether the new employer know I really know Coldfusion or not without having certificate.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
	&lt;strong&gt;Coldfusion 9 Exam Structure&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
	&lt;li&gt;
		Programming fundamentals&lt;/li&gt;
	&lt;li&gt;
		Working with the Application framework&lt;/li&gt;
	&lt;li&gt;
		Interacting with databases&lt;/li&gt;
	&lt;li&gt;
		Working with components&lt;/li&gt;
	&lt;li&gt;
		Interacting with persistent components&lt;/li&gt;
	&lt;li&gt;
		Working with XML&lt;/li&gt;
	&lt;li&gt;
		Reusing code&lt;/li&gt;
	&lt;li&gt;
		Interacting with remote systems&lt;/li&gt;
	&lt;li&gt;
		Managing files&lt;/li&gt;
	&lt;li&gt;
		Tuning application performance&lt;/li&gt;
	&lt;li&gt;
		Building advanced user interfaces&lt;/li&gt;
	&lt;li&gt;
		Reporting&lt;/li&gt;
&lt;/ul&gt;
				 [More]
				</description>
				
				
				<category>Exam</category>
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>Review</category>
				
				<category>CF Tag</category>
				
				<pubDate>Wed, 12 Oct 2011 03:46:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/10/12/Coldfusion-9-exam-preparation</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>ListToArray and Looping in Array</title>
				<link>http://www.ppshein.net/index.cfm/2011/9/29/ListToArray-and-Looping-in-Array</link>
				<description>
				
				Today I need to fetch data from *.csv &lt;i&gt;(which has nearly 15,000 records)&lt;/i&gt; file and insert such data into our database. At that time, I need to consider how to retrieve data from this file and how to insert into our database. So, I need to consider which method I need to use between &quot;&lt;b&gt;looping in array&lt;/b&gt;&quot; and &quot;&lt;b&gt;ListToArray&lt;/b&gt;&quot;. That&apos;s why I&apos;ve wrote with &quot;&lt;b&gt;looping in array&lt;/b&gt;&quot; first.

Here is simple list data including in CSV file.
&lt;code&gt;
007|PPSHEIN|MALE|COLDFUSION DEVELOPER
008|MIKE|MALE|ANDROID DEVELOPER
009|RAYMON|MALE|APPLE DEVELOPER
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Thu, 29 Sep 2011 17:25:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/9/29/ListToArray-and-Looping-in-Array</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Merge Area Chart and Bar Chart in Coldfusion</title>
				<link>http://www.ppshein.net/index.cfm/2011/9/20/Merge-Area-Chart-and-Bar-Chart-in-Coldfusion</link>
				<description>
				
				These days I&apos;m about to develop growth chart module for my current project enhancement. In this growth chart, I need to merge two chart series called area chart and bar chart to display patient percentile. In Coldfusion Chart, if we&apos;re trying to merge two chartseries, x-axis of both must be same records. If not, our chart might be displayed wrong data. 

Here is my sample coding of CFChart.
&lt;code&gt;
&lt;cfchart
    format=&quot;png&quot;
	xaxistitle=&quot;Age (mth)&quot; 
	yaxistitle=&quot;HEAD&quot;
	chartwidth=&quot;500&quot; 
	chartheight=&quot;500&quot; 
    gridlines=&quot;6&quot;
    showborder=&quot;no&quot;&gt;
		&lt;cfchartseries
			type=&quot;bar&quot;
			paintstyle = &quot;light&quot;
			seriescolor=&quot;000000&quot;
			seriesLabel=&quot;Patient&apos;s Information&quot;&gt;
			&lt;cfchartdata item=&quot;3&quot; value=&quot;10&quot;&gt;
		&lt;/cfchartseries&gt;				
		&lt;cfoutput query=&quot;Getgrowth&quot; group=&quot;PERCENTILE&quot;&gt;
			&lt;cfset i = i + 1&gt;
			&lt;cfset serColor = ListGetAt(ListCOLOR, i)&gt;
			&lt;cfchartseries
				type=&quot;area&quot;
				markerStyle=&quot;diamond&quot;
				seriescolor=&quot;#serColor#&quot;
				seriesLabel=&quot;#convertOrdinal(PERCENTILE)#&quot;&gt;
				&lt;cfoutput&gt;&lt;cfchartdata item=&quot;#AGE#&quot; value=&quot;#GETDATA#&quot;&gt;&lt;/cfoutput&gt;
			&lt;/cfchartseries&gt;
		&lt;/cfoutput&gt;
&lt;/cfchart&gt;
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Tue, 20 Sep 2011 21:32:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/9/20/Merge-Area-Chart-and-Bar-Chart-in-Coldfusion</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>cfprocessingdirective between Adobe and Railo</title>
				<link>http://www.ppshein.net/index.cfm/2011/8/14/cfprocessingdirective-between-Adobe-and-Railo</link>
				<description>
				
				Yesterday, I got problem about rendering Unicode font for my first Android project. At that time, I need to fetch unicode data from the other Coldfusion server. By that time, I need to retrieve data and display such unicode data at laptop. In my laptop, I&apos;ve installed Adobe Coldfusion 9 developer edition. At that time, I&apos;ve wrote the following coding to display unicode data.

&lt;code&gt;
&lt;cfhttp url=&quot;[URL]/test.cfm&quot; charset=&quot;UTF-8&quot;&gt;
&lt;cfoutput&gt;#cfhttp.filecontent#&lt;/cfoutput&gt;
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>Android</category>
				
				<category>CF Tag</category>
				
				<pubDate>Sun, 14 Aug 2011 18:54:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/8/14/cfprocessingdirective-between-Adobe-and-Railo</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Backwards counting in CFLoop with Step attribute</title>
				<link>http://www.ppshein.net/index.cfm/2011/8/4/Backwards-counting-in-CFLoop-with-Step-attribute</link>
				<description>
				
				Oddly, I&apos;ve found that how to do backwards counting in CFLoop. It&apos;s using &lt;b&gt;Step&lt;/b&gt; attribute of CFLoop. Before I&apos;ve used &lt;b&gt;Step&lt;/b&gt; attribute for skipping count in CFLoop just like retrieving Odd value from List or something else.

&lt;u&gt;For example to get Odd value&lt;/u&gt;
&lt;code&gt;
&lt;cfloop from=&quot;1&quot; to=&quot;10&quot; index=&quot;i&quot; step=&quot;2&quot;&gt;
	&lt;cfoutput&gt;#i#&lt;/cfoutput&gt;
&lt;/cfloop&gt;

&lt;!--- output ---&gt;
1 3 5 7 9 
&lt;/code&gt;
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Thu, 04 Aug 2011 19:42:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/8/4/Backwards-counting-in-CFLoop-with-Step-attribute</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Playing with CFThrow</title>
				<link>http://www.ppshein.net/index.cfm/2011/7/19/Playing-with-CFThrow</link>
				<description>
				
				Today, I found that &lt;a href=&quot;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e25.html&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;cfthrow&lt;/strong&gt;&lt;/a&gt; is very useful to me for error handling in my project. Because prior programmer of my current wrote some funny code for error handling without using &lt;a href=&quot;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e25.html&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;cfthrow&lt;/strong&gt;&lt;/a&gt;. I&apos;m not sure whether they don&apos;t know &lt;a href=&quot;http://help.adobe.com/en_US/ColdFusion/9.0/CFMLRef/WSc3ff6d0ea77859461172e0811cbec22c24-7e25.html&quot; target=&quot;_blank&quot;&gt;&lt;strong&gt;cfthrow&lt;/strong&gt;&lt;/a&gt; or not. Honestly, I didn&apos;t know most of Coldfusion Tags and functions before I took CF8 exam. When preparing for CF8 exam, I know most of tags and functions of CF8. Thanks, CF8 exam.

Ok, let&apos;s continue. Here is funny coding our prior programmer wrote.
				 [More]
				</description>
				
				
				<category>CF Function</category>
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Tue, 19 Jul 2011 18:24:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/7/19/Playing-with-CFThrow</guid>
				
				
			</item>
			
		 	
			
			
			<item>
				<title>Query of query problem between Coldfusion 9 and Coldfusion MX 7</title>
				<link>http://www.ppshein.net/index.cfm/2011/7/14/Query-of-query-problem-between-Coldfusion-9-and-Coldfusion-MX-7</link>
				<description>
				
				Today I&apos;ve found the weird error in my project. It&apos;s because of &quot;query of query&quot; problem between Coldfusion 9 and Coldfusion MX 7. As Coldfusion developers know, one of the coolest features in CF is query of query and know how to use this one, either. But, being CF developer, we must know which features, functions, tags, issues, etc are fixed or missed in the every version of Coldfusion. For me, I can only know and approach which new features, functions and tags are available and being enhanced in the every version of Coldfusion except issues.
				 [More]
				</description>
				
				
				<category>Coldfusion</category>
				
				<category>CF Tag</category>
				
				<pubDate>Thu, 14 Jul 2011 19:26:00 -0700</pubDate>
				<guid>http://www.ppshein.net/index.cfm/2011/7/14/Query-of-query-problem-between-Coldfusion-9-and-Coldfusion-MX-7</guid>
				
				
			</item>
			
		 	
			</channel></rss>