<?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>coder000 &#187; icon</title>
	<atom:link href="http://coder000.com/tag/icon/feed/" rel="self" type="application/rss+xml" />
	<link>http://coder000.com</link>
	<description>an exploration, a quest... to grow</description>
	<lastBuildDate>Thu, 03 Sep 2009 17:46:55 +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>Convert Image to Icon and Icon to Image in VB Net</title>
		<link>http://coder000.com/convert-image-to-icon-and-icon-to-image-in-vb-net/</link>
		<comments>http://coder000.com/convert-image-to-icon-and-icon-to-image-in-vb-net/#comments</comments>
		<pubDate>Tue, 01 Sep 2009 18:51:48 +0000</pubDate>
		<dc:creator>Rahul Vyas</dc:creator>
				<category><![CDATA[graphics]]></category>
		<category><![CDATA[icon]]></category>
		<category><![CDATA[img format]]></category>

		<guid isPermaLink="false">http://coder000.com/?p=231</guid>
		<description><![CDATA[<p>This discussion is about conversion of an image into icon and of an icon into image. Apart from the code and technique of conversion, you will find some bits on FileOpenDialog, FileSaveDialog, Exception Handling, MakeTransparent method, FileStream, IntPtr (Integer Pointer), GetHicon &#38; FromHandle methods as well.</p>
<p></p>
<p class="wp-caption-text">See Screenshot</p>
<p></p>
<p>Image to Icon</p>
<p>The code in the click event handler of Load button is:</p>


foD.Filter = &#34;Image Files (*.bmp; *.jpg; *.gif; *.tiff; *.png) &#124; *.bmp;*.jpg;*.gif;*.tiff;*.png&#34;
foD.ShowDialog()
Try
  pctSImg.Image = pctSImg.Image.FromFile(foD.FileName)
Catch ex As Exception
  MessageBox.Show(&#34;Please check that you have entered correct filename. If filename is correct the image file might be   corrupt...&#34;, &#34;File cannot be loaded&#34;, MessageBoxButtons.OK, MessageBoxIcon.Error)
End Try


<p>Please <a href="http://coder000.com/convert-image-to-icon-and-icon-to-image-in-vb-net/">[...]<a>]]></description>
		<wfw:commentRss>http://coder000.com/convert-image-to-icon-and-icon-to-image-in-vb-net/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
