<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet title="XSL_formatting" type="text/xsl" href="feed.xsl"?>

<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">

<channel>

<atom:link href="http://www.rgagnon.com/feed.xml" rel="self" type="application/rss+xml" />

<title>Real's HowTo</title>
<description>Latest updates of useful code examples for Java, Javascript, Powerbuilder and VBScript</description>
<copyright>&quot;Copyright 2011 Real Gagnon - All Rights Reserved&quot;</copyright>
<link>http://www.rgagnon.com/howto.html</link>
<language>en-us</language>
<pubDate>Sat, 4 Feb 2012 03:11:00 GMT</pubDate>
<image>
    <title>Real's HowTo</title>
    <width>144</width>
    <height>41</height>
    <link>http://www.rgagnon.com/howto.html</link>
    <url>http://www.rgagnon.com/images/realhowto-left.jpg</url>
</image>


<!-- 19 -->
<item>
<title>Java : Get the class name in a static method</title>
<description>Code updated.</description>
<link>http://www.rgagnon.com/javadetails/java-0402.html</link>
<pubDate>Sat, 4 Feb 2012 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0402.html</guid>
</item>


<!-- 20 -->
<item>
<title>Java : Add/Substract Day/Month/Year to a Date</title>
<description>Code updated. Using add() and roll()</description>
<link>http://www.rgagnon.com/javadetails/java-0101.html</link>
<pubDate>Sat, 4 Feb 2012 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0101.html</guid>
</item>


<!-- 21 -->
<item>
<title>Java : Print a String</title>
<description>Print a String using the javax.print api.</description>
<link>http://www.rgagnon.com/javadetails/java-print-a-string-using-javax-print-api.html</link>
<pubDate>Sat, 4 Feb 2012 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-print-a-string-using-javax-print-api.html</guid>
</item>



<!-- 22 -->
<item>
<title>HowTo : The PDFs are updated (Java, Javascript, Powerbuilder and Others)</title>
<description>Updated PDFs of the Real's HowTo are available for download</description>
<link>http://www.rgagnon.com/download/index.html</link>
<pubDate>Wed, 21 Dec 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/download/index.html</guid>
</item>

<!-- 23 -->
<item>
<title>Windows : Convert a PDF to Postscript using Ghostscript</title>
<description>Ghostscript is an interpreter for the PostScript language and for PDF.</description>
<link>http://www.rgagnon.com/gp/gp-convert-a-pdf-ps-using-ghostscript.html</link>
<pubDate>Wed, 21 Dec 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/gp/gp-convert-a-pdf-ps-using-ghostscript.html</guid>
</item>

<!-- 24 -->
<item>
<title>Java : Trace the execution</title>
<description>Generate a StackTrace and then parse the StackTraceElements.</description>
<link>http://www.rgagnon.com/javadetails/java-0301.html</link>
<pubDate>Mon, 12 Dec 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0301.html</guid>
</item>


<!-- 25 -->
<item>
<title>Batch : Touch  a file</title>
<description>Change only the last-modified attribute of a file using Windows batch commands</description>
<link>http://www.rgagnon.com/gp/gp-touch-a-file.html</link>
<pubDate>Mon, 12 Dec 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/gp/gp-touch-a-file.html</guid>
</item>


<!-- 1 -->
<item>
<title>Java : Touch  a file</title>
<description>Change only the last-modified attribute of a file using Java</description>
<link>http://www.rgagnon.com/javadetails/java-touch-a-file.html</link>
<pubDate>Mon, 12 Dec 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-touch-a-file.html</guid>
</item>


<!-- 2 -->
<item>
<title>Java : Get fields and values from an Object</title>
<description>Using Reflection, list all the fields and their values (public or not)</description>
<link>http://www.rgagnon.com/javadetails/java-get-fields-and-values-from-an-object.html</link>
<pubDate>Tue, 15 Nov 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-get-fields-and-values-from-an-object.html</guid>
</item>


<!-- 2 -->
<item>
<title>Java : Execute an external program</title>
<description>Small update</description>
<link>http://www.rgagnon.com/javadetails/java-0014.html</link>
<pubDate>Tue, 15 Nov 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0014.html</guid>
</item>


<!-- 4 -->
<item>
<title>Java : Convert HTML to PDF using YAHP</title>
<description>the Open Source package YAHP (Yet another Html to Pdf converter) is a good choice. YAHP is based on iText, FlyingSaucer and JTidy.</description>
<link>http://www.rgagnon.com/javadetails/java-convert-html-to-pdf-using-yahp.html</link>
<pubDate>Thu, 11 Aug 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-convert-html-to-pdf-using-yahp.html</guid>
</item>


<!-- 5 -->
<item>
<title>Java : Schedule or run a Windows task</title>
<description>The easy way to deal with Windows task from java is to use the utility schtasks.exe.</description>
<link>http://www.rgagnon.com/javadetails/java-schedule-or-run-a-windows-task.html</link>
<pubDate>Thu, 11 Aug 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-schedule-or-run-a-windows-task.html</guid>
</item>

<!-- 6 -->
<item>
<title>Java : Rename a file extension</title>
<description>A more complete example.</description>
<link>http://www.rgagnon.com/javadetails/java-0541.html</link>
<pubDate>Fri, 15 Jul 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0541.html</guid>
</item>


<!-- 7 -->
<item>
<title>Windows : Create a file with the name as the current date</title>
<description>Use for for log files, add the WMIC technique.</description>
<link>http://www.rgagnon.com/gp/gp-0014.html</link>
<pubDate>Tue, 21 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/gp/gp-0014.html</guid>
</item>


