<?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>CodeHill &#187; WinForms</title>
	<atom:link href="http://codehill.com/category/winforms/feed/" rel="self" type="application/rss+xml" />
	<link>http://codehill.com</link>
	<description>Resources for Webmasters and Developers</description>
	<lastBuildDate>Mon, 06 Feb 2012 14:00:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Displaying an Image Without Locking its File</title>
		<link>http://codehill.com/2010/07/displaying-an-image-without-locking-its-file/</link>
		<comments>http://codehill.com/2010/07/displaying-an-image-without-locking-its-file/#comments</comments>
		<pubDate>Mon, 05 Jul 2010 14:00:04 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[File is Locked by Another Process]]></category>
		<category><![CDATA[File Locked Exception]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=2654</guid>
		<description><![CDATA[The PictureBox control is one of the most used controls in Windows Forms applications. And sometimes you might want to delete the image file that is displayed on it. Doing so with an image displayed using the Image.FromFile function will result in a file locked exception. And file will stay locked until the program exits, [...]
Related posts:<ol>
<li><a href='http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/' rel='bookmark' title='Displaying an XML File in a TreeView Control'>Displaying an XML File in a TreeView Control</a></li>
<li><a href='http://codehill.com/2010/07/opening-a-file-with-its-default-program/' rel='bookmark' title='Opening a File With its Default Program'>Opening a File With its Default Program</a></li>
<li><a href='http://codehill.com/2009/06/displaying-dynamically-generated-images-in-aspnet/' rel='bookmark' title='Displaying Dynamically Generated Images in ASP.NET'>Displaying Dynamically Generated Images in ASP.NET</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2010/07/displaying-an-image-without-locking-its-file/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Opening a File With its Default Program</title>
		<link>http://codehill.com/2010/07/opening-a-file-with-its-default-program/</link>
		<comments>http://codehill.com/2010/07/opening-a-file-with-its-default-program/#comments</comments>
		<pubDate>Thu, 01 Jul 2010 14:00:43 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[Opening Files]]></category>
		<category><![CDATA[Windows Default Programs]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=2650</guid>
		<description><![CDATA[When developing a Windows Forms application you sometimes need to open a file using the default program associated with it automatically for the user view or edit it. This could be done by just calling the System.Diagnostics.Process.Start function and passing the file name and path as a string. It works with any file type as [...]
Related posts:<ol>
<li><a href='http://codehill.com/2010/07/displaying-an-image-without-locking-its-file/' rel='bookmark' title='Displaying an Image Without Locking its File'>Displaying an Image Without Locking its File</a></li>
<li><a href='http://codehill.com/2009/01/dos-batch-file-scripting-tips-that-work-in-vista/' rel='bookmark' title='DOS Batch File Scripting Tips That Work in Vista'>DOS Batch File Scripting Tips That Work in Vista</a></li>
<li><a href='http://codehill.com/2009/01/shutdown-or-restart-the-computer-using-c/' rel='bookmark' title='Shutdown or Restart the Computer Using C#'>Shutdown or Restart the Computer Using C#</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2010/07/opening-a-file-with-its-default-program/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drag And Drop Files to a C# Application</title>
		<link>http://codehill.com/2009/06/drag-and-drop-files-to-a-c-application/</link>
		<comments>http://codehill.com/2009/06/drag-and-drop-files-to-a-c-application/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 14:00:57 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[Drag-And-Drop]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=673</guid>
		<description><![CDATA[The .NET Framework makes it easy to detect objects dragged and/or dropped into a Windows Forms application using one or more of the drag-and-drop events available. In these events you could check if the object is a file. To enable a control to be a target of a drag-and-drop operation set its AllowDrop property to [...]
Related posts:<ol>
<li><a href='http://codehill.com/2008/12/minimize-an-application-to-the-system-tray/' rel='bookmark' title='Minimize an Application to the System Tray'>Minimize an Application to the System Tray</a></li>
<li><a href='http://codehill.com/2009/01/saving-user-and-application-settings-in-winforms/' rel='bookmark' title='Saving User and Application Settings in WinForms'>Saving User and Application Settings in WinForms</a></li>
<li><a href='http://codehill.com/2009/01/reading-and-writing-text-files-in-c/' rel='bookmark' title='Reading and Writing Text Files in C#'>Reading and Writing Text Files in C#</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/06/drag-and-drop-files-to-a-c-application/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Get the Available Network Connections Using WMI</title>
		<link>http://codehill.com/2009/03/get-the-available-network-connections-using-wmi/</link>
		<comments>http://codehill.com/2009/03/get-the-available-network-connections-using-wmi/#comments</comments>
		<pubDate>Mon, 30 Mar 2009 14:00:25 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[Network Connections]]></category>
		<category><![CDATA[Windows Management Instrumentation]]></category>
		<category><![CDATA[WMI]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=618</guid>
		<description><![CDATA[Windows Management Instrumentation (WMI) makes querying Windows for system and devices information easy. And this is even easier with System.Management assembly. The code listed loads the names of the network connections in a ListBox, which when clicked displays all the available properties in a ListView. To get the code to work add a reference to [...]
Related posts:<ol>
<li><a href='http://codehill.com/2009/02/how-to-get-a-web-applications-directory-path-in-aspnet/' rel='bookmark' title='How to Get a Web Application&#8217;s Directory Path in ASP.NET'>How to Get a Web Application&#8217;s Directory Path in ASP.NET</a></li>
<li><a href='http://codehill.com/2008/12/an-md5-hash-of-a-string/' rel='bookmark' title='An MD5 Hash of a String'>An MD5 Hash of a String</a></li>
<li><a href='http://codehill.com/2009/01/2-ways-to-confirm-deletion-in-an-aspnet-gridview/' rel='bookmark' title='2 Ways to Confirm Deletion in an ASP.NET GridView'>2 Ways to Confirm Deletion in an ASP.NET GridView</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/get-the-available-network-connections-using-wmi/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Simple Networking Tasks in C#</title>
		<link>http://codehill.com/2009/03/simple-networking-tasks-in-c/</link>
		<comments>http://codehill.com/2009/03/simple-networking-tasks-in-c/#comments</comments>
		<pubDate>Fri, 27 Mar 2009 14:00:28 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[Mono 2.0]]></category>
		<category><![CDATA[WinForms]]></category>
		<category><![CDATA[DNS Lookup]]></category>
		<category><![CDATA[Download File]]></category>
		<category><![CDATA[Ping]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=608</guid>
		<description><![CDATA[Developing applications in C# that access resource on the internet is easy. This post shows four useful functions: checking if the PC is connected to a network, domain name to IP address lookup, ping a host and download a file. &#160; Network Availability You can check if there are any network connections using NetworkInterface.GetIsNetworkAvailable static [...]
Related posts:<ol>
<li><a href='http://codehill.com/2009/01/lock-sleep-or-hibernate-windows-using-c/' rel='bookmark' title='Lock, Sleep or Hibernate Windows using C#'>Lock, Sleep or Hibernate Windows using C#</a></li>
<li><a href='http://codehill.com/2009/03/get-the-available-network-connections-using-wmi/' rel='bookmark' title='Get the Available Network Connections Using WMI'>Get the Available Network Connections Using WMI</a></li>
<li><a href='http://codehill.com/2009/02/capturing-outlook-2007s-new-mail-and-reminder-events/' rel='bookmark' title='Capturing Outlook 2007&#8242;s New Mail and Reminder Events'>Capturing Outlook 2007&#8242;s New Mail and Reminder Events</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/simple-networking-tasks-in-c/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>A Registry Viewer in C#</title>
		<link>http://codehill.com/2009/03/a-registry-viewer-in-c/</link>
		<comments>http://codehill.com/2009/03/a-registry-viewer-in-c/#comments</comments>
		<pubDate>Tue, 24 Mar 2009 14:00:59 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[Windows Registry]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=603</guid>
		<description><![CDATA[The Registry is a database in Windows that is available for application developers to use for storing small amounts of data. It is mostly used to save application setting like the window size and database connection string. In this series of post I will demonstrate how to create a simple registry editor in C#. The [...]
Related posts:<ol>
<li><a href='http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/' rel='bookmark' title='Displaying an XML File in a TreeView Control'>Displaying an XML File in a TreeView Control</a></li>
<li><a href='http://codehill.com/2009/01/saving-user-and-application-settings-in-winforms/' rel='bookmark' title='Saving User and Application Settings in WinForms'>Saving User and Application Settings in WinForms</a></li>
<li><a href='http://codehill.com/2009/03/a-wrapper-class-for-hostipinfos-geolocation-service/' rel='bookmark' title='A Wrapper Class For hostip.info&#8217;s GeoLocation Service'>A Wrapper Class For hostip.info&#8217;s GeoLocation Service</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/a-registry-viewer-in-c/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>Displaying an XML File in a TreeView Control</title>
		<link>http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/</link>
		<comments>http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/#comments</comments>
		<pubDate>Sat, 21 Mar 2009 14:00:16 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[TreeView]]></category>
		<category><![CDATA[XML]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=594</guid>
		<description><![CDATA[XML&#8217;s structure is hierarchical and therefore can be displayed in a TreeView control easily. The XMLTree program displays the elements of the XML file in a TreeView control and the attributes of the selected element in a ListView control. Wikipedia&#8217;s definition of the Extensible Markup Language or XML is a general-purpose specification for creating custom [...]
Related posts:<ol>
<li><a href='http://codehill.com/2009/03/a-registry-viewer-in-c/' rel='bookmark' title='A Registry Viewer in C#'>A Registry Viewer in C#</a></li>
<li><a href='http://codehill.com/2010/07/displaying-an-image-without-locking-its-file/' rel='bookmark' title='Displaying an Image Without Locking its File'>Displaying an Image Without Locking its File</a></li>
<li><a href='http://codehill.com/2009/01/saving-user-and-application-settings-in-winforms/' rel='bookmark' title='Saving User and Application Settings in WinForms'>Saving User and Application Settings in WinForms</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A Wrapper Class For hostip.info&#8217;s GeoLocation Service</title>
		<link>http://codehill.com/2009/03/a-wrapper-class-for-hostipinfos-geolocation-service/</link>
		<comments>http://codehill.com/2009/03/a-wrapper-class-for-hostipinfos-geolocation-service/#comments</comments>
		<pubDate>Wed, 18 Mar 2009 14:00:21 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[Mono 2.0]]></category>
		<category><![CDATA[WinForms]]></category>
		<category><![CDATA[GeoLocation]]></category>
		<category><![CDATA[hostip.info]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=587</guid>
		<description><![CDATA[GeoLocation refers to identifying a real-world geographic location of a computer, device or website visitor. There are a many websites that provide this service, some are free and some are not. A populare and free one is hostip.info. It provides country, country code, country flag, city, latitude and longitude of an IP address. This wrapper [...]
Related posts:<ol>
<li><a href='http://codehill.com/2008/12/an-md5-hash-of-a-string/' rel='bookmark' title='An MD5 Hash of a String'>An MD5 Hash of a String</a></li>
<li><a href='http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/' rel='bookmark' title='Displaying an XML File in a TreeView Control'>Displaying an XML File in a TreeView Control</a></li>
<li><a href='http://codehill.com/2009/02/dictionaries-of-html-codes/' rel='bookmark' title='Dictionaries of HTML Codes'>Dictionaries of HTML Codes</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/a-wrapper-class-for-hostipinfos-geolocation-service/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>An Open Source Website Screen Capture Program</title>
		<link>http://codehill.com/2009/03/an-open-source-website-screen-capture-program/</link>
		<comments>http://codehill.com/2009/03/an-open-source-website-screen-capture-program/#comments</comments>
		<pubDate>Sat, 14 Mar 2009 16:00:42 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[WinForms]]></category>
		<category><![CDATA[SiteCapture]]></category>
		<category><![CDATA[SQLite]]></category>
		<category><![CDATA[Website Screenshot]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=583</guid>
		<description><![CDATA[A few weeks ago I posted Taking Thumbnails of a Website, that shows how to take a screen shot of a website using the Web Browser control. I used the code from the post to develop SiteCapture as an open source application. SiteCapture is quite customizable. You could choose the browser width and height, as [...]
Related posts:<ol>
<li><a href='http://codehill.com/2010/07/opening-a-file-with-its-default-program/' rel='bookmark' title='Opening a File With its Default Program'>Opening a File With its Default Program</a></li>
<li><a href='http://codehill.com/2009/02/taking-thumbnails-of-a-website/' rel='bookmark' title='Taking Thumbnails of a Website'>Taking Thumbnails of a Website</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/an-open-source-website-screen-capture-program/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Displaying Gravatars Using C#</title>
		<link>http://codehill.com/2009/03/displaying-gravatars-using-c/</link>
		<comments>http://codehill.com/2009/03/displaying-gravatars-using-c/#comments</comments>
		<pubDate>Mon, 02 Mar 2009 14:00:02 +0000</pubDate>
		<dc:creator>Amgad</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[WinForms]]></category>
		<category><![CDATA[Avatar]]></category>
		<category><![CDATA[Gravatar]]></category>

		<guid isPermaLink="false">http://codehill.com/?p=536</guid>
		<description><![CDATA[Gravatar is a popular avatar service that links email addresses to the avatar. You do not need to register an account to be able to display gravatars on your site. All you need to do is construct the URL of the image using the user&#8217;s email. To construct the URL concatenate &#8220;http://www.gravatar.com/avatar.php?gravatar_id=&#8221; to the MD5 [...]
Related posts:<ol>
<li><a href='http://codehill.com/2008/12/an-md5-hash-of-a-string/' rel='bookmark' title='An MD5 Hash of a String'>An MD5 Hash of a String</a></li>
<li><a href='http://codehill.com/2009/09/an-online-tool-to-generate-the-md5-of-text/' rel='bookmark' title='An Online Tool to Generate The MD5 of Text'>An Online Tool to Generate The MD5 of Text</a></li>
<li><a href='http://codehill.com/2009/03/displaying-an-xml-file-in-a-treeview-control/' rel='bookmark' title='Displaying an XML File in a TreeView Control'>Displaying an XML File in a TreeView Control</a></li>
</ol>]]></description>
		<wfw:commentRss>http://codehill.com/2009/03/displaying-gravatars-using-c/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

