<?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>Point Deep</title>
	<atom:link href="http://mundeep.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mundeep.wordpress.com</link>
	<description>Mundeep's Tech Blog</description>
	<lastBuildDate>Wed, 07 Oct 2009 22:23:55 +0000</lastBuildDate>
	<generator>http://wordpress.com/</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<cloud domain='mundeep.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://www.gravatar.com/blavatar/336d4da820b5a4e066fed02e0fb6acd0?s=96&#038;d=http://s.wordpress.com/i/buttonw-com.png</url>
		<title>Point Deep</title>
		<link>http://mundeep.wordpress.com</link>
	</image>
			<item>
		<title>Updating the Created Date of a Document or List Item Programmatically</title>
		<link>http://mundeep.wordpress.com/2009/05/22/updating-the-created-date-of-a-document/</link>
		<comments>http://mundeep.wordpress.com/2009/05/22/updating-the-created-date-of-a-document/#comments</comments>
		<pubDate>Fri, 22 May 2009 01:39:57 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[WSS]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=71</guid>
		<description><![CDATA[A common tasks developers are required to do with Sharepoint is migrated documents from either legacy systems or older Sharepoint sites into a document library. There are many ways to do this documented out there (most commonly using the Files.Add method of the API), but one of the common requirements during this &#8216;migration&#8217; is to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=71&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>A common tasks developers are required to do with Sharepoint is migrated documents from either legacy systems or older Sharepoint sites into a document library. There are many ways to do this documented out there (most commonly using the <a href="http://msdn.microsoft.com/en-us/library/ms454491.aspx">Files.Add</a> method of the API), but one of the common requirements during this &#8216;migration&#8217; is to retain the Created Date or Created By fields. <a href="http://blogs.msdn.com/sowmyancs/">Sowmyan&#8217;s blog</a> has a good description of how to set the Created By/Modified By user fields <a href="http://blogs.msdn.com/sowmyancs/archive/2008/03/14/can-we-update-the-values-of-created-by-modified-by-columns-in-sharepoint-lists.aspx">here</a>.</p>
<p>Updating the Created Date of a document or list item in Sharepoint is even easier, simply set the &#8220;Created&#8221; field of the item to the value you wish to set. For example if using the <a href="http://www.davehunter.co.uk/Blog/Lists/Posts/Post.aspx?ID=109">Files.Add methods in the API</a> (as described by <a href="http://www.davehunter.co.uk">Dave Hunter</a>) then the following code snippet will update the Created Date:</p>
<pre class="brush: csharp;">
// add the file
SPFile file = docLib.RootFolder.Files.Add(newFileName, inputStream);
// get the list item for that file
SPItem item = file.Item;
//Set the Created Date
item[&quot;Created&quot;] = &quot;2009-02-26 15:00:00&quot;;
item.Update();
</pre>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/71/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/71/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/71/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=71&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/05/22/updating-the-created-date-of-a-document/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>InfoPath 2007 Custom Field Validation (Programmatic)</title>
		<link>http://mundeep.wordpress.com/2009/05/20/infopath-2007-custom-field-validation/</link>
		<comments>http://mundeep.wordpress.com/2009/05/20/infopath-2007-custom-field-validation/#comments</comments>
		<pubDate>Tue, 19 May 2009 14:22:40 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Office]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[validation]]></category>
		<category><![CDATA[visual studio tools for applications]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=39</guid>
		<description><![CDATA[Adding custom (programmatic) field validation to a form in InfoPath 2007 is quite easy. Firstly make sure you have set your programming language of choice by going to the Tools menu then &#8220;Form Options&#8221; -&#62; &#8220;Programming&#8221;, and then selecting your preferred language under &#8220;Form template code language&#8221;. For this example i am going to be [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=39&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Adding custom (programmatic) field validation to a form in InfoPath 2007 is quite easy. Firstly make sure you have set your programming language of choice by going to the Tools menu then &#8220;Form Options&#8221; -&gt; &#8220;Programming&#8221;, and then selecting your preferred language under &#8220;Form template code language&#8221;. For this example i am going to be using C#.</p>
<p>Back in your form design window right-click on the field you wish to validate, and select &#8220;Programming&#8221; -&gt; &#8220;Validating Event&#8221;. This will open a &#8220;Visual Studio Tools for Applications&#8221; (<a href="http://blogs.msdn.com/vsta/">VSTA</a>) window, and generate the following code snippet:</p>
<pre class="brush: csharp;">
        public void myFieldName_Validating(object sender, XmlValidatingEventArgs e)
        {
            // Write your code here.
        }
</pre>
<p>Obviously this code is not doing any validation yet, we just need to insert our validation code in place of the &#8220;your code here&#8221; comment. Let us try a simple validation of ensure the data entered in the field is at least 3 characters long with the following code.</p>
<pre class="brush: csharp;">
public void myFieldName_Validating(object sender, XmlValidatingEventArgs e) {
    //Check the Length of the NewValue of the field
    if (e.NewValue.Length &lt; 3) {
        //Report the validation error back to the client on the form
        e.ReportError(e.Site, false, &quot;Please Enter a valid MyField&quot;);
    }
}
</pre>
<p>As mentioned in the comments e.NewValue retrieves the &#8216;New&#8217; value that is being entered/inserted into the field before it has been set and e.ReportError sends any validation errors back to the form for the client (read the <a href="http://msdn.microsoft.com/en-us/library/aa944759.aspx">MSDN article</a> for details on the parameters of ReportError).</p>
<p>Unfortunately there is a minor issue with this basic piece of code and that is due to the fact that the validating event also gets fired during the loading of the form and as shown in <a href="http://support.microsoft.com/kb/822032">this kb article</a> we need to check the XmlOperation that is being performed when the validation is fired. This means updating our code to the following.</p>
<pre class="brush: csharp;">
public void myFieldName_Validating(object sender, XmlValidatingEventArgs e)  {
    //Ensure validation is only done when inserting or changing a value
     if (e.Operation == XmlOperation.Insert || e.Operation == XmlOperation.ValueChange) {
        //Check the Length of the NewValue of the field
        if (e.NewValue.Length &lt; 3) {
            //Report the validation error back to the client on the form
            e.ReportError(e.Site, false, &quot;Please Enter a valid MyField&quot;);
        }
    }
}
</pre>
<p>Save your code changes and while still in VSTA build the project to ensure you don&#8217;t have any coding errors (Ctrl+Shift+B, or from the menu &#8220;Build&#8221; -&gt; &#8220;Build &#8216;MyFormName&#8217;&#8221;). If you get a &#8220;Build succeeded&#8221; message in the status bar you can close the VSTA window and then preview your form to see your validation in action.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/39/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/39/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/39/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=39&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/05/20/infopath-2007-custom-field-validation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Checking if a SPFolder Exists</title>
		<link>http://mundeep.wordpress.com/2009/02/24/checking-if-a-spfolder-exists/</link>
		<comments>http://mundeep.wordpress.com/2009/02/24/checking-if-a-spfolder-exists/#comments</comments>
		<pubDate>Tue, 24 Feb 2009 03:51:58 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[SPFolder]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=67</guid>
		<description><![CDATA[Ran into a colleague&#8217;s code that was incorrectly trying to check if a folder existed. It was something like:

private bool CheckFolderExists(SPWeb parentWeb, string folderName) {
    SPFolder folder = parentWeb.GetFolder(folderName);
    if (folder == null) {
        return false;
    }
   [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=67&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ran into a colleague&#8217;s code that was incorrectly trying to check if a folder existed. It was something like:</p>
<pre class="brush: csharp;">
private bool CheckFolderExists(SPWeb parentWeb, string folderName) {
    SPFolder folder = parentWeb.GetFolder(folderName);
    if (folder == null) {
        return false;
    }
    else {
         return true;
    }
}
</pre>
<p>however this always returns an actual SPFolder object, and the correct way is to check the Exists property of the returned object ie:</p>
<pre class="brush: csharp;">
private bool CheckFolderExists(SPWeb parentWeb, string folderName) {
    SPFolder folder = parentWeb.GetFolder(folderName);
    return folder.Exists;
}
</pre>
<p>NB: Yes, this post is almost identical to my earlier one about <a href="http://mundeep.wordpress.com/2007/12/19/checking-if-a-spweb-exists/">checking if an SPWeb object exists</a>.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/67/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/67/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/67/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=67&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/02/24/checking-if-a-spfolder-exists/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>InfoPath Forms Services is not turned on</title>
		<link>http://mundeep.wordpress.com/2009/02/17/infopath-forms-services-is-not-turned-on/</link>
		<comments>http://mundeep.wordpress.com/2009/02/17/infopath-forms-services-is-not-turned-on/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 06:38:38 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Config Database]]></category>
		<category><![CDATA[Forms Services]]></category>
		<category><![CDATA[InfoPath]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=63</guid>
		<description><![CDATA[While trying to deploy an InfoPath Form to sharepoint via stsadm commands i received the error:
InfoPath Forms Services is not turned on.
Initially thinking that the Enterprise features where not enabled in the Site Collection i was deploying to i tried activating the &#8220;Office SharePoint Server Enterprise Site Collection  features&#8221;, however that did not make [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=63&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While trying to deploy an InfoPath Form to sharepoint via stsadm commands i received the error:</p>
<blockquote><p>InfoPath Forms Services is not turned on.</p></blockquote>
<p>Initially thinking that the Enterprise features where not enabled in the Site Collection i was deploying to i tried activating the &#8220;Office SharePoint Server Enterprise Site Collection  features&#8221;, however that did not make a difference.</p>
<p>Turns out the problem was that the account i was trying to deploy under (my own) did not have sufficient permissions (to what i am not sure &#8211; but i am guessing the configuration database), running the deployment under an account with more priveleges solved the problem.</p>
<p><strong>Summary:</strong> If you get the above error make sure to try your deployment/stsadm commands under an account with higher priveleges (most likely access to the config database).</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=63&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/02/17/infopath-forms-services-is-not-turned-on/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Converting InfoPath Forms into Visual Studio Projects</title>
		<link>http://mundeep.wordpress.com/2009/02/16/converting-infopath-forms-into-visual-studio-projects/</link>
		<comments>http://mundeep.wordpress.com/2009/02/16/converting-infopath-forms-into-visual-studio-projects/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 08:02:24 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[InfoPath]]></category>
		<category><![CDATA[manifest.xsf]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[visual studio tools for applications]]></category>
		<category><![CDATA[visual studio tools for office]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=41</guid>
		<description><![CDATA[I was recently trying to converting some InfoPath froms that had been created as per default in the InfoPath client application (and using Visual Studio Tools for Applications for Code-Behind) into a Visual Studio project to be opened in Visual Stdio 2005 as per the MSDN HowTo. However when i reached the last step and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=41&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>I was recently trying to converting some InfoPath froms that had been created as per default in the InfoPath client application (and using Visual Studio Tools for Applications for Code-Behind) into a Visual Studio project to be opened in Visual Stdio 2005 as per the <a href="http://msdn.microsoft.com/en-au/library/aa947042(VS.80).aspx" target="_blank">MSDN HowTo</a>. However when i reached the last step and opened the masnifest.xsf it would just me show me the xml contents of the file and not the visual form editing GUI that you see in the InfoPath client. Solution was to install Visual Studio 2005 Tools for Office Second Edition (<a href="http://msdn.microsoft.com/en-us/office/aa905543.aspx" target="_blank">VSTO 2005 SE</a>) and then reopen the project.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/41/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/41/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/41/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=41&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/02/16/converting-infopath-forms-into-visual-studio-projects/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>sgen.exe exited with code 1</title>
		<link>http://mundeep.wordpress.com/2009/02/12/sgenexe-exited-with-code-1/</link>
		<comments>http://mundeep.wordpress.com/2009/02/12/sgenexe-exited-with-code-1/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 12:23:48 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[compiling]]></category>
		<category><![CDATA[serlialization]]></category>
		<category><![CDATA[sgen.exe]]></category>
		<category><![CDATA[visual studio]]></category>
		<category><![CDATA[xml]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=55</guid>
		<description><![CDATA[While developing a Sharepoint solution using WSPBuilder and Visual Studio 2005 i noticed that i would get the following error when trying to compile a Release build (on further examination i noticed that it would occur whenever i switched between release &#38; debug builds):
&#8220;sgen.exe exited with code 1&#8243;
After doing some research i found a several [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=55&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While developing a Sharepoint solution using WSPBuilder and Visual Studio 2005 i noticed that i would get the following error when trying to compile a Release build (on further examination i noticed that it would occur whenever i switched between release &amp; debug builds):</p>
<blockquote><p>&#8220;sgen.exe exited with code 1&#8243;</p></blockquote>
<p>After doing some research i found a several different suggested solutions:</p>
<ol>
<li>Remove and re-add the project from the solution as per <a href="http://social.msdn.microsoft.com/Forums/en-US/msbuild/thread/f7f4c51f-daf6-44c5-b214-cf312b8f625f/" target="_blank">this forum post.</a></li>
<li>Turn off the &#8220;Generate serialization assembly&#8221; option in the Build tab of Project Properties see <a href="http://briancaos.wordpress.com/2008/11/26/sgenexe-exited-with-code-1/" target="_blank">this blogpost</a> and <a href="http://yasirbutt.spaces.live.com/Blog/cns!A8677D5751E6B4DA!1017.entry" target="_blank">this one</a>.</li>
<li>Remove the previous version of the assembly from the GAC as per <a href="http://chrissyblanco.blogspot.com/2006/10/sgenexe-exited-with-code-1.html" target="_blank">this blogpost</a>.</li>
</ol>
<p>To determine which solution i should use required some more research on <a href="http://msdn.microsoft.com/en-us/library/bk3w6240(VS.80).aspx" target="_blank">sgen.exe</a> does. As per the <a href="http://msdn.microsoft.com/en-us/library/bk3w6240(VS.80).aspx" target="_blank">MSDN article</a>:</p>
<blockquote><p>When the XML Serializer Generator is not used, a <strong>XmlSerializer</strong> generates serialization code and a serialization assembly for each type every time an application is run. To improve the performance of XML serialization startup, use the Sgen.exe tool to generate those assemblies the assemblies in advance. These assemblies can then be deployed with the application.</p>
<p>The XML Serializer Generator can also improve the performance of clients that use XML Web service proxies to communicate with servers because the serialization process will not incur a performance hit when the type is loaded the first time.</p>
<p>These generated assemblies cannot be used on the server side of a Web service. This tool is only for Web service clients and manual serialization scenarios.</p>
<p>If the assembly containing the type to serialize is named MyType.dll, then the associated serialization assembly will be named MyType.XmlSerializers.dll.</p></blockquote>
<p>This means that as well as being impractical the first solution doesn&#8217;t really solve the problem.</p>
<p>The second solution &#8217;solves&#8217; the probelm, however based on the MSDN article it may result in a minor performance hit if the serialization class is required.</p>
<p>In my case i was performing some manual serialization and thus decided to live with the minor annoyance of soltuion #3 and removing the existing assemblies from the GAC whenever i ran into the error.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=55&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/02/12/sgenexe-exited-with-code-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Retrieving unique values from a column or list in Excel 2007</title>
		<link>http://mundeep.wordpress.com/2009/02/10/retrieving-unique-values-from-a-column-or-list-in-excel-2007/</link>
		<comments>http://mundeep.wordpress.com/2009/02/10/retrieving-unique-values-from-a-column-or-list-in-excel-2007/#comments</comments>
		<pubDate>Tue, 10 Feb 2009 05:54:06 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[Office]]></category>
		<category><![CDATA[excel 2007]]></category>
		<category><![CDATA[filtering]]></category>
		<category><![CDATA[unique values]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=45</guid>
		<description><![CDATA[To generate a list of unique values from a column/list in excel with repeating values it is possible to use the &#8220;Advanced Filtering&#8221; functionality. To demonstrate let us look at an example where you have some de-normalised data such as a list of countries and colours on their flag you can retrieve both a list [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=45&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To generate a list of unique values from a column/list in excel with repeating values it is possible to use the &#8220;Advanced Filtering&#8221; functionality. To demonstrate let us look at an example where you have some de-normalised data such as a list of countries and colours on their flag you can retrieve both a list of the countries and a list of unique colours used.</p>
<p>Here is a list of our initial data:</p>
<div id="attachment_47" class="wp-caption alignnone" style="width: 166px"><img class="size-full wp-image-47" title="Figure 1) Sample Denormalised Data" src="http://mundeep.files.wordpress.com/2009/02/01_sampleflagdata.png?w=156&#038;h=348" alt="Sample Denormalised Data" width="156" height="348" /><p class="wp-caption-text">Figure 1) Sample Denormalised Data</p></div>
<p>From this we want to return a list of (a) unique countries &amp; (b) unique colours used.</p>
<p>1) In the menu click on Data and then in the Ribbon click on &#8220;Advanced&#8221; in the filter section.</p>
<div id="attachment_48" class="wp-caption alignnone" style="width: 402px"><img class="size-full wp-image-48" title="Figure 2) Advanced Filter Button" src="http://mundeep.files.wordpress.com/2009/02/02_advancedfilterbutton.png?w=392&#038;h=140" alt="Figure 2) Advanced Filter Button" width="392" height="140" /><p class="wp-caption-text">Figure 2) Advanced Filter Button</p></div>
<p>2) If you get a warning about not being able to determine which row contains column labels click on OK (this will assume the first row in your data selection is the column header).</p>
<div id="attachment_49" class="wp-caption alignnone" style="width: 507px"><img class="size-full wp-image-49" title="Figure 3) Column Label Warning" src="http://mundeep.files.wordpress.com/2009/02/03_labelwarning.png?w=497&#038;h=108" alt="Figure 3) Column Label Warning" width="497" height="108" /><p class="wp-caption-text">Figure 3) Column Label Warning</p></div>
<p>3) In the advanced filter dialog:</p>
<ul>
<li>Select &#8220;Copy to another location&#8221;.</li>
<li>In the &#8216;List Range&#8217; select a column of data (eg. the country column).</li>
<li>Leave criteria range blank.</li>
<li>In the &#8216;Copy To&#8217; select a single cell in the same sheet to copy the data to.</li>
<li>Ensure the &#8220;Unique records only&#8221; checkbox is ticked.</li>
<li>Click OK</li>
</ul>
<div id="attachment_50" class="wp-caption alignnone" style="width: 507px"><img class="size-full wp-image-50" title="Figure 4) Advanced Filter Dialog" src="http://mundeep.files.wordpress.com/2009/02/04_copydata.png?w=497&#038;h=300" alt="Figure 4) Advanced Filter Dialog" width="497" height="300" /><p class="wp-caption-text">Figure 4) Advanced Filter Dialog</p></div>
<p>4) Repeat for the &#8216;Colour&#8217; column.</p>
<div id="attachment_51" class="wp-caption alignnone" style="width: 507px"><img class="size-full wp-image-51" title="Figure 5) Filter Colour Column" src="http://mundeep.files.wordpress.com/2009/02/05_copyagain.png?w=497&#038;h=282" alt="Figure 5) Filter Colour Column" width="497" height="282" /><p class="wp-caption-text">Figure 5) Filter Colour Column</p></div>
<p>5) You should now have a unique list of countries &amp; colours as follows (note the column headers for the unique lists was changed).</p>
<div id="attachment_52" class="wp-caption alignnone" style="width: 453px"><img class="size-full wp-image-52" title="Figure 6) Final Result" src="http://mundeep.files.wordpress.com/2009/02/06_finalresult.png?w=443&#038;h=354" alt="Figure 6) Final Result" width="443" height="354" /><p class="wp-caption-text">Figure 6) Final Result</p></div>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/45/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/45/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/45/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=45&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2009/02/10/retrieving-unique-values-from-a-column-or-list-in-excel-2007/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>

		<media:content url="http://mundeep.files.wordpress.com/2009/02/01_sampleflagdata.png" medium="image">
			<media:title type="html">Figure 1) Sample Denormalised Data</media:title>
		</media:content>

		<media:content url="http://mundeep.files.wordpress.com/2009/02/02_advancedfilterbutton.png" medium="image">
			<media:title type="html">Figure 2) Advanced Filter Button</media:title>
		</media:content>

		<media:content url="http://mundeep.files.wordpress.com/2009/02/03_labelwarning.png" medium="image">
			<media:title type="html">Figure 3) Column Label Warning</media:title>
		</media:content>

		<media:content url="http://mundeep.files.wordpress.com/2009/02/04_copydata.png" medium="image">
			<media:title type="html">Figure 4) Advanced Filter Dialog</media:title>
		</media:content>

		<media:content url="http://mundeep.files.wordpress.com/2009/02/05_copyagain.png" medium="image">
			<media:title type="html">Figure 5) Filter Colour Column</media:title>
		</media:content>

		<media:content url="http://mundeep.files.wordpress.com/2009/02/06_finalresult.png" medium="image">
			<media:title type="html">Figure 6) Final Result</media:title>
		</media:content>
	</item>
		<item>
		<title>stsadm runs slowy</title>
		<link>http://mundeep.wordpress.com/2008/10/21/stsadm-runs-slowy/</link>
		<comments>http://mundeep.wordpress.com/2008/10/21/stsadm-runs-slowy/#comments</comments>
		<pubDate>Tue, 21 Oct 2008 05:22:52 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[proxy]]></category>
		<category><![CDATA[stsadm]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=34</guid>
		<description><![CDATA[Ran into problems in a virtualised (vmware) sharepoint environment where stsadm commands would take a long time to run (upto 30 seconds for a simple stsadm -?) when running under my account but it would run fine (couple of seconds) under a different user account.
After scratching our heads and trying to determine if any security [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=34&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>Ran into problems in a virtualised (vmware) sharepoint environment where stsadm commands would take a long time to run (upto 30 seconds for a simple stsadm -?) when running under my account but it would run fine (couple of seconds) under a different user account.</p>
<p>After scratching our heads and trying to determine if any security groups where missing from my account (and the other people this would happen to) we  narrowed it down to occuring only on machines where we did not perform the sharepoint install.</p>
<p>This didn&#8217;t really help solve the problem but some googling bought me to <a title="Mark Rhodes" href="http://www.msexperts.org/blogs/mark" target="_blank">Mark Rhode&#8217;s</a> blog where he explains that the problem is usually due to stsadm trying to query <span style="color:#ff0000;">crl.microsoft.com</span> before executing &#8211; hence our issue being that internet proxies where not correctly setup for some users.</p>
<p>The simplest solution to the problem is to correct the proxy so the environment has internet access. However for those that don&#8217;t want to (or can&#8217;t) open their virtual environments to the internet, Mark has a couple of other <a title="suggestions" href="http://www.msexperts.org/blogs/mark/archive/2008/09/14/anything-loading-net-slow.aspx" target="_blank">suggestions</a> (such as adding a host entry for crl.microsoft.com pointed to 127.0.0.1).  <a title="Paul Horsfall" href="http://paulhorsfall.co.uk/archive/2007/05/27/Stsadm.exe-and-iisreset-Slow-Behind-Proxy-on-SharePoint.aspx" target="_blank">Paul Horsfall</a> also explains how he found the problem using Ethereal and then used <a href="http://msdn.microsoft.com/en-us/library/ms761351.aspx" target="_blank">proxycfg.exe</a> to setup his proxy.</p>
  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/34/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/34/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/34/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=34&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2008/10/21/stsadm-runs-slowy/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>Hiding Mapped Property Images in User Profiles</title>
		<link>http://mundeep.wordpress.com/2008/09/09/hiding-mapped-property-images-in-user-profiles/</link>
		<comments>http://mundeep.wordpress.com/2008/09/09/hiding-mapped-property-images-in-user-profiles/#comments</comments>
		<pubDate>Tue, 09 Sep 2008 01:21:13 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[Sharepoint]]></category>
		<category><![CDATA[Javascript]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=10</guid>
		<description><![CDATA[While working with Sharepoint User Profiles I have had to perform a hack to remove Mapped property images or Warning property images from the Sharepoint User Profiles edit page. Using the default ShowMappedIcon or ShowWarningIcon properties of the &#8220;UserProfileEditor&#8221; control easily allow you to hide the warnings and mapping information however it destroys the layout [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=10&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>While working with Sharepoint User Profiles I have had to perform a hack to remove Mapped property images or Warning property images from the Sharepoint User Profiles edit page. Using the default ShowMappedIcon or ShowWarningIcon properties of the &#8220;UserProfileEditor&#8221; control easily allow you to hide the warnings and mapping information however it destroys the layout of the rest of the editing page by missing lots of table cells and results in an ugly looking page.</p>
<p>As a result i had to instead leave ShowMappedIcon=&#8221;true&#8221; and then use the following javascript to hide all the mapping images and wording:</p>
<pre class="brush: jscript;">
/// &lt;summary&gt;
/// Hide mapping text and images.
/// &lt;/summary&gt;
function clearMappingDisplay() {
    try {
        //Hide Mapping Images
        //Find all images on page
        var images = document.getElementsByTagName('IMG');
        for (var i=0; i &lt; images.length; i++) {
            var curImage = images[i];
            //If image is for &quot;Mapped&quot; property
            if(curImage.alt == &quot;Mapped&quot;) {
                //Replace image with blank.gif &amp; hide image
                curImage.src = curImage.src.replace(&quot;mapped&quot;, &quot;blank&quot;);
                curImage.style.visibility = &quot;hidden&quot;;
            }
        }
        //Hide mapping text
        //Get tblMain container
        var mainTable = document.getElementById('tblMain');
        //Get all tables within main table
        var subTables = mainTable.getElementsByTagName('TABLE');
        for (var i=0; i &lt; subTables.length; i++) {
            var curTable = subTables[i];
            //Find the table that includes the mapping text
            if(curTable.innerText.indexOf(&quot;mapped for profile import&quot;) &gt; -1) {
                for (var k=0; k &lt; curTable.cells.length; k++) {
                    var cell = curTable.cells[k];
                    //Find the cell that contains the mapping text
                    if(cell.innerText.indexOf(&quot;mapped for profile import&quot;) &gt; -1) {
                        //Clear the mapping text
                        cell.innerText = &quot;&quot;;
                    }
                }
            }
        }
    }
    catch (ex) {
        //TODO: Handle error.
    }
}
//Ensure sharepoint runs the clearMappingDisplay method on Page (Body) Load
_spBodyOnLoadFunctionNames.push(&quot;clearMappingDisplay&quot;);
</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mundeep.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mundeep.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=10&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2008/09/09/hiding-mapped-property-images-in-user-profiles/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
		<item>
		<title>How to Html Encode a string in a c# windows application?</title>
		<link>http://mundeep.wordpress.com/2008/08/21/how-to-html-encode-a-string-in-a-c-windows-application/</link>
		<comments>http://mundeep.wordpress.com/2008/08/21/how-to-html-encode-a-string-in-a-c-windows-application/#comments</comments>
		<pubDate>Thu, 21 Aug 2008 10:03:57 +0000</pubDate>
		<dc:creator>mundeep</dc:creator>
				<category><![CDATA[.NET]]></category>
		<category><![CDATA[c#]]></category>
		<category><![CDATA[html encode]]></category>
		<category><![CDATA[windows application]]></category>
		<category><![CDATA[windows forms]]></category>

		<guid isPermaLink="false">http://mundeep.wordpress.com/?p=31</guid>
		<description><![CDATA[To HtmlEncode a string from within a Windows application you need to make sure that:
1) You have a reference to System.Web
2) You use the System.Web.HttpUtility.HtmlEncode method.
For example:

using System.Web;

public string MyHtmlEncode(string inputString) {
     return HttpUtility.HtmlEncode(inputString);
}

       <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=31&subd=mundeep&ref=&feed=1" />]]></description>
			<content:encoded><![CDATA[<div class='snap_preview'><br /><p>To HtmlEncode a string from within a Windows application you need to make sure that:</p>
<p>1) You have a reference to System.Web</p>
<p>2) You use the System.Web.HttpUtility.HtmlEncode method.</p>
<p>For example:</p>
<pre class="brush: csharp;">
using System.Web;

public string MyHtmlEncode(string inputString) {
     return HttpUtility.HtmlEncode(inputString);
}
</pre>
<img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mundeep.wordpress.com/31/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mundeep.wordpress.com/31/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mundeep.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mundeep.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mundeep.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mundeep.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mundeep.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mundeep.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mundeep.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mundeep.wordpress.com/31/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mundeep.wordpress.com/31/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mundeep.wordpress.com/31/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mundeep.wordpress.com&blog=1630736&post=31&subd=mundeep&ref=&feed=1" /></div>]]></content:encoded>
			<wfw:commentRss>http://mundeep.wordpress.com/2008/08/21/how-to-html-encode-a-string-in-a-c-windows-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="" medium="image">
			<media:title type="html">mundeep</media:title>
		</media:content>
	</item>
	</channel>
</rss>