<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Shaper Jabneel's Weblog</title>
	<atom:link href="http://shaperjabneel.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://shaperjabneel.wordpress.com</link>
	<description>General Information</description>
	<lastBuildDate>Tue, 12 May 2009 10:29:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='shaperjabneel.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Shaper Jabneel's Weblog</title>
		<link>http://shaperjabneel.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://shaperjabneel.wordpress.com/osd.xml" title="Shaper Jabneel&#039;s Weblog" />
	<atom:link rel='hub' href='http://shaperjabneel.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Allowing Only One Instance of an Application in .Net</title>
		<link>http://shaperjabneel.wordpress.com/2008/05/13/allowing-one-instance-of-an-application/</link>
		<comments>http://shaperjabneel.wordpress.com/2008/05/13/allowing-one-instance-of-an-application/#comments</comments>
		<pubDate>Tue, 13 May 2008 03:32:41 +0000</pubDate>
		<dc:creator>shaperjabneel</dc:creator>
				<category><![CDATA[.Net Technology]]></category>
		<category><![CDATA[allowing one instance of an application in .Net]]></category>

		<guid isPermaLink="false">http://shaperjabneel.wordpress.com/?p=14</guid>
		<description><![CDATA[Hi Readers, Standard Windows Form application can be launched multiple times and each instance used completely independently of the others. However, sometimes it is important to restrict the user in launching multiple instance of a program. See the code snippet below in how to restrict lunching of multiple instance of an application. Required Namespace: System.Diagnostics [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shaperjabneel.wordpress.com&amp;blog=3456581&amp;post=14&amp;subd=shaperjabneel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Hi Readers,</strong></p>
<p>Standard Windows Form application can be launched multiple times and each instance used completely independently of the others. However, sometimes it is important to restrict the user in launching multiple instance of a program.</p>
<p>See the code snippet below in how to restrict lunching of multiple instance of an application.</p>
<p>Required Namespace:</p>
<p><span style="font-size:10pt;font-family:Courier New;"><strong>System.Diagnostics</strong></span></p>
<p><span style="font-size:10pt;font-family:Courier New;"><strong>C# Code:</strong></span><br />
<span style="font-size:10pt;font-family:Courier New;">static void Main()<br />
{<br />
// Detect existing instances<br />
string processName = Process.GetCurrentProcess().ProcessName;<br />
Process[] instances = Process.GetProcessesByName(processName);</span></p>
<p>if (instances.Length &gt; 1)<br />
{<br />
MessageBox.Show(&#8220;This application is already running.&#8221;);<br />
return;<br />
}<br />
// End of detection</p>
<p>Application.EnableVisualStyles();<br />
Application.SetCompatibleTextRenderingDefault(false);<br />
Application.Run(new Form1());<br />
}</p>
<p><span style="font-size:10pt;">Hope this would help you folks. Thanks.</span></p>
<p>Best Regards,<br />
<strong>Shaper Jabneel</strong></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/shaperjabneel.wordpress.com/14/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/shaperjabneel.wordpress.com/14/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shaperjabneel.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shaperjabneel.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shaperjabneel.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shaperjabneel.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shaperjabneel.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shaperjabneel.wordpress.com/14/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shaperjabneel.wordpress.com/14/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shaperjabneel.wordpress.com/14/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shaperjabneel.wordpress.com&amp;blog=3456581&amp;post=14&amp;subd=shaperjabneel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shaperjabneel.wordpress.com/2008/05/13/allowing-one-instance-of-an-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/35ca7ff658743334a13f2a73a5fa027a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shaperjabneel</media:title>
		</media:content>
	</item>
		<item>
		<title>Shaper Jabneel&#8217;s Blog</title>
		<link>http://shaperjabneel.wordpress.com/2008/04/12/shaper-jabneels-blog/</link>
		<comments>http://shaperjabneel.wordpress.com/2008/04/12/shaper-jabneels-blog/#comments</comments>
		<pubDate>Sat, 12 Apr 2008 06:36:41 +0000</pubDate>
		<dc:creator>shaperjabneel</dc:creator>
				<category><![CDATA[Health]]></category>

		<guid isPermaLink="false">http://shaperjabneel.wordpress.com/?p=4</guid>
		<description><![CDATA[Directory Technologies<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shaperjabneel.wordpress.com&amp;blog=3456581&amp;post=4&amp;subd=shaperjabneel&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Directory</p>
<p>Technologies</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/shaperjabneel.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/shaperjabneel.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/shaperjabneel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/shaperjabneel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/shaperjabneel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/shaperjabneel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/shaperjabneel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/shaperjabneel.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/shaperjabneel.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/shaperjabneel.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=shaperjabneel.wordpress.com&amp;blog=3456581&amp;post=4&amp;subd=shaperjabneel&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://shaperjabneel.wordpress.com/2008/04/12/shaper-jabneels-blog/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://www.untvweb.com/live1.asx" length="253" type="video/x-ms-asf" />
	
		<media:content url="http://1.gravatar.com/avatar/35ca7ff658743334a13f2a73a5fa027a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">shaperjabneel</media:title>
		</media:content>
	</item>
	</channel>
</rss>
