<?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>DelphiTips.net &#187; file</title>
	<atom:link href="http://www.delphitips.net/tag/file/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.delphitips.net</link>
	<description>...free Delphi tips &#38; source code repository</description>
	<lastBuildDate>Fri, 24 Jul 2009 22:19:02 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Get a unique name for temporary file</title>
		<link>http://www.delphitips.net/2008/05/27/get-a-unique-name-for-temporary-file/</link>
		<comments>http://www.delphitips.net/2008/05/27/get-a-unique-name-for-temporary-file/#comments</comments>
		<pubDate>Tue, 27 May 2008 17:33:32 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Files]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[name]]></category>
		<category><![CDATA[TEMP]]></category>
		<category><![CDATA[temporary]]></category>
		<category><![CDATA[unique]]></category>

		<guid isPermaLink="false">http://www.delphitips.net/?p=49</guid>
		<description><![CDATA[Using GetTempFileName, we can create a unique name for temporary file. It&#8217;s useful when your application is using temporary files and you want to save them into default TEMP folder and use a &#8220;random&#8221; filename.

function GetTempFile&#40;const Extension: string&#41;: string;
var Buffer: array&#91;0..MAX_PATH&#93; OF Char;
    aFile : string;
begin
  repeat
    GetTempPath&#40;Sizeof&#40;Buffer&#41;-1, [...]]]></description>
		<wfw:commentRss>http://www.delphitips.net/2008/05/27/get-a-unique-name-for-temporary-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to detect application associated with file</title>
		<link>http://www.delphitips.net/2008/05/25/how-to-detect-application-associated-with-file/</link>
		<comments>http://www.delphitips.net/2008/05/25/how-to-detect-application-associated-with-file/#comments</comments>
		<pubDate>Sun, 25 May 2008 17:06:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Files]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[Windows]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[associated]]></category>
		<category><![CDATA[file]]></category>

		<guid isPermaLink="false">http://www.delphitips.net/?p=48</guid>
		<description><![CDATA[To get full path to application associated with any file type, we need standard ShellAPI unit and the rest will do the FindExecutable function.
This function retrieves the name of and handle to the executable (.exe) file associated with a specific document file. For more information, visit detailed description on MSDN.

unit Unit1;
&#160;
interface
&#160;
uses
  Windows, Messages, SysUtils, [...]]]></description>
		<wfw:commentRss>http://www.delphitips.net/2008/05/25/how-to-detect-application-associated-with-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Searching for string within a file</title>
		<link>http://www.delphitips.net/2008/05/15/searching-for-string-within-a-file/</link>
		<comments>http://www.delphitips.net/2008/05/15/searching-for-string-within-a-file/#comments</comments>
		<pubDate>Thu, 15 May 2008 20:33:57 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Files]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[substring]]></category>

		<guid isPermaLink="false">http://www.delphitips.net/?p=47</guid>
		<description><![CDATA[To search for a specific substring within any type of file, we can use this rather complex function.
As a parameter, just pass the filename, substring you want to search and finally set true or false, if you want to search case sensitive.

function ScanFile&#40;const filename: string; const forString: string; caseSensitive: Boolean &#41;: LongInt;
const BufferSize= $8001;
var
  [...]]]></description>
		<wfw:commentRss>http://www.delphitips.net/2008/05/15/searching-for-string-within-a-file/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CRC32 (Cyclic Redundency Check)</title>
		<link>http://www.delphitips.net/2008/01/01/crc32-cyclic-redundency-check/</link>
		<comments>http://www.delphitips.net/2008/01/01/crc32-cyclic-redundency-check/#comments</comments>
		<pubDate>Tue, 01 Jan 2008 09:18:56 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Files]]></category>
		<category><![CDATA[Math]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[checksum]]></category>
		<category><![CDATA[CRC]]></category>
		<category><![CDATA[file]]></category>

		<guid isPermaLink="false">http://www.delphitips.net/2008/01/01/crc32-cyclic-redundency-check/</guid>
		<description><![CDATA[One of the most effective method to check if the file is ok is to calculate CRC32 checksum and compare it with previously saved value. Using CRC check, you can also compare two files, verify downloaded files etc&#8230;
Even if the source code is rather long, the function itself is short and not complicated. It reads [...]]]></description>
		<wfw:commentRss>http://www.delphitips.net/2008/01/01/crc32-cyclic-redundency-check/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Directory structure with associated icons and file info in ListView</title>
		<link>http://www.delphitips.net/2007/10/16/directory-structure-with-associated-icons-and-file-info-in-listview/</link>
		<comments>http://www.delphitips.net/2007/10/16/directory-structure-with-associated-icons-and-file-info-in-listview/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 20:52:36 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Files]]></category>
		<category><![CDATA[Forms]]></category>
		<category><![CDATA[System]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[file]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[ListView]]></category>
		<category><![CDATA[structure]]></category>

		<guid isPermaLink="false">http://www.delphitips.net/2007/10/16/directory-structure-with-associated-icons-and-file-info-in-listview/</guid>
		<description><![CDATA[Using ShellAPI unit and few lines of code, we can load directory structure into ListView and show associated icons and information for each file.
First of all, add ShellAPI unit to uses list. Place ListView and ImageList on form. Into ImageList component, we will store icons for each file.

unit Unit1;
&#160;
interface
&#160;
uses
  Windows, Messages, SysUtils, Variants, Classes, [...]]]></description>
		<wfw:commentRss>http://www.delphitips.net/2007/10/16/directory-structure-with-associated-icons-and-file-info-in-listview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
