<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>SliQTools Software Development Blog</title>
	<atom:link href="http://www.sliqtools.co.uk/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.sliqtools.co.uk/blog</link>
	<description>Software Tips and Snippets</description>
	<lastBuildDate>Mon, 02 Apr 2012 20:41:24 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>InstallShield Major Upgrade: Two entries in Add/ Remove Programs</title>
		<link>http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade-two-entries-in-add-remove-programs/</link>
		<comments>http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade-two-entries-in-add-remove-programs/#comments</comments>
		<pubDate>Mon, 02 Apr 2012 20:39:25 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=42</guid>
		<description><![CDATA[After implementing an InstallShield Major Upgrade recently after making changes to a beta version of one of my software packages, I found that there were two entries in the Window&#8217;s Control Panel&#8217;s Add/ Remove Programs list. Despite the two entries, the installed package seemed to have installed and worked correctly on Windows XP, Vista and [...]]]></description>
			<content:encoded><![CDATA[<p>After implementing an <a href="http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade/">InstallShield Major Upgrade</a> recently after making changes to a beta version of one of my software packages, I found that there were two entries in the Window&#8217;s Control Panel&#8217;s Add/ Remove Programs list. Despite the two entries, the installed package seemed to have installed and worked correctly on Windows XP, Vista and Windows 7. However, having two packages looked untidy and uninstalling either of them uninstalled the software package.</p>
<p>After a bit of research I found that the problem was because I was doing a major upgrade but I had not changed the package version, i.e. I had changed the product code and package code but had left the product version the same. (See <a href="http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade/">this post</a> for info on how to do an InstallShield Major Upgrade). However, in this particular case I needed to leave the version number the same. In order to get the installer to behave as I wished and leave only one instance of the package in the Add/ Remove list, I had to do the following in InstallShield:</p>
<p>1. In the Installation Designer, click the Upgrades node under the main Media node.</p>
<p>2. Open the upgrade entry I had created as advised in my earlier post on InstallShield Major Upgrades:</p>
<p><img class="alignnone size-full wp-image-43" title="upgradeentry" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2012/04/upgradeentry.JPG" alt="upgradeentry" width="237" height="55" /></p>
<p>3. In the Common Properties for the upgrade entry, instead of choosing to upgrade Any Earlier Version, choose a specific range of versions and enter 1.0.0 in the minimum version field, leaving the maximum value field blank. Remember to check the Version Range Inclusive field to be on the safe side:</p>
<p><img class="alignnone size-full wp-image-44" title="installshield-minimum-version" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2012/04/installshield-minimum-version.JPG" alt="installshield-minimum-version" width="465" height="326" /></p>
<p>Now when the installer runs it will perform a major upgrade even on an installation that has the same version number as the new (major upgrade) installer.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade-two-entries-in-add-remove-programs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Importing CSV data from Excel into phpMyAdmin</title>
		<link>http://www.sliqtools.co.uk/blog/general/importing-csv-data-from-excel-into-phpmyadmin/</link>
		<comments>http://www.sliqtools.co.uk/blog/general/importing-csv-data-from-excel-into-phpmyadmin/#comments</comments>
		<pubDate>Wed, 07 Mar 2012 21:53:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=38</guid>
		<description><![CDATA[When importing CSV data saved from Excel into a MySQL database using phpMyAdmin, I was getting an error indicating that there was an &#8220;Invalid field count in csv input on line 1&#8243;. The settings in phpMyAdmin asked for fields to be delimited by double quotes (&#8221;field&#8221;) but even after doing that I was still getting [...]]]></description>
			<content:encoded><![CDATA[<p>When importing CSV data saved from Excel into a MySQL database using phpMyAdmin, I was getting an error indicating that there was an &#8220;Invalid field count in csv input on line 1&#8243;. The settings in phpMyAdmin asked for fields to be delimited by double quotes (&#8221;field&#8221;) but even after doing that I was still getting the same error message.</p>
<p>In order to get the input to work, I resaved the Excel file as a CSV (and didn&#8217;t place quotes around the columns) then removed the first row containing the field titles. In phpMyAdmin I then chose the following settings:</p>
<p>Format: CSV using LOAD DATA<br />
Columns terminated by ,  (not the default of ; )</p>
<p>All other settings were left at their default.</p>
<p>I was then able to successfully import the CSV file.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/general/importing-csv-data-from-excel-into-phpmyadmin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New Help Desk Launched</title>
		<link>http://www.sliqtools.co.uk/blog/general/new-help-desk-launched/</link>
		<comments>http://www.sliqtools.co.uk/blog/general/new-help-desk-launched/#comments</comments>
		<pubDate>Sat, 25 Feb 2012 17:28:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=36</guid>
		<description><![CDATA[As part of our ongoing efforts to improve customer service, SliQTools has now opened a new support help desk feature at support.sliqtools.co.uk. The new help desk software allows customers (or potential customers who are using trial versions of our software) to submit support or sales tickets and track their progress to closure.
The new help desk [...]]]></description>
			<content:encoded><![CDATA[<p>As part of our ongoing efforts to improve customer service, SliQTools has now opened a new support help desk feature at <a href="http://support.sliqtools.co.uk/">support.sliqtools.co.uk</a>. The new help desk software allows customers (or potential customers who are using trial versions of our software) to submit support or sales tickets and track their progress to closure.</p>
<p>The new help desk brings a number of benefits to our customers such as the the ability for customers to see their old tickets and replies. From SliQTools point of view, an added bonus of the help desk is that it provides us with a mechanism to expand our knowledgebase of frequently asked questions. The help desk lets our support staff to write articles to support tickets. These articles then become available for other customers to search through. As the knowledgebase builds up content, customers should increasingly be able to find answers to common support queries so that their problems are solved more quickly.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/general/new-help-desk-launched/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>InstallShield Major Upgrade</title>
		<link>http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade/</link>
		<comments>http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade/#comments</comments>
		<pubDate>Fri, 16 Dec 2011 11:17:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Technical]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=26</guid>
		<description><![CDATA[Sometimes after making some changes to a product, either updating assemblies or adding or removing assemblies, an installer fails to update a previous version. After running the installer, no errors or warnings are produced but the program files remain unchanged. If this happens the best solution I&#8217;ve found is to configure InstallShield to perform a [...]]]></description>
			<content:encoded><![CDATA[<p>Sometimes after making some changes to a product, either updating assemblies or adding or removing assemblies, an installer fails to update a previous version. After running the installer, no errors or warnings are produced but the program files remain unchanged. If this happens the best solution I&#8217;ve found is to configure InstallShield to perform a major product upgrade.</p>
<p>To configure a major upgrade, you need to do the following in InstallShield:-</p>
<p>1. Configure an upgrade in the <strong>Upgrades</strong> node under the main <strong>Media</strong> node in the Installation Designer &#8230;</p>
<p><img class="alignnone size-full wp-image-27" title="installshield-upgrades-node" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2011/12/installshield-upgrades-node.JPG" alt="installshield-upgrades-node" width="171" height="80" /></p>
<p>a. First, right-click on the <strong>Upgrade Windows Installer Setup</strong> node and add a new major upgrade. Make sure that the major upgrade setting <strong>Products Sharing my Upgrade Code</strong> is selected.</p>
<p><img class="alignnone size-full wp-image-34" title="installshield-major-upgrade" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2011/12/installshield-major-upgrade.JPG" alt="installshield-major-upgrade" width="954" height="218" /></p>
<p>b. Click on the <strong>Upgrade Windows Installer Setup</strong> node and make sure the option to uninstall the old setup is selected.</p>
<p><img class="alignnone size-full wp-image-28" title="new-upgrade-node" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2011/12/new-upgrade-node.JPG" alt="new-upgrade-node" width="236" height="53" /></p>
<p><img class="alignnone size-full wp-image-29" title="installshield-major-upgrade-settings" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2011/12/installshield-major-upgrade-settings.JPG" alt="installshield-major-upgrade-settings" width="417" height="163" /></p>
<p>2. Change the <strong>Product Code</strong> GUID via the <strong>Product Properties</strong> view under the main Installation Information/ General Information node. <strong>Note:</strong> DO NOT CHANGE the Upgrade Code &#8211; the installer will use this to automatically uninstall the previous version of the product.</p>
<p><img class="alignnone size-full wp-image-31" title="installshield-product-code" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2011/12/installshield-product-code.JPG" alt="installshield-product-code" width="860" height="101" /></p>
<p>3. In the <strong>Summary Information Stream</strong> view, update the <strong>Package Code</strong> GUID.</p>
<p><img class="alignnone size-full wp-image-33" title="installshield-package-code" src="http://www.sliqtools.co.uk/blog/wp-content/uploads/2011/12/installshield-package-code.JPG" alt="installshield-package-code" width="784" height="100" /></p>
<p>3. Then rebuild your installer and test it out. Your installation should now be upgraded properly.</p>
<p>Note that if the installer is intended to perform a major upgrade of a package with the same version number (as opposed to the more normal situation of a major upgrade of the same package with a lower version number), see <a href="http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade-two-entries-in-add-remove-programs/">this post</a> for more info.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/technical/installshield-major-upgrade/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Purchase Order Software</title>
		<link>http://www.sliqtools.co.uk/blog/uncategorized/purchase-order-software/</link>
		<comments>http://www.sliqtools.co.uk/blog/uncategorized/purchase-order-software/#comments</comments>
		<pubDate>Wed, 16 Nov 2011 19:40:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=23</guid>
		<description><![CDATA[One of the main things added to version 3 of SliQ Invoicing Plus was the ability to create purchase orders. The new purchase order feature lets users create POs in a similar way to invoices and quotes. As well as storing a list of purchase orders already raised, version 3 also lets you store a [...]]]></description>
			<content:encoded><![CDATA[<p>One of the main things added to version 3 of SliQ Invoicing Plus was the ability to create <a href="http://www.sliqtools.co.uk/purchase-order-software.aspx">purchase orders</a>. The new purchase order feature lets users create POs in a similar way to invoices and quotes. As well as storing a list of purchase orders already raised, version 3 also lets you store a list of suppliers with their addresses and contact details. When adding items to the purchase orders, you can optionally choose to add the items as standard products into SliQ&#8217;s product database. When items such as suppliers and products are stored in SliQ&#8217;s database, they can easily be reselected when editing a new PO &#8211; just enter the first few characters of a supplier name for example, and SliQ will autofill the remaining part of the supplier&#8217;s name as well as include the correct address details on the PO.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/uncategorized/purchase-order-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SliQ Invoicing Plus Version 3 Released</title>
		<link>http://www.sliqtools.co.uk/blog/releases/sliq-invoicing-plus-version-3-released/</link>
		<comments>http://www.sliqtools.co.uk/blog/releases/sliq-invoicing-plus-version-3-released/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 16:01:27 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Releases]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=18</guid>
		<description><![CDATA[After a number of months in development, SliQ Invoicing Plus V3 has been released.
The new version includes a number of features requested by our customers including:-
- Support for Purchase Orders and Supplier Data
- Optional Password Protection on Company Files
- Tax or VAT Summary tables on invoice templates
Over the next few months we have a new [...]]]></description>
			<content:encoded><![CDATA[<p>After a number of months in development, SliQ Invoicing Plus V3 has been released.</p>
<p>The new version includes a number of features requested by our customers including:-</p>
<p>- Support for Purchase Orders and Supplier Data</p>
<p>- Optional Password Protection on Company Files</p>
<p>- Tax or VAT Summary tables on invoice templates</p>
<p>Over the next few months we have a new development plan for SliQ Invoicing and will be adding a number of new features into version 3 on a one or two month release cycle into the middle of next year.</p>
<p>As with previous versions, version 3 is available for a one-off price and includes a free 30 day trial. V3 is 100% compatible with V2 and will automatically import and convert all data and settings from V2 when installed on an existing user&#8217;s PC.</p>
<p>For more information on the new features in version 3, check out our <a href="http://www.sliqtools.co.uk/releasehistory.aspx">Release History</a> page.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/releases/sliq-invoicing-plus-version-3-released/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Windows Mail on Vista &#8211; Simple MAPI send problem</title>
		<link>http://www.sliqtools.co.uk/blog/windows-help/windows-mail-on-vista-simple-mapi-send-problem/</link>
		<comments>http://www.sliqtools.co.uk/blog/windows-help/windows-mail-on-vista-simple-mapi-send-problem/#comments</comments>
		<pubDate>Fri, 25 Sep 2009 17:53:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Windows Help]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/?p=15</guid>
		<description><![CDATA[If your application will not send emails using Windows Mail on Windows Vista, it&#8217;s worth checking if Windows Mail is set as the default email client. To check if Windows Mail is set as the default:

Run Windows Mail by clicking Vista&#8217;s Start button then choosing All Programs. Then click on Windows Mail.
When Windows Mail appears, [...]]]></description>
			<content:encoded><![CDATA[<p>If your application will not send emails using Windows Mail on Windows Vista, it&#8217;s worth checking if Windows Mail is set as the default email client. To check if Windows Mail is set as the default:</p>
<ol>
<li>Run Windows Mail by clicking Vista&#8217;s <strong>Start</strong> button then choosing <strong>All Programs. </strong>Then click on <strong>Windows Mail</strong>.</li>
<li>When Windows Mail appears, click on its <strong>Tools</strong> menu and choose <strong>Options</strong>.</li>
<li>In the General tab, look under the Default Messaging Programs section at the bootm. If the <strong>Make Default</strong> button next to &#8220;This application is the default Mail handler&#8221; is checked, Windows Mail should be the default email client on the PC.</li>
<li>If the <strong>Make Default</strong> button is enabled, press it to make Windows Mail the default on your PC.</li>
<li>Click <strong>OK</strong> to close the Options dialog.</li>
</ol>
<p>It&#8217;s also worth checking the default settings in Vista&#8217;s start menu &#8230;</p>
<ol>
<li>Click on Vista&#8217;s <strong>Start</strong> button then choose the <strong>Default Programs</strong> option.</li>
<li>Choose the <strong>Set your default programs</strong> option.</li>
<li>In the window that appears, choose <strong>Windows Mail</strong>.</li>
<li>Click the <strong>Set this program as default</strong> option that appears on the bottom right of the window.</li>
</ol>
<p>After following the procedures above, if Windows Mail should work properly when another application on your PC uses Window&#8217;s Simple MAPI service to send emails.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/windows-help/windows-mail-on-vista-simple-mapi-send-problem/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Splitting a time value into day, hour, mins, secs in PHP</title>
		<link>http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/</link>
		<comments>http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/#comments</comments>
		<pubDate>Fri, 17 Jul 2009 06:36:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/</guid>
		<description><![CDATA[I&#8217;ve been writing a new webpage that calculates the time left before a user license period expires. I wanted to display the time as a countdown of the number of days left before the license runs out. I couldn&#8217;t find an off-the-shelf PHP function to do the job so I quickly wrote the function below.

/* [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve been writing a new webpage that calculates the time left before a user license period expires. I wanted to display the time as a countdown of the number of days left before the license runs out. I couldn&#8217;t find an off-the-shelf PHP function to do the job so I quickly wrote the function below.<br />
<code><br />
/* This function takes a PHP time value and returns the duration as an array<br />
with 4 elements -<br />
element 0 = days<br />
element 1 = hours<br />
element 2 = minutes<br />
element 3 = seconds<br />
*/<br />
function DurationInDHMS($timeduration)<br />
{<br />
    $days = floor($timeduration / 86400);<br />
    $timeduration = $timeduration - ($days * 86400);<br />
    $hours = floor($timeduration / 3600);<br />
    $timeduration = $timeduration - ($hours * 3600);<br />
    $minutes = floor($timeduration / 60);<br />
    $seconds = $timeduration - ($minutes * 60);<br />
    return array($days, $hours, $minutes, $seconds);<br />
}<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.sliqtools.co.uk/blog/php/splitting-a-time-value-into-day-hour-mins-secs-in-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

