<?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>Dhiraj Ranka</title>
	<atom:link href="http://dhirajranka.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dhirajranka.wordpress.com</link>
	<description>Yesterday is history, tomorrow is mystery, today is gift, that is why it is aka &#34;Present&#34;</description>
	<lastBuildDate>Thu, 17 Mar 2011 06:07:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dhirajranka.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dhiraj Ranka</title>
		<link>http://dhirajranka.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dhirajranka.wordpress.com/osd.xml" title="Dhiraj Ranka" />
	<atom:link rel='hub' href='http://dhirajranka.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Finding the Guid for a SharePoint List or View</title>
		<link>http://dhirajranka.wordpress.com/2010/04/13/guid-sharepoint-list-or-view/</link>
		<comments>http://dhirajranka.wordpress.com/2010/04/13/guid-sharepoint-list-or-view/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 11:04:05 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[Sharepoint]]></category>

		<guid isPermaLink="false">http://dhirajranka.wordpress.com/?p=48</guid>
		<description><![CDATA[There will be several times when you need the Guid or ID of list or view &#8211; for example while passing these in for adding, updating or deleting list item in SharePoint through List service or when setting the Task list to be used with SharePoint Designer Workflows. Here is a simple way to accomplish [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=48&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There will be several times when you need the Guid or ID of list or view &#8211; for example while passing these in for adding, updating or deleting list item in SharePoint through List service or when setting the Task list to be used with SharePoint Designer Workflows. Here is a simple way to accomplish the same.</p>
<p><strong>For List:</strong></p>
<ol>
<li>Navigate SharePoint site</li>
<li>From “<strong>Settings</strong>” menu select “<strong>List Settings</strong>”</li>
<li>Copy the entire URL and paste in any text editor</li>
</ol>
<p>It would look something like this:</p>
<p>http://mossserver/_layouts/listedit.aspx?List=%7B2761B4AF%2D6452%2D448F%2DADF6%2D6FBA18DAAB81%7D</p>
<ol>
<li>Delete everying before and including “<strong>List=</strong>”.</li>
<li>Change “<strong>%7B</strong>” to “<strong>{</strong>”</li>
<li>Change all “<strong>%2D</strong>” to “<strong>-</strong>“</li>
<li>Chnage “<strong>%7D</strong>” to “<strong>}</strong>”</li>
</ol>
<p>You are now left with the following:</p>
<blockquote><p>{2761B4AF-6452-448F-ADF6-6FBA18DAAB81}</p></blockquote>
<div id="_mcePaste">
<div><span style="color:#ffffff;">_</span></div>
<div><strong>For View:</strong></div>
<div><strong><br />
</strong></div>
<div id="_mcePaste">For View&#8217;s GUID you can perform the same steps</div>
<div><span style="color:#ffffff;">_</span></div>
<div id="_mcePaste"><em><strong>Note:</strong></em></div>
<div id="_mcePaste"><em><br />
</em></div>
<div id="_mcePaste"><em>In case of View its little tedious, because when you will copy the link in text editor it will also consist of GUID of list and url of Source.</em></div>
<div id="_mcePaste"><em><br />
</em></div>
<div id="_mcePaste"><em>For example it would be something like this</em></div>
<div id="_mcePaste"><em><br />
</em></div>
<div id="_mcePaste"><em>http://mossserver/_layouts/listedit.aspx?List=%7B2761B4AF%2D6452%2D448F%2DADF6%2D6FBA18DAAB81%7D&amp;View=%7B58B8F4B8%2DA2F6%2D4E3C%2D9F1F%2D4657F664B4D2%7D&amp;Source=%252F%255Flayouts%252Flistedit%252Easpx%253FList%253D%25257B76E983B9%25252D5FCC%25252D4D3E%25252D8DE9%25252D671932BB3308%25257D</em></div>
<div id="_mcePaste"><em><br />
</em></div>
<div id="_mcePaste"><em>So you have to be careful while removing unnecessary part from the copied link</em></div>
<div id="_mcePaste"><em><br />
</em></div>
<div id="_mcePaste"><em>Everything else is same.</em></div>
<div><em><br />
</em></div>
</div>
<p>Thats it <img src='http://s2.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>Hope this helps</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajranka.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhirajranka.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dhirajranka.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dhirajranka.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhirajranka.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhirajranka.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhirajranka.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhirajranka.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=48&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajranka.wordpress.com/2010/04/13/guid-sharepoint-list-or-view/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac861ed81f9540942d0306d08202d050?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dhiraj</media:title>
		</media:content>
	</item>
		<item>
		<title>Running Command Line tools in C#</title>
		<link>http://dhirajranka.wordpress.com/2010/02/17/running-command-line-c/</link>
		<comments>http://dhirajranka.wordpress.com/2010/02/17/running-command-line-c/#comments</comments>
		<pubDate>Wed, 17 Feb 2010 13:18:00 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://dhirajranka.wordpress.com/?p=40</guid>
		<description><![CDATA[In this post we will see, how to run a command line tool in c# In the example I have taken Command prompt to fire a simple &#8220;dir&#8221; command. public partial class CommandLine : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { System.Diagnostics.Process si = new System.Diagnostics.Process(); si.StartInfo.WorkingDirectory = &#34;c:\\&#34;; si.StartInfo.UseShellExecute = false; si.StartInfo.FileName [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=40&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post we will see, how to run a command line tool in c#</p>
<p>In the example I have taken Command prompt to fire a simple &#8220;dir&#8221; command.</p>
<pre class="brush: csharp;">
public partial class CommandLine : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        System.Diagnostics.Process si = new System.Diagnostics.Process();
        si.StartInfo.WorkingDirectory = &quot;c:\\&quot;;
        si.StartInfo.UseShellExecute = false;
        si.StartInfo.FileName = &quot;cmd.exe&quot;;
        si.StartInfo.Arguments = &quot;/c dir&quot;;
        si.StartInfo.CreateNoWindow = true;
        si.StartInfo.RedirectStandardInput = true;
        si.StartInfo.RedirectStandardOutput = true;
        si.StartInfo.RedirectStandardError = true;
        si.Start();
        string output = si.StandardOutput.ReadToEnd();
        si.Close();
        Response.Write(output);
    }
}
</pre>
<p>this will print the output as follows</p>
<p><img src="http://dhirajranka.files.wordpress.com/2010/02/output.png?w=600" alt="Result" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajranka.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhirajranka.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dhirajranka.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dhirajranka.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhirajranka.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhirajranka.wordpress.com/40/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhirajranka.wordpress.com/40/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhirajranka.wordpress.com/40/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=40&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajranka.wordpress.com/2010/02/17/running-command-line-c/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac861ed81f9540942d0306d08202d050?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dhiraj</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2010/02/output.png" medium="image">
			<media:title type="html">Result</media:title>
		</media:content>
	</item>
		<item>
		<title>Adding &amp; Modifying Column in MSQL Server 2008</title>
		<link>http://dhirajranka.wordpress.com/2009/11/10/modifying-table-sqlserver-2008/</link>
		<comments>http://dhirajranka.wordpress.com/2009/11/10/modifying-table-sqlserver-2008/#comments</comments>
		<pubDate>Tue, 10 Nov 2009 12:58:49 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false">http://dhirajranka.wordpress.com/?p=17</guid>
		<description><![CDATA[In this post we will see some scenarios while updating or adding columns to your table in microsoft SQL Server 2008. At times it will also help you in the Microsoft SQL Server 2005 and some previous versions. Scenario 1: I have set all the relationship perfectly, and some changes need to be made to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=17&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In this post we will see some scenarios while updating or adding columns to your table in microsoft SQL Server 2008. At times it will also help you in the Microsoft SQL Server 2005 and some previous versions.</p>
<p><strong>Scenario 1:</strong></p>
<p>I have set all the relationship perfectly, and some changes need to be made to the table with out loosing any previous relationships.</p>
<p>Step 1 : First of all take the backup of your table data by executing following query</p>
<p><code>SELECT * INTO Temp FROM Table1</code></p>
<p><img class="aligncenter size-full wp-image-32" title="INSERTING DATA TO TEMP" src="http://dhirajranka.files.wordpress.com/2009/11/inserting-data-to-temp.png?w=600&#038;h=500" alt="INSERTING DATA TO TEMP" width="600" height="500" /></p>
<p>Step 2 : Now we have our data backed up now you can script the table by selecting the option of &#8220;Drop and Create To&#8221; from left panel.<br />
&#8220;Do not run the query&#8221;. Just keep it open the query window.</p>
<p><img class="aligncenter size-full wp-image-33" title="CREATE AND DROP" src="http://dhirajranka.files.wordpress.com/2009/11/create-and-drop.png?w=600&#038;h=514" alt="CREATE AND DROP" width="600" height="514" /></p>
<p>You can see that your data has been backed up or not by executing<br />
<code>SELECT * FROM Temp</code></p>
<p>Step 3 : In case if you have any relationship, then delete those by going to design mode and Right click on any of the field and select Relationships. Delete all relationship one by one.</p>
<p><img class="aligncenter size-full wp-image-34" title="RELATIONSHIP 1" src="http://dhirajranka.files.wordpress.com/2009/11/relationship-1.png?w=600&#038;h=500" alt="RELATIONSHIP 1" width="600" height="500" /></p>
<p><img class="aligncenter size-full wp-image-35" title="RELATIONSHIP 2" src="http://dhirajranka.files.wordpress.com/2009/11/relationship-2.png?w=600&#038;h=425" alt="RELATIONSHIP 2" width="600" height="425" /></p>
<p>Save the changes and go to previous &#8220;Drop and Create To&#8221; query window and select only the create part as shown in figure and execute selected query by pressing execute button as highlighted in red box.</p>
<p>Also note that in case you want to change to any column definition or you want to add new column by itself then do it before executing query. So that you will make the changes and will not loose any relationships.</p>
<p><img class="aligncenter size-full wp-image-36" title="DROP AND RECREATE TABLE" src="http://dhirajranka.files.wordpress.com/2009/11/drop-and-recreate-table.png?w=600&#038;h=422" alt="DROP AND RECREATE TABLE" width="600" height="422" /></p>
<p>Then scroll down and select only ALTER TABLE part (remaining part except create table part of the query) and execute the query.</p>
<p><img class="aligncenter size-full wp-image-37" title="DROP AND RECREATE TABLE RELATIONSHIP" src="http://dhirajranka.files.wordpress.com/2009/11/drop-and-recreate-table-relationship.png?w=600&#038;h=421" alt="DROP AND RECREATE TABLE RELATIONSHIP" width="600" height="421" /></p>
<p>Step 4 : Now final step is to take the backed up data to original table.<br />
You can do this by executing following query.</p>
<p><code><br />
INSERT INTO Table1<br />
SELECT * FROM Temp<br />
</code></p>
<p><em><strong>Note :</strong> In case of columns are different from previous version of Table1 then you have to specify those column names like this<br />
<code>INSERT INTO Table1 (Column1, Column2)<br />
SELECT Column1, Column2 FROM Temp</code></em></p>
<p>I would like to also thanks Husain Kachwala, who helped me in some these steps to be successful.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajranka.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhirajranka.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dhirajranka.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dhirajranka.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhirajranka.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhirajranka.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhirajranka.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhirajranka.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=17&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajranka.wordpress.com/2009/11/10/modifying-table-sqlserver-2008/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac861ed81f9540942d0306d08202d050?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dhiraj</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2009/11/inserting-data-to-temp.png" medium="image">
			<media:title type="html">INSERTING DATA TO TEMP</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2009/11/create-and-drop.png" medium="image">
			<media:title type="html">CREATE AND DROP</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2009/11/relationship-1.png" medium="image">
			<media:title type="html">RELATIONSHIP 1</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2009/11/relationship-2.png" medium="image">
			<media:title type="html">RELATIONSHIP 2</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2009/11/drop-and-recreate-table.png" medium="image">
			<media:title type="html">DROP AND RECREATE TABLE</media:title>
		</media:content>

		<media:content url="http://dhirajranka.files.wordpress.com/2009/11/drop-and-recreate-table-relationship.png" medium="image">
			<media:title type="html">DROP AND RECREATE TABLE RELATIONSHIP</media:title>
		</media:content>
	</item>
		<item>
		<title>How to download and install Windows 7 Language Packs (MUI packs)</title>
		<link>http://dhirajranka.wordpress.com/2009/09/05/how-to-download-and-install-windows-7-language-packs/</link>
		<comments>http://dhirajranka.wordpress.com/2009/09/05/how-to-download-and-install-windows-7-language-packs/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 13:14:31 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[Everything in Windows 7]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://dhirajranka.wordpress.com/?p=12</guid>
		<description><![CDATA[Language packs or MUI packs are used to change the default language of Windows 7 to a language of your choice. For example, download and installing the French language pack will translate all the menus and options in Windows 7 into French. This feature is only available in Windows 7 Enterprise and Ultimate. You can [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=12&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Language packs or MUI packs are used to change the default language of Windows 7 to a language of your choice. For example, download and installing the French language pack will translate all the menus and options in Windows 7 into French.</p>
<p>This feature is only available in Windows 7 Enterprise and Ultimate. You can download these language packs via Windows Update. Google works as well. The hard part is installing them, which is outlined in the walkthrough below:</p>
<p><strong>Installing the Language Pack:</strong></p>
<p>Start off by accessing the Control Panel through the Start Menu</p>
<p>Then select <strong><em>Change Display Challenge</em></strong> under the <strong>Clock, Language, and Region Box</strong>. If you’re in Classic View, select <em><strong>Regional and Language Options</strong>.</em></p>
<p style="text-align:center;"><strong><img title="controlpaneloption" src="http://windows7center.com/wp-content/uploads/2009/01/controlpaneloption.jpg" alt="How to easily download and install Windows 7 Language Packs (MUI packs)" width="484" height="112" /><br />
</strong></p>
<p>Make sure you’re on the “<strong>Keyboards and Languages</strong>” tab and click on <strong><em>Install/Uninstall Languages</em></strong></p>
<p style="text-align:center;"><img title="Windows 7 Language Pack" src="http://windows7center.com/wp-content/uploads/2009/01/installlang.jpg" alt="Windows 7 Language Pack" width="492" height="284" /></p>
<p>Select the 2nd option and Browse to your DVD drive or where you had previously extracted the ISO. You only need to navigate to the directory in which the language pack is in. For some reason, the ISO doesn’t show up as a selectable option. (Microsoft may offer these language packs as optional updates in the near future.)</p>
<p style="text-align:center;"><img title="How to easily download and install Windows 7 Language Packs (MUI packs) Photo" src="http://windows7center.com/wp-content/uploads/2009/01/browse.jpg" alt="How to easily download and install Windows 7 Language Packs (MUI packs)" width="474" height="136" /></p>
<p>Click Open and Windows will automatically find the language pack. Accept the EULA and Install the Language Pack. This can take quite a while. Once you’re done, you’ll be asked if you want to switch to the installed language pack. Whenever you switch language packs, you will have to log off and log back in for the changes to take into effect.</p>
<p>In the future when you want to change language packs that have already been installed, head back to the “Keyboards and Languages” tab under Regional and Language Options and you should be able to select from a menu of different language packs. Just want to note that Windows 7 Beta actually switched to my new language pack without me having to log off even though it had asked me to.</p>
<p style="text-align:center;"><img title="Windows 7 Language Pack" src="http://windows7center.com/wp-content/uploads/2009/01/select1.jpg" alt="Windows 7 Language Pack" width="492" height="569" /></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajranka.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhirajranka.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dhirajranka.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dhirajranka.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhirajranka.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhirajranka.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhirajranka.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhirajranka.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=12&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajranka.wordpress.com/2009/09/05/how-to-download-and-install-windows-7-language-packs/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac861ed81f9540942d0306d08202d050?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dhiraj</media:title>
		</media:content>

		<media:content url="http://windows7center.com/wp-content/uploads/2009/01/controlpaneloption.jpg" medium="image">
			<media:title type="html">controlpaneloption</media:title>
		</media:content>

		<media:content url="http://windows7center.com/wp-content/uploads/2009/01/installlang.jpg" medium="image">
			<media:title type="html">Windows 7 Language Pack</media:title>
		</media:content>

		<media:content url="http://windows7center.com/wp-content/uploads/2009/01/browse.jpg" medium="image">
			<media:title type="html">How to easily download and install Windows 7 Language Packs (MUI packs) Photo</media:title>
		</media:content>

		<media:content url="http://windows7center.com/wp-content/uploads/2009/01/select1.jpg" medium="image">
			<media:title type="html">Windows 7 Language Pack</media:title>
		</media:content>
	</item>
		<item>
		<title>SQL Injection in Stored Procedure &amp; Preventing from the same</title>
		<link>http://dhirajranka.wordpress.com/2009/08/25/sql-injection-stored-procedure/</link>
		<comments>http://dhirajranka.wordpress.com/2009/08/25/sql-injection-stored-procedure/#comments</comments>
		<pubDate>Tue, 25 Aug 2009 05:44:27 +0000</pubDate>
		<dc:creator>Dhiraj</dc:creator>
				<category><![CDATA[ASP.NET]]></category>
		<category><![CDATA[SQL Server]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Following is the small example of creating a stored procedure. ==================================================================== CREATE PROC sp_login (@loginid nvarchar(25),@password nvarchar(25)) AS DECLARE @SQLString VARCHAR(500) DECLARE @loginid VARCHAR(64) DECLARE @password VARCHAR(64) /* Build the SQL string once.*/ SET @SQLString = &#8216;SELECT * from cust_users WHERE login_id = &#8216;+ &#8221;&#8221;+@loginid+&#8221;&#8221; + &#8216;AND password = &#8216;+ &#8221;&#8221;+@password+&#8221;&#8221; EXECUTE sp_executesql @SQLString ==================================================================== [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=1&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Following is the small example of creating a stored procedure.</p>
<p>====================================================================</p>
<p>CREATE PROC sp_login (@loginid nvarchar(25),@password nvarchar(25))<br />
AS<br />
DECLARE @SQLString VARCHAR(500)<br />
DECLARE @loginid VARCHAR(64)<br />
DECLARE @password VARCHAR(64)</p>
<p>/* Build the SQL string once.*/</p>
<p>SET @SQLString = &#8216;SELECT * from cust_users WHERE login_id = &#8216;+ &#8221;&#8221;+@loginid+&#8221;&#8221; + &#8216;AND password = &#8216;+ &#8221;&#8221;+@password+&#8221;&#8221;</p>
<p>EXECUTE sp_executesql @SQLString</p>
<p>====================================================================</p>
<p>Your ASP.NET Code would look like this:</p>
<pre class="brush: csharp;">
oCmd.CommandText = “sp_login”;
oCmd.CommandType = CommandType.StoredProcedure;
oCmd.Parameters.Add( “@loginId”, strUserName);
oCmd.Paramerters.Add( “@password”, strPassword);
oCon.Open();
string result = (string)oCmd.ExecuteScalar();
oCon.Close();
</pre>
<p>====================================================================</p>
<p>If the user input is as follows:<br />
loginId = &#8216; OR 1=1 &#8211;<br />
password = junk</p>
<p>SQL injection will not work and ASP.NET will throw an exception</p>
<p>&#8220;Unclosed quotation mark after the character string &#8216; OR 1=1 &#8212; and password=junk&#8217;.<br />
Incorrect syntax near &#8216; OR 1=1 &#8212; and password=junk&#8217;.&#8221;</p>
<p>In this case you can use</p>
<p><strong>loginID = &#8221; OR 1=1&#8211;</strong></p>
<p>password = junk</p>
<p>Two single quotations are used to complete where clause with null condition and OR is used to make the condition true always.</p>
<p>If you use <em><strong>sp_executesql</strong></em> this will definitely leads to the SQL Injection.</p>
<p>See more on this <a title="sp_executesql" href="http://msdn.microsoft.com/en-us/library/ms188001.aspx" target="_blank">http://msdn.microsoft.com/en-us/library/ms188001.aspx</a></p>
<p><strong>Solution :</strong></p>
<p>Instead one should use the same stored procedure which he has created, for passing parameters.</p>
<p><strong>exec sp_login &#8216;param1&#8242;, &#8216;param2&#8242;</strong></p>
<p>param1 &#8211; would be loginID</p>
<p>param2 &#8211; would be password</p>
<p>And you are stored procedure would look like this i.e. with out <em><strong>sp_executesql</strong></em></p>
<p>====================================================================</p>
<p>CREATE PROC sp_login</p>
<p>@loginid VARCHAR(64)<br />
@password VARCHAR(64)</p>
<p>AS</p>
<p>BEGIN<br />
SELECT * FROM cust_users WHERE loginid=@loginid AND password=@password<br />
END</p>
<p>====================================================================</p>
<p><strong>This will avoid the possible SQL Injection</strong> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dhirajranka.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dhirajranka.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dhirajranka.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dhirajranka.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dhirajranka.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dhirajranka.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dhirajranka.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dhirajranka.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dhirajranka.wordpress.com&amp;blog=9159487&amp;post=1&amp;subd=dhirajranka&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dhirajranka.wordpress.com/2009/08/25/sql-injection-stored-procedure/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/ac861ed81f9540942d0306d08202d050?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Dhiraj</media:title>
		</media:content>
	</item>
	</channel>
</rss>