<!-- 8 -->
<item>
<title>Windows : Test if a file exists or not</title>
<description>Batch technique to detect if a file exists</description>
<link>http://www.rgagnon.com/gp/windows-batch-test-if-file-exists.html</link>
<pubDate>Tue, 21 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/gp/windows-batch-test-if-file-exists.html</guid>
</item>


<!-- 9 -->
<item>
<title>Web : Detect if a site is down or not</title>
<description>With a simple HTML/JS, redirect if a site is down or not</description>
<link>http://www.rgagnon.com/jsdetails/js-detect-if-site-is-down-and-redirect.html</link>
<pubDate>Tue, 21 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/jsdetails/js-detect-if-site-is-down-and-redirect.html</guid>
</item>


<!-- 10 -->
<item>
<title>Powerbuilder : Get the user email address from the Active Directory</title>
<description>Using dynamic vbscript form powerscript!</description>
<link>http://www.rgagnon.com/pbdetails/pb-get-the-current-user-email-using-active-directory.html</link>
<pubDate>Tue, 21 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/pbdetails/pb-get-the-current-user-email-using-active-directory.html</guid>
</item>

<!-- 11 -->
<item>
<title>Java : Change  JTable Header color</title>
<description>Added a more complete example.</description>
<link>http://www.rgagnon.com/javadetails/java-0334.html</link>
<pubDate>Tue, 21 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0334.html</guid>
</item>


<!-- 12 -->
<item>
<title>Windows : Detect if running in a VM</title>
<description>Detect if running in VM using WMIC</description>
<link>http://www.rgagnon.com/gp/windows-detect-if-running-in-a-VM.html</link>
<pubDate>Sun, 12 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/gp/windows-detect-if-running-in-a-VM.html</guid>
</item>


<!-- 13 -->
<item>
<title>Windows : Detect if a process is running</title>
<description>Detect if a process is running using WMIC in a batch file or Java</description>
<link>http://www.rgagnon.com/gp/windows-detect-if-a-process-is-running.html</link>
<pubDate>Sun, 12 Jun 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/gp/windows-detect-if-a-process-is-running.html</guid>
</item>


<!-- 13 -->
<item>
<title>Java : Remove duplicates from a List</title>
<description>Remove duplicates from a List, preserving the order or not</description>
<link>http://www.rgagnon.com/javadetails/java-remove-duplicates-in-a-list.html</link>
<pubDate>Mon, 6 Jun 2011 23:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-remove-duplicates-in-a-list.html</guid>
</item>


<!-- 14 -->
<item>
<title>Java : Read a file form the internet</title>
<description>Quickly read a text file from the Web using the Scanner class.</description>
<link>http://www.rgagnon.com/javadetails/java-read-a-file-from-the-internet.html</link>
<pubDate>Mon, 6 Jun 2011 23:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-read-a-file-from-the-internet.html</guid>
</item>

<!-- 15 -->
<item>
<title>Java : Detect the installed Office version</title>
<description>Easily detect the current Office version.</description>
<link>http://www.rgagnon.com/javadetails/java-detect-installed-office-version.html</link>
<pubDate>Mon, 6 Jun 2011 23:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-detect-installed-office-version.html</guid>
</item>

<!-- 16 -->
<item>
<title>Java : Convert an Image to PDF using iText</title>
<description>PNG, JPG or GIF file in a PDF document using iText</description>
<link>http://www.rgagnon.com/javadetails/java-image-to-pdf-using-itext.html</link>
<pubDate>Sun, 29 May 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-image-to-pdf-using-itext.html</guid>
</item>

<!-- 17 -->
<item>
<title>Java : Convert HTML to PDF using iText</title>
<description>Using HTMLWorker ou XMLWorker, convert HTML to PDF</description>
<link>http://www.rgagnon.com/javadetails/java-html-to-pdf-using-itext.html</link>
<pubDate>Sun, 29 May 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-html-to-pdf-using-itext.html</guid>
</item>


<!-- 18 -->
<item>
<title>Java : Detect if running in a remote desktop session (windows) </title>
<description>Two techniques about how to detect if running in a remote desktop session</description>
<link>http://www.rgagnon.com/javadetails/java-detect-remote-session.html</link>
<pubDate>Sat, 7 May 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-detect-remote-session.html</guid>
</item>


<!-- 19 -->
<item>
<title>Powerbuilder : Turn on/off the monitor</title>
<description>How to turn off/on the monitor using Powerscript and Windows API</description>
<link>http://www.rgagnon.com/pbdetails/powerbuilder-turn-on-off-the-monitor.html</link>
<pubDate>Sat, 7 May 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/pbdetails/powerbuilder-turn-on-off-the-monitor.html</guid>
</item>

<!-- 20 -->
<item>
<title>Javascript : Launch an executable</title>
<description>This function checks if an executable is installed and then execute it with the given parameters. IE only.</description>
<link>http://www.rgagnon.com/jsdetails/javascript-launch-an-executable.html</link>
<pubDate>Sat, 7 May 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/jsdetails/javascript-launch-an-executable.html</guid>
</item>


<!-- 21 -->
<item>
<title>Java : Sort an array</title>
<description>Sort an array with accentued string</description>
<link>http://www.rgagnon.com/javadetails/java-0343.html</link>
<pubDate>Tue, 19 Apr 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0343.html</guid>
</item>


<!-- 22 -->
<item>
<title>Java : Compare accentued Strings</title>
<description>Compare an accentued string with an unaccentued one</description>
<link>http://www.rgagnon.com/javadetails/java-0496.html</link>
<pubDate>Tue, 19 Apr 2011 03:11:00 GMT</pubDate>
<guid>http://www.rgagnon.com/javadetails/java-0496.html</guid>
</item>







</channel>
</rss>
