<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-12667630</id><updated>2011-12-01T19:56:31.632+05:00</updated><title type='text'>Aleem's Blog</title><subtitle type='html'>System.CodeDom.Compiler.ICodeGenerator</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>80</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-12667630.post-4564364273173755901</id><published>2006-10-12T21:47:00.000+05:00</published><updated>2006-10-12T21:46:56.671+05:00</updated><title type='text'>Finally Moved to Wordpress !</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Finally, I have shifted &lt;a href="http://aleemkhan.wordpress.com/"&gt;my Blog&lt;/a&gt; to &lt;b&gt;&lt;span style='font-weight:bold'&gt;&lt;a href="http://www.wordpress.com/"&gt;Wordpress&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;. My Wordpress Blog is &lt;a href="http://aleemkhan.wordpress.com/"&gt;http://aleemkhan.wordpress.com&lt;/a&gt;, the feed address is &lt;a href="http://aleemkhan.wordpress.com/feed"&gt;http://aleemkhan.wordpress.com/feed&lt;/a&gt;. I will discontinue posting here and will be posting only on Wordpress from now on. This was due for quite some time now because all the Blogger issues I have been having, and specially the Blogger Beta even sucked more than Blogger, nothing could work with Blogger Beta and this ultimately pushed me to move.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-4564364273173755901?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/4564364273173755901/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=4564364273173755901' title='31 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/4564364273173755901'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/4564364273173755901'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/finally-moved-to-wordpress.html' title='Finally Moved to Wordpress !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>31</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-1308068726120703680</id><published>2006-10-10T02:56:00.000+05:00</published><updated>2006-10-10T02:54:59.068+05:00</updated><title type='text'>Google BlogSearch Ping Service</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Google &lt;a href="http://googleblog.blogspot.com/2006/10/got-blog-will-ping.html"&gt;Launched&lt;/a&gt; the &lt;a href="http://blogsearch.google.com/ping"&gt;Ping Service&lt;/a&gt; for Blogs. I don&amp;#8217;t think it makes much of difference for Blogger Blogs as they are immediately indexed and are searchable through &lt;a href="http://blogsearch.google.com/"&gt;Google BlogSearch&lt;/a&gt;, but for other blogging engines and individual bloggers it is a good service.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-1308068726120703680?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/1308068726120703680/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=1308068726120703680' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/1308068726120703680'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/1308068726120703680'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/google-blogsearch-ping-service.html' title='Google BlogSearch Ping Service'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-5460881126582914584</id><published>2006-10-10T02:09:00.000+05:00</published><updated>2006-10-10T02:07:58.836+05:00</updated><title type='text'>Google Buys YouTube</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;So, the speculation which has been around for many days was true. Google finally bought YouTube for $1.65 billion. The price is really shocking considering YouTube only started in February 2005. YouTube growth is really inspirational, in such a short period the company reached to a worth of $1.65 billion with around 20 million visitors per month. Amazing! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;More details &lt;a href="http://news.bbc.co.uk/2/hi/business/6034577.stm"&gt;here&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-5460881126582914584?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/5460881126582914584/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=5460881126582914584' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/5460881126582914584'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/5460881126582914584'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/google-buys-youtube.html' title='Google Buys YouTube'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-420464828815476052</id><published>2006-10-09T14:44:00.001+05:00</published><updated>2006-10-09T14:44:46.466+05:00</updated><title type='text'>Statue of Yoda !</title><content type='html'>&lt;div style="float: right; margin-left: 10px; margin-bottom: 10px;"&gt; &lt;a href="http://www.flickr.com/photos/27226225@N00/264826546/" title="photo sharing"&gt;&lt;img src="http://static.flickr.com/93/264826546_5c6cadf621.jpg" alt="" style="border: solid 2px #000000;" /&gt;&lt;/a&gt; &lt;br /&gt; &lt;span style="font-size: 0.9em; margin-top: 0px;"&gt;  &lt;a href="http://www.flickr.com/photos/27226225@N00/264826546/"&gt;Statue of Yoda !&lt;/a&gt;  &lt;br /&gt;  Originally uploaded by &lt;a href="http://www.flickr.com/people/27226225@N00/"&gt;aleemkhan&lt;/a&gt;. &lt;/span&gt;&lt;/div&gt;Dave Winer posted &lt;http://www.scripting.com/2006/10/08.html#When:7:58:04PM&gt;&lt;br /&gt;&lt;br /&gt;this picture of Yoda Statue at Lucas Studios. Actually am testing my Flickr&lt;br /&gt;&lt;br /&gt;&lt;http://www.flickr.com/&gt;  account to post on Blogger Beta&lt;br /&gt;&lt;br /&gt;&lt;http://beta.blogger.com/&gt;  through mail.&lt;br clear="all" /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-420464828815476052?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/420464828815476052/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=420464828815476052' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/420464828815476052'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/420464828815476052'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/statue-of-yoda.html' title='Statue of Yoda !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-2666739203189973079</id><published>2006-10-08T17:56:00.000+05:00</published><updated>2006-10-08T17:58:42.126+05:00</updated><title type='text'>Hilarious Comedian !</title><content type='html'>Was just watching some videos on MetaCafe and found this one!&lt;br /&gt;&lt;br /&gt;&lt;embed pluginspage="http://www.macromedia.com/go/getflashplayer" src="http://www.metacafe.com/fplayer/228163/comedy_central_presents_adam_ferrara.swf" width="460" height="350" type="application/x-shockwave-flash" wmode="transparent" flashvars="playerVars=videoTitle=Comedy Central Presents - Adam FerrarashowStats=yesautoPlay=noblogName=Aleem's BlogblogURL=http://abdulaleemkhan.blogspot.com&amp;amp;displayMode=normal"&gt;&lt;/embed&gt;&lt;br /&gt;&lt;span style="font-size:78%;"&gt;&lt;a href="http://www.metacafe.com/watch/228163/comedy_central_presents_adam_ferrara/"&gt;Comedy Central Presents - Adam Ferrara - video powered by Metacafe&lt;/a&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-2666739203189973079?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/2666739203189973079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=2666739203189973079' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/2666739203189973079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/2666739203189973079'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/hilarious-comedian.html' title='Hilarious Comedian !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-4182922867685876489</id><published>2006-10-08T03:39:00.000+05:00</published><updated>2006-10-08T03:38:02.467+05:00</updated><title type='text'>ASP.NET SiteMap Security Trimings</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;It is a general requirement in any ASP.NET application to restrict the site navigation for certain roles and allow access for others. Recently I had to restrict the site map of my application based on the roles but as I was not aware of the available site map trimming settings, I made a similar model myself adding extra attributes to my site map nodes and as I am using a &lt;b&gt;&lt;span style='font-weight:bold'&gt;TreeView&lt;/span&gt;&lt;/b&gt; control for binding to the &lt;b&gt;&lt;span style='font-weight:bold'&gt;SiteMapDataSource&lt;/span&gt;&lt;/b&gt;, I used the TreeView &lt;b&gt;&lt;span style='font-weight:bold'&gt;DataBound&lt;/span&gt;&lt;/b&gt; method to access the &lt;b&gt;&lt;span style='font-weight:bold'&gt;SiteMapNode&lt;/span&gt;&lt;/b&gt; attributes and then checking their permission from the Database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Fortunately the ASP.NET 2.0 provides trimming of the &lt;b&gt;&lt;span style='font-weight:bold'&gt;SiteMapNodes&lt;/span&gt;&lt;/b&gt; based on the available Roles from the underlying &lt;b&gt;&lt;span style='font-weight: bold'&gt;RolesProvider&lt;/span&gt;&lt;/b&gt;. You need to provide the &lt;b&gt;&lt;span style='font-weight:bold'&gt;roles attribute&lt;/span&gt;&lt;/b&gt; in the SiteMapNode and specify the role to which this note is accessible (* can be used for all roles).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'&gt;&amp;lt;?xml version=&amp;quot;1.0&amp;quot; encoding=&amp;quot;utf-8&amp;quot; ?&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'&gt;&amp;lt;siteMap&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'&gt;&amp;lt;siteMapNode title=&amp;quot;Support&amp;quot; description=&amp;quot;Support&amp;quot; url=&amp;quot;~/Customers/Support.aspx&amp;quot; &lt;b&gt;&lt;span style='font-weight:bold'&gt;roles=&amp;quot;Customers&amp;quot;&lt;/span&gt;&lt;/b&gt; /&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'&gt;&amp;lt;/siteMap&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;You also need to enable the security trimming settings in the web.config as they are disabled by default.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'&gt;&amp;lt;system.web&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'&gt;&amp;lt;siteMap defaultProvider=&amp;quot;XmlSiteMapProvider&amp;quot; enabled=&amp;quot;true&amp;quot;&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='margin-left:.5in;text-indent:.5in'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'&gt;&amp;lt;providers&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='margin-left:1.0in;text-indent:.5in'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'&gt;&amp;lt;add name=&amp;quot;XmlSiteMapProvider&amp;quot; description=&amp;quot;Default SiteMap provider.&amp;quot; type=&amp;quot;System.Web.XmlSiteMapProvider &amp;quot; siteMapFile=&amp;quot;Web.sitemap&amp;quot; securityTrimmingEnabled=&amp;quot;true&amp;quot; /&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='margin-left:.5in;text-indent:.5in'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'&gt;&amp;lt;/providers&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='margin-left:.5in'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; letter-spacing:-.75pt'&gt;&amp;lt;/siteMap&amp;gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";letter-spacing:-.75pt'&gt;&amp;lt;/system.web&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;For More information about the sitemap trimming is available in MSDN &lt;a href="http://msdn2.microsoft.com/en-us/library/ms178428.aspx"&gt;here&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-4182922867685876489?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/4182922867685876489/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=4182922867685876489' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/4182922867685876489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/4182922867685876489'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/aspnet-sitemap-security-trimings.html' title='ASP.NET SiteMap Security Trimings'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-1419740857198982806</id><published>2006-10-06T15:27:00.000+05:00</published><updated>2006-10-06T15:26:14.960+05:00</updated><title type='text'>Logging User Dynamically in ASP.NET</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;The entire authentication and authorization model in ASP.NET 2.0 is quite improved from the previous version. The addition of the new Login Controls and the whole Membership and Roles Management through provider model has really made the entire security architecture easy to use yet extremely customizable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Last night I was looking for a way to Log-In user automatically (without his password) thorugh my code, actually the scenario is that the user actually logs in from another site and is redirected to my site with the username in the request. Now I have the username, no password and how do I log this user in (or create an authentication token for him). A &lt;a href="http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx"&gt;post&lt;/a&gt; from &lt;a href="http://weblogs.asp.net/scottgu/default.aspx"&gt;Scott Guthrie&lt;/a&gt; came to the rescue. An authentication token for any user even if you do not have him password can be set with&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;FormsAuthentication.SetAuthCookie(LoggedInUserName, &lt;font color=blue&gt;&lt;span style='color:blue'&gt;False&lt;/span&gt;&lt;/font&gt;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Where LoggedInUserName is the username for which you want to set the authentication token. Now ok I can authenticate the user and log him in but the authorization of my website is set to deny the anonymous user so the user cannot even access the Default.aspx where I actually write the above code for creating a token.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;system.web&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:maroon'&gt;authorization&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;deny&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=red face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:red'&gt;users&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt;=&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;quot;&lt;font color=blue&gt;&lt;span style='color:blue'&gt;?&lt;/span&gt;&lt;/font&gt;&amp;quot;&lt;font color=blue&gt;&lt;span style='color:blue'&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;lt;/&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:maroon'&gt;authorization&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&amp;lt;/&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;system.web&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;There is a simple workaround to this also as you can specify different authorization for any particular path/location in your website. So the following will allow access to the default page to anonymous users but restrict rest of the site of the logged in user.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:maroon'&gt;location&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=red face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:red'&gt;path&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;=&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;quot;&lt;font color=blue&gt;&lt;span style='color:blue'&gt;default.aspx&lt;/span&gt;&lt;/font&gt;&amp;quot;&lt;font color=blue&gt;&lt;span style='color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:maroon'&gt;system.web&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;authorization&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;allow&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=red face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:red'&gt;users&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt; =&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;quot;&lt;font color=blue&gt;&lt;span style='color:blue'&gt;*&lt;/span&gt;&lt;/font&gt;&amp;quot;&lt;font color=blue&gt;&lt;span style='color:blue'&gt; /&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;authorization&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:maroon'&gt;system.web&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&amp;lt;/&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=maroon face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New";color:maroon'&gt;location&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&amp;gt;&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Some good resources about ASP.NET 2.0 Authentication and Authorization and Security on the whole are as follows.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;a href="http://weblogs.asp.net/scottgu/archive/2006/02/24/438953.aspx"&gt;Scott Guthrie Post about ASP.NET 2.0 Security Resources&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode";font-weight:bold'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGHT000012.asp?_r=1"&gt;How To: Protect Forms Authentication in ASP.NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/a&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGExplained0002.asp"&gt;Explained: Forms Authentication in ASP.NET 2.0&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/PAGGuidelines0001.asp"&gt;Security Guidelines: ASP.NET 2.0&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-1419740857198982806?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/1419740857198982806/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=1419740857198982806' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/1419740857198982806'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/1419740857198982806'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/logging-user-dynamically-in-aspnet.html' title='Logging User Dynamically in ASP.NET'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-2092269290313016868</id><published>2006-10-06T15:05:00.000+05:00</published><updated>2006-10-06T15:04:17.224+05:00</updated><title type='text'>HTML Legend and Fieldset Tags</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;I never used the HTML &amp;lt;Legend&amp;gt; and &amp;lt;Fieldset&amp;gt; until recently when I had to create a GroupBox for the controls on a web page. These tags are really amazing; they create a groupbox with rounded corners with Legend on the top. Actually the ASP.NET Panel control has a &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;GroupingText&lt;/span&gt;&lt;/b&gt; Property, if you specify this property; the panel renders a field set with &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;GroupingText&lt;/span&gt;&lt;/b&gt; set as the Legend.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;&amp;lt;Fieldset&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-INDENT: 0.5in"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;&amp;lt;Legend&amp;gt;HTML Group Box&amp;lt;/Legend&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;            &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;            &amp;lt;!--Rest of the GroupBox code --&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;                                    &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;&amp;lt;/FieldSet&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;font-size:85%;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-2092269290313016868?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/2092269290313016868/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=2092269290313016868' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/2092269290313016868'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/2092269290313016868'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/10/html-and-tags.html' title='HTML Legend and Fieldset Tags'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-3592879626680356530</id><published>2006-09-28T22:01:00.000+05:00</published><updated>2006-09-28T22:04:38.492+05:00</updated><title type='text'>Musharraf Daily Show Video Link</title><content type='html'>Just Forgot to put the link to the Video on the previous post. Here it is&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;embed src="http://www.youtube.com/v/An-TUDrAflE" width="425" height="350" type="application/x-shockwave-flash" wmode="transparent"&gt;&lt;/embed&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-3592879626680356530?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/3592879626680356530/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=3592879626680356530' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/3592879626680356530'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/3592879626680356530'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/musharraf-daily-show-video-link.html' title='Musharraf Daily Show Video Link'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-8051880332484212121</id><published>2006-09-28T21:30:00.000+05:00</published><updated>2006-09-28T21:28:48.107+05:00</updated><title type='text'>Musharraf on Daily Show</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;President Musharraf &lt;a href="http://www.topix.net/content/wapo/4122067375186721997739540227691328513125"&gt;appears on the Daily Show&lt;/a&gt; and has some good chuckles with Jon Stewart. Well Musharraf seems to be on a real marketing move for the book, a bit too much I guess.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-8051880332484212121?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/8051880332484212121/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=8051880332484212121' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/8051880332484212121'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/8051880332484212121'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/musharraf-on-daily-show.html' title='Musharraf on Daily Show'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-5534792774074405080</id><published>2006-09-27T01:30:00.000+05:00</published><updated>2006-09-27T01:27:54.204+05:00</updated><title type='text'>In the Line of Fire</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;a href="http://www.amazon.com/Line-Fire-Memoir-Pervez-Musharraf/dp/0743283449/sr=8-12/qid=1159283151/ref=sr_1_12/102-9400978-4496106?ie=UTF8&amp;amp;s=books"&gt;&amp;#8220;In the Line of Fire&amp;#8221; by Pervez Musharraf&lt;/a&gt; has been released today and already it is promising to be a best seller, well why it shouldn&amp;#8217;t be when the President himself has caused sensation about the book by providing controversial excerpts from the book during his recent US visit (even during Bush-Musharraf press conference the book came up). The book is certainly going to earn a fortune for the publishers and Musharraf himself.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;I have not read the book, but I would love to read it after all the buzz about the content. However, I have read some reviews and most people believe that the book is definitely ghost written with Musharraf&amp;#8217;s insights. Also people believe that book may not be all facts but mostly the views about people and events in Musharraf&amp;#8217;s own patriotic and military mind. (I praise him of being a patriot). I also read that the book has really &lt;a href="http://www.geo.tv/geonews/details.asp?id=132229"&gt;negative views/comments about A.Q Khan&lt;/a&gt; and his &lt;a href="http://news.bbc.co.uk/2/hi/south_asia/4118939.stm"&gt;alleged network of nuclear proliferation&lt;/a&gt;, personally I believe like most of the other Pakistanis that the whole A.Q Khan drama was a big cover up from &lt;st1:place w:st="on"&gt;&lt;st1:country-region  w:st="on"&gt;Pakistan&lt;/st1:country-region&gt;&lt;/st1:place&gt; government. It&amp;#8217;s disappointing though that Musharraf brought all this drama to his book. AQ Khan drama might be true but doesn&amp;#8217;t sound realistic because either he is too damn smart and all the Pakistani governments and intelligence during the 90&amp;#8217;s were so stupid, or Musharraf and his government has screwed the National Hero really bad.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Overall I am a strong Musharraf supporter (still), he may not be the best option but it&amp;#8217;s basically a choice between an arrogant military patriot and a bunch of stupid, illiterate and corrupt politicians, so I go with the patriot. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;I&amp;#8217;ll try to put down my personal review if I ever get to read the book&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Wingdings&gt;&lt;span style='font-size:10.0pt;font-family:Wingdings'&gt;J&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-5534792774074405080?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/5534792774074405080/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=5534792774074405080' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/5534792774074405080'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/5534792774074405080'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/in-line-of-fire.html' title='In the Line of Fire'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-7957387793427551716</id><published>2006-09-27T00:54:00.000+05:00</published><updated>2006-09-27T00:52:41.180+05:00</updated><title type='text'>Google Blogs About Ansari !</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Ansari Called Google&amp;#8217;s Lary Page from the International Space Station, a long distance calls indeed&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Wingdings&gt;&lt;span style='font-size:10.0pt;font-family:Wingdings'&gt;J&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family: "Lucida Sans Unicode"'&gt;. &lt;a href="http://googleblog.blogspot.com/2006/09/our-call-from-space.html"&gt;Google Blog&lt;/a&gt; gives some more insight into the communication, meanwhile Ansari continues to &lt;a href="http://spaceblog.xprize.org/"&gt;Blog about her experience&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-7957387793427551716?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/7957387793427551716/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=7957387793427551716' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/7957387793427551716'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/7957387793427551716'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/google-blogs-about-ansari.html' title='Google Blogs About Ansari !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-883839518113858432</id><published>2006-09-24T17:01:00.000+05:00</published><updated>2006-09-24T17:02:20.293+05:00</updated><title type='text'>WOW! What an Adventure She's Having</title><content type='html'>&lt;p&gt;Just saw Anousheh Ansari's Space Blog (She is the space tourist currently on ISS), and &lt;a href="http://spaceblog.xprize.org/2006/09/22/the-trip-up/"&gt;read her post&lt;/a&gt; which she posted from ISS(International Space Station). Wow ! she seemed to be really enjoying her trip, and who will not ?. Its an adventure of a life time and comes at a cost too ($20 million) ... lol.&lt;/p&gt;&lt;p&gt;Its interesting to read the space experience of an ordinary person and not from the astronomer's perspective. I really wish Space Travel becomes more easy and common (and cheaper :d) in our life times, so maybe then me and &lt;a href="http://abdulazeem.wordpress.com/"&gt;Azeem&lt;/a&gt; and go on a Trip).... I wish :)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-883839518113858432?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/883839518113858432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=883839518113858432' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/883839518113858432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/883839518113858432'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/wow-what-adventure-shes-having.html' title='WOW! What an Adventure She&apos;s Having'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115886137190909327</id><published>2006-09-21T22:56:00.000+05:00</published><updated>2006-09-21T22:58:56.136+05:00</updated><title type='text'>Azeem on Blogs</title><content type='html'>&lt;p&gt;Last week when I was in Pakistan, &lt;a href="http://abdulazeem.wordpress.com/"&gt;Azeem&lt;/a&gt; (my yonger brother) seemed super excited about blogging, he created a blog at blogspot around six months back but never used it actively. &lt;a href="http://abdulazeem.wordpress.com/"&gt;This time its good to see him active&lt;/a&gt;. I hope he continues, atleast I'll have some good links on history and politics. :)&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115886137190909327?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115886137190909327/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115886137190909327' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115886137190909327'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115886137190909327'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/azeem-on-blogs.html' title='Azeem on Blogs'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115861755273865454</id><published>2006-09-19T03:12:00.000+05:00</published><updated>2006-09-19T03:12:32.750+05:00</updated><title type='text'>REUNION of BCSS01 and BCSF01</title><content type='html'>&lt;p&gt;Its hard to believe that I am back from the long awaited trip to pakistan, was waiting for this from months and the week passed so fast. Apart from meeting the family after 6-7 months, the good thing about the trip was that I got to attend the first ever REUNION of BCSS01 (my batch) and BCSSF01 (my juniors). &lt;/p&gt; &lt;p&gt;It was a wonderful event, the paticipation was very low from our batch and most of the teachers could not make it but overall it was really wonderful to meet old friends and have a some time together. Its a good start and I really hope this becomes more formal and an official Alumni gathering in the years to come. &lt;/p&gt; &lt;p&gt;Thmbs up to &lt;a href="http://mianfahim.wordpress.com/"&gt;Fahim&lt;/a&gt; for floating the idea and all his friends who were involved in making this happen. Another nice thing about this event was that we got a chance to float an idea of a Alumni Sponsored Needy Scholarship for &lt;a href="http://www.pucit.edu.pk"&gt;PUCIT&lt;/a&gt; students. &lt;/p&gt; &lt;p&gt;Actually I am quite late to blog about this, &lt;a href="http://mianfahim.wordpress.com/2006/09/11/pucit-reunion-first-two-batches/"&gt;Fahim has been waiting for haroon and my comments&lt;/a&gt; about the event (&lt;a href="http://haroonsaeed.wordpress.com"&gt;Haroon&lt;/a&gt; does'nt seem to get time to write). &lt;a href="http://rana-hammad.blogspot.com/2006/09/reunion-of-bcss01-and-bcsf01.html"&gt;Hammad(bunty)&lt;/a&gt;, &lt;a href="http://ayazshahid.wordpress.com/2006/09/11/the-re-union/"&gt;Ayaz&lt;/a&gt;&amp;nbsp;and &lt;a href="http://kashifkaleem.wordpress.com/2006/09/10/pucit-alumni-get-togather-sept-10th/"&gt;Kashif&lt;/a&gt; have also written about thier experiences.&lt;/p&gt; &lt;p&gt;I am trying to upload some pictures but this Blogger Picutre Upload is giving me tough time, will upload later.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115861755273865454?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115861755273865454/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115861755273865454' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115861755273865454'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115861755273865454'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/reunion-of-bcss01-and-bcsf01.html' title='REUNION of BCSS01 and BCSF01'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115853065688444432</id><published>2006-09-18T03:04:00.000+05:00</published><updated>2006-09-18T03:05:57.310+05:00</updated><title type='text'>Apology From POPE</title><content type='html'>&lt;p&gt;I just read that &lt;a href="http://news.bbc.co.uk/2/hi/europe/5353208.stm"&gt;POPE In-Person apologized&lt;/a&gt; for his earlier address. I think this is very responsible step at this stage. Although Muslim leaders around the world are still outraged and asking for a more direct apology, but personally &lt;a href="http://abdulaleemkhan.blogspot.com/2006/09/pope-controversy.html"&gt;I think we should not be so outraged in the first place.&lt;/a&gt; &lt;/p&gt;&lt;p&gt;Anyway I hope this crisis gets over wihtout any furthur damage.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115853065688444432?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115853065688444432/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115853065688444432' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115853065688444432'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115853065688444432'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/apology-from-pope.html' title='Apology From POPE'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115853009702421696</id><published>2006-09-18T02:54:00.000+05:00</published><updated>2006-09-18T02:54:57.106+05:00</updated><title type='text'>The POPE Controversy</title><content type='html'>&lt;p&gt;&lt;/p&gt; &lt;p&gt;Surely the Pope’s comments have outraged Muslims all around the world. Although he quoted a previous conversation from history (did not say the controversial sentences directly) but one cannot say that he quoted this for the mere purpose of proving his point. He could have easily given various other examples about the topic &lt;i&gt;“Religion and Politics”&lt;/i&gt; (the actual topic of his complete lecture) from the long and Bloody history of Christianity. &lt;b&gt;So, definitely the western interests are be behind this and this may be another way of causing outrage and frustration among Muslims.&lt;/b&gt; &lt;p&gt;&lt;b&gt;However, I do not understand why we are once again so outraged about this&lt;/b&gt;. The POPE is not a Muslim, he definitely does not believe in Prophet Muhammad and I think no Christian Does. Also, he does not believe in Islam nor he should be expected to have any respect for Islam or the Prophet Muhammad. So, the POPE or any other Christian believes something wrong and disrespectful about Islam is not something new, at least for me. &amp;nbsp; &lt;p&gt;Now some people say, that why don’t the Christians (including the POPE) do not respect our religion and Prophet like we Respect their Religion and Prophet (Hazrat Issa). The answer to this question is that Respecting Christianity is a part of our religion because our religion requires us to believe in Christianity and Hazrat Issa, but Christianity does not require Christians to believe in Islam or the Prophet Muhammad. It is actually the same thing if we analyze how much we respect Hinduism/Buddhism as compared to Christianity because Islam does not requires us to believe in Hinduism or Buddhism. So we do not respect Hinduism and their Gods or their Messengers/Prophet (as they believe) like we respect other religions which are directly mentioned in the Holy Quran. &lt;p&gt;&lt;b&gt;I do agree completely that according to the current situation of the WORLD, harmony and respect for each other’s religion is very crucial for living together and someone like POPE who influences many should not have given such a controversial example about the 2&lt;sup&gt;nd&lt;/sup&gt; major religion of the world&lt;/b&gt;. If this is the issue that we raise and this is the point we stress on, &lt;b&gt;we&lt;/b&gt; &lt;b&gt;stand justified (according to my understanding) and we will be able to convey a valid point to the World&lt;/b&gt;, but if we take this emotionally and consider this as an attack on our religion (exactly as we are doing now) and react in the same way we did a few months back with Violence on the streets, we will be letting WEST win and giving them another reason to portray a negative image of our humble Religion Islam. &lt;p&gt;Portraying a Humble, Noble and a True Image of Islam to the world is our responsibility and this can only be achieved by intelligence, wisdom and tolerance not by mere emotions and burning our own countries.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115853009702421696?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115853009702421696/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115853009702421696' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115853009702421696'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115853009702421696'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/pope-controversy.html' title='The POPE Controversy'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115731529323773403</id><published>2006-09-04T01:28:00.000+05:00</published><updated>2006-09-04T01:28:13.243+05:00</updated><title type='text'>Yeh! Passed Driving Test</title><content type='html'>&lt;p&gt;Today was a great day, early in the morning I passed the driving test for the LMV (Light Motor Vehicle) and got the Driving Licnese. I simply believe that it was due to the grace of Allah. I have failed one before in last month, but even getting License in second attempt is an achievement in Dubai.&lt;/p&gt; &lt;p&gt;Now have to start looking for a good car, but probably after I get back from the visit to Pakistan next week. Yes finally going to Pakistan after 7 months, really excited to meet family &amp;amp; friends there.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115731529323773403?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115731529323773403/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115731529323773403' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115731529323773403'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115731529323773403'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/yeh-passed-driving-test.html' title='Yeh! Passed Driving Test'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115706017698426490</id><published>2006-09-01T02:24:00.000+05:00</published><updated>2006-09-01T02:36:17.003+05:00</updated><title type='text'>Do not believe everything on net !</title><content type='html'>&lt;p&gt;Got this cool comic in mail, a good complement to a bulk of the irritating mails on the mailing lists, that people keep forwarding without verification. &lt;/p&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/bart.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/bart.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115706017698426490?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115706017698426490/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115706017698426490' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115706017698426490'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115706017698426490'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/09/do-not-believe-everything-on-net.html' title='Do not believe everything on net !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115678964726265405</id><published>2006-08-28T23:27:00.000+05:00</published><updated>2006-08-28T23:27:27.276+05:00</updated><title type='text'>Why Collation Affects T-SQL Syntax</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;This is something really intersting, atleast for me this is completely new and is still sort of mystery like what&amp;#8217;s going on. &amp;nbsp;Today I deployed a SQL Server 2005 Database on one of the test servers at office and during the test my application started crashing. I was getting declaration errors form the database.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;i&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; font-style:italic'&gt;&amp;#8220;Must declare Variable @ApplicaitonID &amp;#8220;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;i&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"; font-style:italic'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;It appeared that all the variables were declared but they were declared in difference a CASE and used in different CASE, well this should&amp;#8217;nt be a problem, I have been using T-SQL without case sensitivity for long, but when I corrected the case everything seemed fine. The &lt;b&gt;&lt;span style='font-weight: bold'&gt;EXEC master.dbo.sp_server_info&lt;/span&gt;&lt;/b&gt; returned the following results (given at the end) and you can see the &lt;b&gt;&lt;span style='font-weight:bold'&gt;IDENTIFIER_CASE&lt;/span&gt;&lt;/b&gt; parameter set to &lt;b&gt;&lt;span style='font-weight:bold'&gt;SENSITIVE&lt;/span&gt;&lt;/b&gt;, Actually it should be &lt;b&gt;&lt;span style='font-weight:bold'&gt;MIXED&lt;/span&gt;&lt;/b&gt;. Anyway I tried to find how to change this parameter but it seems that there is no direct way to change it. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;This parameter depends on the Collation so apperently there is a problem with the Collation, ok now I have to change the Collation to &lt;b&gt;&lt;span style='font-weight: bold'&gt;SQL_Latin1_General_CP1_CI_AS&lt;/span&gt;&lt;/b&gt; From &lt;b&gt;&lt;span style='font-weight: bold'&gt;Latin1_General_BIN&lt;/span&gt;&lt;/b&gt;. Now chaning collation on the database server is a long hard process, you have backup all your data and tables and reinstall the &lt;b&gt;&lt;span style='font-weight:bold'&gt;Database Engine&lt;/span&gt;&lt;/b&gt; with different collation and restore everything back.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;The First thing I do not understand is that why collation is applied on the Variable Names (T-SQL Syntax), I always thought collation was something only for the comaprison/Case-Sensitivity of database data and something which will not be used for procedure compilation. I do not understand this and I&amp;#8217;ll have to find some answer for this.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;Secondly, SQL Server 2005 supports different collation settings for each database and the Database Engine itself, and the collation settings on the copied database was fine. I even rechecked it and even tried to set it again but still even with the correct collation I continued to get the same Errors, I opened a procedure from database with the correct collation in &lt;b&gt;&lt;span style='font-weight:bold'&gt;Management Studio&lt;/span&gt;&lt;/b&gt; and tried recompiling it, but it was giving a recompilation error because of the case insensitivity. If SQL Server 2005 supports different Collation settings for Server and each individual database why I keep getting this annoying error.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;If some can explain this to me I will really appreciate.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;EXEC master.dbo.sp_server_info&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;attribute_id attribute_name&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; attribute_value&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;------------ ---------------------------- ---------------------------------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_NAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft SQL Server&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DBMS_VER&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Microsoft SQL Server &lt;st1:State w:st="on"&gt;&lt;st1:place w:st="on"&gt;Yukon&lt;/st1:place&gt;&lt;/st1:State&gt; - 9.00.1399&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; OWNER_TERM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; owner&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE_TERM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; table&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_OWNER_NAME_LENGTH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TABLE_LENGTH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_QUAL_LENGTH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;128&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COLUMN_LENGTH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;b&gt;&lt;font size=2 color=red face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:red;font-weight:bold'&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; IDENTIFIER_CASE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SENSITIVE&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TX_ISOLATION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; COLLATION_SEQ&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; charset=iso_1 collation=Latin1_General_BIN&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SAVEPOINT_SUPPORT&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MULTI_RESULT_SETS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESSIBLE_TABLES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;100&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; USERID_LENGTH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 128&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;101&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QUALIFIER_TERM&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; database&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;102&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; NAMED_TRANSACTIONS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;103&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;SPROC_AS_LANGUAGE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;104&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ACCESSIBLE_SPROC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;105&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MAX_INDEX_COLS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 16&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;106&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RENAME_TABLE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;107&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; RENAME_COLUMN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;108&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DROP_COLUMN&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;109&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; INCREASE_COLUMN_LENGTH&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;110&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DDL_IN_TRANSACTION&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;111&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; DESCENDING_INDEXES&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;112&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SP_RENAME&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;113&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; REMOTE_SPROC&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;500&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SYS_SPROC_VERSION&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;9.00.1399&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;(29 row(s) affected)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=1 face="Courier New"&gt;&lt;span style='font-size:8.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=1 face="Courier New"&gt;&lt;span style='font-size:8.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Lucida Sans Unicode"&gt;&lt;span style='font-size:10.0pt;font-family:"Lucida Sans Unicode"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115678964726265405?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115678964726265405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115678964726265405' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115678964726265405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115678964726265405'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/why-collation-affects-t-sql-syntax.html' title='Why Collation Affects T-SQL Syntax'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115678663092363361</id><published>2006-08-28T22:37:00.000+05:00</published><updated>2006-08-28T22:37:10.930+05:00</updated><title type='text'>Meda Ishq Wi Toon, Meda Yaar Wi Toon</title><content type='html'>&lt;p&gt;What a&amp;nbsp;classic&amp;nbsp;from Pathanay Khan, but you must have some sort of taste for classical music. 17 minutes of amazing voice and music ! ........ took most of the days pressure off my mind.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115678663092363361?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115678663092363361/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115678663092363361' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115678663092363361'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115678663092363361'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/meda-ishq-wi-toon-meda-yaar-wi-toon.html' title='Meda Ishq Wi Toon, Meda Yaar Wi Toon'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115654512462825804</id><published>2006-08-26T03:32:00.000+05:00</published><updated>2006-08-26T03:32:04.710+05:00</updated><title type='text'>History of Programming Languages</title><content type='html'>&lt;p&gt;I have &lt;a href="http://abdulaleemkhan.blogspot.com/2005/07/history-of-programming-languages-chart.html"&gt;posted&lt;/a&gt; this &lt;a href="http://www.levenez.com/lang/history.html"&gt;link&lt;/a&gt; before, but just saw this nicely formatted and colored version from O'Reilly.&lt;/p&gt; &lt;p&gt;&lt;a href="http://www.oreilly.com/news/graphics/prog_lang_poster.pdf"&gt;http://www.oreilly.com/news/graphics/prog_lang_poster.pdf&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115654512462825804?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115654512462825804/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115654512462825804' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115654512462825804'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115654512462825804'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/history-of-programming-languages.html' title='History of Programming Languages'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115653635484218367</id><published>2006-08-26T01:05:00.000+05:00</published><updated>2006-08-26T01:05:54.890+05:00</updated><title type='text'>Getting in touch with Old Colleagues</title><content type='html'>&lt;p&gt;I go thorugh various blogs, but I thought I should atleast have links to all the Bloggers I personally know, from work, university, old friends even college&amp;nbsp;etc, so its easier to get in touch and see whats going on with them.&lt;/p&gt; &lt;p&gt;I keep loosing this one guy Haroon Shafiq, my Senior from University. I found his &lt;a href="http://www.myblogspace.net/haroon"&gt;blog&lt;/a&gt;&amp;nbsp;in december last year, but now when I open the link I get some advertisement site.&lt;/p&gt; &lt;p&gt;I tried to find him and found another of his blogs here &lt;a href="http://my.opera.com/vodkamilkshake/blog/"&gt;http://my.opera.com/vodkamilkshake/blog/&lt;/a&gt;, does'nt seem to be his active blog, only 2 posts. &lt;/p&gt; &lt;p&gt;BTW one of the post had an ineteresting story.. lol ...&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115653635484218367?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115653635484218367/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115653635484218367' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115653635484218367'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115653635484218367'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/getting-in-touch-with-old-colleagues.html' title='Getting in touch with Old Colleagues'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115649994061593420</id><published>2006-08-25T14:59:00.000+05:00</published><updated>2006-08-25T15:02:15.683+05:00</updated><title type='text'>CSS Background-Image Property Unsupported in XP</title><content type='html'>&lt;p&gt;Was just working on interface of my application last night, and had to make few changes for background of buttons. I used &lt;strong&gt;background-image&lt;/strong&gt; CSS property for setting the images for my buttons, everything looked fine untill I tried to access the application on Windows XP. Oh ! no background is displayed on XP. &lt;/p&gt;&lt;p&gt;Interestingly its a known Bug in Internet Explorer 6.0 which uses windows XP themes to render its controls, now thre are a couple of solutions to this, one is to use &lt;strong&gt;background &lt;/strong&gt;istead of background-image and other is to include this&lt;/p&gt;&lt;p&gt;&amp;lt;meta http-equiv="msthemecompatible" content="no"&amp;gt;&lt;/p&gt;&lt;p&gt;to disable XP themes on the page.&lt;/p&gt;&lt;p&gt;&lt;a href="http://support.microsoft.com/default.aspx?scid=kb;en-us;322240&amp;Product=winxp"&gt;http://support.microsoft.com/default.aspx?scid=kb;en-us;322240&amp;Product=winxp&lt;/a&gt;&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115649994061593420?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115649994061593420/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115649994061593420' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115649994061593420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115649994061593420'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/css-background-image-property.html' title='CSS Background-Image Property Unsupported in XP'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115649911106961659</id><published>2006-08-25T14:45:00.000+05:00</published><updated>2006-08-25T14:45:11.103+05:00</updated><title type='text'>Google Strategy !</title><content type='html'>&lt;p&gt;Just read something Interesting about Google Strategy.&lt;/p&gt; &lt;p&gt;&lt;a href="http://blog.broadbandmechanics.com"&gt;Marc Canter&lt;/a&gt; has an interesting &lt;a href="http://blog.broadbandmechanics.com/2006/08/better-mousetrap-or-a-new-form-of-lock-in"&gt;post&lt;/a&gt; about the strategy of google, and how Google is trying to&amp;nbsp;&lt;strong&gt;"lock-in"&lt;/strong&gt; the end-users/developers by using and following thier own proprietary&amp;nbsp;protocols (developed based on open protocols) but not completely open something&amp;nbsp;what Microsoft did through 80's and 90's. &lt;/p&gt; &lt;p&gt;Also check the &lt;a href="http://factoryjoe.com/blog/2006/08/20/building-a-better-mouse-trap/"&gt;Mouse Trap Post&lt;/a&gt; by &lt;a href="http://factoryjoe.com/blog/"&gt;Chris Messina&lt;/a&gt; on the same topic, but as &lt;a href="http://scobleizer.wordpress.com/2006/08/24/wheres-google-in-the-conversation/"&gt;Rebert Scoble&lt;/a&gt; pointed out it would be nice to hear what Google Says about this. &lt;/p&gt; &lt;p&gt;Peronsally I haven't seen many Google Blogs !&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115649911106961659?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115649911106961659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115649911106961659' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115649911106961659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115649911106961659'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/google-strategy.html' title='Google Strategy !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115643612756883435</id><published>2006-08-24T21:15:00.000+05:00</published><updated>2006-08-24T21:25:49.310+05:00</updated><title type='text'>Salor System Looses a Planet</title><content type='html'>&lt;p&gt;According to awaited decision of International Astronomical Union, &lt;a href="http://en.wikipedia.org/wiki/Pluto"&gt;Pluto&lt;/a&gt; is no longer a planet and will be classified in a new term "dwarf planet". The Solar System will now have total of &lt;strong&gt;8 Planets&lt;/strong&gt;. &lt;/p&gt;&lt;p&gt;Other celestial objects in our Solar System like &lt;a href="http://en.wikipedia.org/wiki/1_Ceres"&gt;Ceres&lt;/a&gt; and &lt;a href="http://en.wikipedia.org/wiki/UB313"&gt;UB313&lt;/a&gt; (Xena) which were highly expected to be declared planets will also remain in the "dwarf planet" category. Pluto's moon &lt;a href="http://en.wikipedia.org/wiki/Charon_(moon)"&gt;Charon&lt;/a&gt; remains without a category and is not classified at the moment.&lt;/p&gt;&lt;p&gt;&lt;a href="http://www.cnn.com/2006/TECH/space/08/24/pluto.ap/index.html"&gt;http://www.cnn.com/2006/TECH/space/08/24/pluto.ap/index.html&lt;/a&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115643612756883435?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115643612756883435/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115643612756883435' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115643612756883435'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115643612756883435'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/salor-system-looses-planet.html' title='Salor System Looses a Planet'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115635175283325110</id><published>2006-08-23T21:49:00.000+05:00</published><updated>2006-08-23T21:59:35.156+05:00</updated><title type='text'>Space Elevator</title><content type='html'>&lt;p&gt;I was just going throuh some of the space articles and found about the Concept of &lt;a href="http://en.wikipedia.org/wiki/Space_elevator"&gt;Space Elevator&lt;/a&gt;. I have seen many fictitious concepts about space but what amazes me about the concept of a Space Elevator is that it is theoratically not only possible but companies are actually working on the concept and NASA seems really interested too. &lt;/p&gt;&lt;p&gt;Anyway this is understandable that it is not something that is going to happen in 10 years but maybe after 50 years you may actually have a trip to space in a Elevator suspended from earth ! . The Concept is pretty simple, &lt;em&gt;if you tie a thread on a side of a rotating ball with a small counterweight on the other side of the thread, due to the centrifugal force produced by the rotating ball, the thread will strat revolving with the ball and will seem as a suspended rope from the surface of the ball.&lt;/em&gt;&lt;/p&gt;&lt;p&gt;So if a 62,000-mile (100,000-kilometer) rope is suspended from the earth into space with a couterweigt attached on the other side of the rope, it will start spinning becuase of the centrifugal force of the earth, now if this rope is strong enough an &lt;strong&gt;Elevator Car&lt;/strong&gt; can be attached to to it and can be used for transportation.&lt;/p&gt;&lt;p&gt;However, this rope cannot be directly attached to surface of the earth, but can suspended through a non-stationary plaform like an oil rig in the sea so it has some margin for movement becuase of winds and other hazards. The major hurdle in such a design was the availability of a material string enough for the rope, but now with &lt;a href="http://en.wikipedia.org/wiki/Carbon_nanotube"&gt;Carbon Nanotube&lt;/a&gt; (discovered in 1991, 100 times stronger than steel and 1/5 in weight, a single thread of Nano Tube can easily support a full Saloon car) the material to build the Elevator is available.&lt;/p&gt;&lt;p&gt;Anyway It's an extraordinary idea indeed&lt;/p&gt;&lt;p&gt;&lt;/p&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/300px-Space_elevator_struct.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/300px-Space_elevator_struct.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115635175283325110?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115635175283325110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115635175283325110' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115635175283325110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115635175283325110'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/space-elevator.html' title='Space Elevator'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115617270811821892</id><published>2006-08-21T19:58:00.000+05:00</published><updated>2006-08-21T20:05:08.810+05:00</updated><title type='text'>Celebrity Look-Alikes</title><content type='html'>&lt;a href="http://mianfahim.wordpress.com"&gt;Fahim&lt;/a&gt; posted about the My &lt;a href="http://www.myheritage.com/FP/Company/tryFaceRecognition.php"&gt;Heritage Face Recognition&lt;/a&gt; and how he got very different results with different images. I also tried with one of my images ans I observed that it has largely different results even with the same image when it is flipped, or even slightly changed. I believe the face recognition agorithm they are using is not extracting the features of the face but only comparing with the complete face, otherwise flipping the face should not made such a big difference.&lt;br /&gt;&lt;br /&gt;Here are the two results.&lt;br /&gt;&lt;br /&gt;&lt;div align="center"&gt;&lt;a title="Click here to create your own Celebrity Collage" href="http://www.myheritage.com/FP/Company/celebrity-collage.php" target="_blank" alt="Click here to create your own Celebrity Collage"&gt;&lt;img height="574" src="http://69.93.254.120/F/storage/site1/files/22/03/2203_27438fe68e44ij8py308.jpg" width="500" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a title="Click here to create your own Celebrity Collage" href="http://www.myheritage.com/FP/Company/celebrity-collage.php" target="_blank" alt="Click here to create your own Celebrity Collage"&gt;&lt;img height="574" src="http://69.93.254.120/F/storage/site1/files/44/98/4498_652370678e44a381ur08.jpg" width="500" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115617270811821892?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115617270811821892/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115617270811821892' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115617270811821892'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115617270811821892'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/celebrity-look-alikes.html' title='Celebrity Look-Alikes'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115610940198107835</id><published>2006-08-21T02:30:00.000+05:00</published><updated>2006-08-21T02:33:51.680+05:00</updated><title type='text'>Windows Live Writer</title><content type='html'>&lt;p&gt;&lt;/p&gt;&lt;p&gt;I have been looking for a better soltuion for writing Blogs offline, Blogger does allow me to send Blog through mail but for images I always have to go through a lot of trouble for uploading images. I was just seeing the &lt;a href="http://mianfahim.wordpress.com"&gt;Fahim's Blog&lt;/a&gt; and found this &lt;a href="http://mianfahim.wordpress.com/2006/08/20/i-resemble-with-some-celebrity"&gt;post&lt;/a&gt; about &lt;a href="http://windowslivewriter.spaces.live.com/"&gt;Windows Live Writer&lt;/a&gt; (actually most of his posts are intersting), its just I was already looking for a Blog Writer. &lt;p&gt;It's nice but unfortunately still does'nt work with the images. I think it is more of a Blogger Issue, it has a wiered way of supporting images. I am really considering shifting to wordpress, blogger is getting too far behind on the all features other blog services are providing.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115610940198107835?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115610940198107835/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115610940198107835' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115610940198107835'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115610940198107835'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/windows-live-writer.html' title='Windows Live Writer'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115496539489084438</id><published>2006-08-07T20:43:00.000+05:00</published><updated>2006-08-07T21:00:42.816+05:00</updated><title type='text'>Views of British Parliament Member on Isreal/Lebanon War</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';"&gt;Listen to views of George Galloway, a British Parliamentarian about the Israel/Lebanon War. I believe every moral person related to any religion would find his views straight forward, absolutely true and just. However most of the world continues to pretend that this injustice in &lt;?xml:namespace prefix = st1 /&gt;&lt;st1:place st="on"&gt;Middle East&lt;/st1:place&gt; is not their problem. Unfortunate!&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Sans Unicode;"&gt;&lt;span style="font-family:'Lucida Sans Unicode';"&gt;&lt;a href="http://www.informationclearinghouse.info/article14391.htm"&gt;http://www.informationclearinghouse.info/article14391.htm&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115496539489084438?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115496539489084438/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115496539489084438' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115496539489084438'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115496539489084438'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/08/views-of-british-parliament-member-on.html' title='Views of British Parliament Member on Isreal/Lebanon War'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115348278301029924</id><published>2006-07-21T16:44:00.000+05:00</published><updated>2006-07-21T20:38:45.213+05:00</updated><title type='text'>T-SQL Error Handling Pattern ( For Nested Transactions And Stored Procedures)</title><content type='html'>Error Handling has always been cumbersome in SQL server, with all the unstructured @@Error checks scattered all around the place, this makes the T-SQL code harder to read and many errors go unaddressed due to simple coding mistakes. SQL Server 2005 comes to the rescue with the new TRY…CATCH block, but it is important how the try catch block is used. Also, recently I have had many issues with the Nested Transactions and the Nested Stored Procedures each using its own transaction.&lt;br /&gt;&lt;br /&gt;The issues I am referring to are the things like the TRANCOUNT check on the entry and exit of each stored procedure. For example you are in a stored procedure which is called by another outer procedure (both using BEGIN TRAN), when you call Rollback in the second procedure, SQL Server will throw the following error on the exit of the second procedure and will leave the transaction is a unconsistent state&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;em&gt;"Transaction count after EXECUTE indicates that a COMMIT or ROLLBACK TRANSACTION statement is missing. Previous count = 1, current count =0.&lt;/em&gt;&lt;/span&gt; "&lt;br /&gt;&lt;br /&gt;Similarly, as I mentioned in a &lt;a href="http://abdulaleemkhan.blogspot.com/2006/07/nested-t-sql-transactions.html"&gt;previous post&lt;/a&gt; a single ROLLBACK will set the @@TRANCOUNT to zero and any subsequent ROLLBACK in an outer procedure will give the following error&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;&lt;em&gt;"The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION."&lt;/em&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Infact, all these small things are very trivial in T-SQL and there are several ways to solve them, for example some people try not to use the transactions at database at all, they take the TRANSACTION Management completely to their data layer and manage it through MTS. (This was the case in one of the projects I worked on last year). Similarly, some people would always take care that Transaction is being used in only the outer procedure which is to be called by the data layer etc. However, this can easily break if you are not in control of all the T-SQL code you are writing,like if you have an encrypted third-party stored procedure, you wouldn’t know if it calls the ROLLBACK/COMMIT which may break your logic in the outer procedure.&lt;br /&gt;&lt;br /&gt;There should be some standard pattern for the Error Handling and writing standard stored procedure, and especially with the availability of the new Error Handling features in SQL Server 2005. So, I came up with the following Pattern for a standard stored procedure using an independent transaction. This stored procedure will not break on the behavior of the procedure it calls and is returning the error messages to its caller in a standard way (RAISERROR)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;ALTER&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;PROCEDURE&lt;/span&gt;&lt;/span&gt; [dbo]&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;.&lt;/span&gt;&lt;/span&gt;[StandardTSQLProcedure]&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;AS&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;TRY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;DECLARE&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;@TranStarted &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;bit&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;IF&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt; &lt;span style="color:fuchsia;"&gt;&lt;span style="color:fuchsia;"&gt;@@TRANCOUNT&lt;/span&gt;&lt;/span&gt; &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 0 &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 1&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;ELSE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:green;"&gt;&lt;span style="color:green;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:green;"&gt;&lt;span style="color:green;"&gt;-------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:green;"&gt;&lt;span style="font-family:'Courier New';color:green;"&gt;--Your Standard T-SQL Code for the Procedure Comes Here&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:green;"&gt;&lt;span style="color:green;"&gt;-------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;IF&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 1 &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;COMMIT&lt;/span&gt;&lt;/span&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;RETURN&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt;0&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;TRY&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;CATCH&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;DECLARE&lt;/span&gt;&lt;/span&gt; @ErrorMessage &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;NVARCHAR&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt;4000&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;DECLARE&lt;/span&gt;&lt;/span&gt; @ErrorNumber &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;DECLARE&lt;/span&gt;&lt;/span&gt; @ErrorSeverity &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;DECLARE&lt;/span&gt;&lt;/span&gt; @ErrorState &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;INT&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;SELECT&lt;/span&gt;&lt;/span&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;@ErrorMessage &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; ERROR_MESSAGE&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;@ErrorSeverity &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; ERROR_SEVERITY&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;@ErrorState &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; ERROR_STATE&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(),&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;@ErrorNumber &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; ERROR_NUMBER&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;();&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="Section1"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;IF&lt;/span&gt;&lt;/span&gt;&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 1 &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;SET&lt;/span&gt;&lt;/span&gt; @TranStarted &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;=&lt;/span&gt;&lt;/span&gt; 0&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;ROLLBACK&lt;/span&gt;&lt;/span&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;TRANSACTION&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;br /&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;RAISERROR&lt;/span&gt;&lt;/span&gt; &lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;(&lt;/span&gt;&lt;/span&gt;@ErrorMessage&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;,&lt;/span&gt;&lt;/span&gt; @ErrorSeverity&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;,&lt;/span&gt;&lt;/span&gt; @ErrorState&lt;span style="color:gray;"&gt;&lt;span style="color:gray;"&gt;);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;END&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;CATCH&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt; &lt;/div&gt;&lt;div class="Section1"&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115348278301029924?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115348278301029924/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115348278301029924' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115348278301029924'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115348278301029924'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/t-sql-error-handling-pattern-for.html' title='T-SQL Error Handling Pattern ( For Nested Transactions And Stored Procedures)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115347494350527694</id><published>2006-07-21T14:42:00.000+05:00</published><updated>2006-07-21T14:49:34.826+05:00</updated><title type='text'>WinFX Renaming to .NET 3.0</title><content type='html'>&lt;p&gt;Check out &lt;a href="http://channel9.msdn.com/Showpost.aspx?postid=2174288"&gt;this Channel9 video&lt;/a&gt; with Jason Zander on the renaming of WinFX to .NET 3.0 and what it contains. He has tried to remove the confusion with a nice diagram explaining different technology stacks and their relationship to each other.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115347494350527694?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115347494350527694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115347494350527694' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115347494350527694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115347494350527694'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/winfx-renaming-to-net-30.html' title='WinFX Renaming to .NET 3.0'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115325627627185166</id><published>2006-07-19T01:57:00.000+05:00</published><updated>2006-07-21T14:50:22.583+05:00</updated><title type='text'>Javascript Function to get control using Server Side ID</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;I don’t remember how many times I have written this, nearly for every ASP.NET project I have to write this, so I am posting so I can get it back. It is a simple method of the getting the control with the server side id. ASP.NET changes the Id’s of nested server side controls when page is rendered. &lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;This function simply compares the last part of the control id with the server side id of the control (passed as parameter)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;color:blue;"&gt;&lt;span style="font-family:'Courier New';color:blue;"&gt;function&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt; findObjWithClientId(Id)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt;&lt;/span&gt; ctrls = document.all;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;for&lt;/span&gt;&lt;/span&gt;(&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt;&lt;/span&gt; count = 0; count &amp;lt; ctrls.length ; count ++)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;var&lt;/span&gt;&lt;/span&gt; index = ctrls[count].id.indexOf(Id);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;&lt;/span&gt;(index != -1)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;if&lt;/span&gt;&lt;/span&gt;((ctrls[count].id.length - index) == Id.length)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;&lt;/span&gt; ctrls[count];&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;&lt;/span&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;null&lt;/span&gt;&lt;/span&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;"&gt;&lt;span style="font-family:'Courier New';"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115325627627185166?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115325627627185166/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115325627627185166' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115325627627185166'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115325627627185166'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/javascript-function-to-get-control.html' title='Javascript Function to get control using Server Side ID'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115311661126831357</id><published>2006-07-17T11:10:00.000+05:00</published><updated>2006-07-17T11:15:21.653+05:00</updated><title type='text'>Limitations of the XML Data Type in SQL Server 2005</title><content type='html'>&lt;div class="Section1"&gt;&lt;p&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Although the XML datatype is treated like many other datatypes in SQL Server 2005, there are specific limitations to how it is used. These limitations are:&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;XML types cannot convert to text or ntext data types.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;No data type other than one of the string types can be cast to XML.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;XML columns cannot be used in &lt;b&gt;&lt;i&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italic"&gt;GROUP BY &lt;/span&gt;&lt;/i&gt;&lt;/b&gt;statements.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Distributed partitioned views or materialized views cannot contain XML data types.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Use of the &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;sql_variant &lt;/span&gt;&lt;/b&gt;instances cannot include XML as a subtype.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;XML columns cannot be part of a primary or foreign key.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;XML columns cannot be designated as unique.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Collation (&lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;COLLATE &lt;/span&gt;&lt;/b&gt;clause) cannot be used on XML columns.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;XML columns cannot participate in rules.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;The only built-in scalar functions that apply to XML columns are &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;ISNULL &lt;/span&gt;&lt;/b&gt;and &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;COALESCE&lt;/span&gt;&lt;/b&gt;. No other scalar built-in functions are supported for use against XML types.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Tables can have only 32 XML columns.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Tables with XML columns cannot have a primary key with more than 15 columns.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Tables with XML columns cannot have a timestamp data type as part of their primary key.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-margin-top-alt: auto; mso-margin-bottom-alt: auto; mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Only 128 levels of hierarchy are supported within XML stored in the database.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115311661126831357?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115311661126831357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115311661126831357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115311661126831357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115311661126831357'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/limitations-of-xml-data-type-in-sql.html' title='Limitations of the XML Data Type in SQL Server 2005'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115308568941437574</id><published>2006-07-17T02:34:00.000+05:00</published><updated>2006-07-17T02:41:54.060+05:00</updated><title type='text'>GO Vertscape!</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Vertscape Infotech (our company) won 3 awards at the Microsoft Partner Conference this year. The awards are as follows&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol style="MARGIN-TOP: 0in" type="1"&gt;&lt;li class="MsoNormal" style="mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Technology Innovation Partner of the Year&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;Winning Customer Award (Application Platform - .NET)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="mso-list: l0 level1 lfo1"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;CRN Technology Innovation Partner of the Year&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;See the results here&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';"&gt;&lt;a href="http://www.microsoft.com/Partner/events/wwpartnerconference/awards_finalists.htm"&gt;http://www.microsoft.com/Partner/events/wwpartnerconference/awards_finalists.htm&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Lucida Console;"&gt;&lt;span style="font-family:'Lucida Console';font-size:85%;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115308568941437574?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115308568941437574/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115308568941437574' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115308568941437574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115308568941437574'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/go-vertscape.html' title='GO Vertscape!'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115268773618979407</id><published>2006-07-12T11:31:00.000+05:00</published><updated>2006-07-12T12:02:16.523+05:00</updated><title type='text'>Nested T-SQL Transactions</title><content type='html'>Recently, I had an issue with nested transaction in SQL Server, pretty simple thing but I realized that I was'nt taking care of this for most of the T-SQL code I write. Fortunately, never had a problem but I thought I shoud post about this so I could remeber this.&lt;br /&gt;&lt;br /&gt;Try running the following T-SQL code in SQL Server&lt;br /&gt;&lt;br /&gt;BEGIN TRANSACTION&lt;br /&gt;BEGIN TRANSACTION&lt;br /&gt;-- Some Code&lt;br /&gt;ROLLBACK TRANSACTION&lt;br /&gt;ROLLBACK TRANSACTION&lt;br /&gt;&lt;br /&gt;This code simpley throws an error "&lt;br /&gt;The ROLLBACK TRANSACTION request has no corresponding BEGIN TRANSACTION". Hey thats strange, I have two BEGIN statements so a I need a couple of ROLLBACKS to Roll them back, it seems logical but actually its not.&lt;br /&gt;&lt;br /&gt;Transaction are managed in SQL Server through a transaction count, each new BEGIN TRAN statement adds one to the TRAN Count, and a single Rollback rightly makes the TRAN Count zero, so everything is Rolled back with one Rollback.&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/pic2.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/pic2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;I can definately take care of this in my own code, but what happens if I am using a third party proceudre which ROLLBACKS the transaction, how do I know I have to put a ROLLBACK in my own code or not. If an encrypted third party procedure calls Rollback before my code, my procedure will throw error when it calls its Rollback.&lt;br /&gt;&lt;br /&gt;The Best Pattern to do this is to use the @@TRANCOUNT variable before EACH ROLLBACK, so the the way ROLLBACK should be called is&lt;br /&gt;&lt;br /&gt;IF @@TRANCOUNT &gt; 0&lt;br /&gt;BEGIN&lt;br /&gt;         ROLLBACK&lt;br /&gt;END&lt;br /&gt;&lt;br /&gt;Neat thing to learn !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115268773618979407?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115268773618979407/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115268773618979407' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115268773618979407'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115268773618979407'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/nested-t-sql-transactions.html' title='Nested T-SQL Transactions'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115235650915188157</id><published>2006-07-08T16:01:00.000+05:00</published><updated>2006-07-08T16:01:49.640+05:00</updated><title type='text'>SQL Server 2005 Management Studio</title><content type='html'>Recently, working in the SQL server Management Studio, I spent a couple of hours searching for the Stored Procedure Debugging. As the Management Studio replaces both Query Analyzer and Enterprise Manager from the previous version of the SQL Server Tools, it is very common to assume that there must be some Debugging option available in the new Management Studio.&lt;br /&gt;&lt;br /&gt;However there isn’t any, and you need Visual Studio 2005 for stored Procedure Debugging, this is not only for the SQL-CLR procedures written in a .NET language but even for the T-SQL Procedures. You need to connect the “Server Explorer” to the SQL Server, select your procedure and on right click you will find the “Step Into Procedure” option which will let you step into the procedure for debugging.&lt;br /&gt;&lt;br /&gt;Pretty easy, if you know to debug with Visual Studio in the first place, but there are issues with the remote debugging. You need to check if the Remote Debugging Service is running on the server and you need to have the network credentials for the server, preferably your account should be a member of server administrators group.&lt;br /&gt;&lt;br /&gt;So, finally after wasting half day, I got everything working.&lt;br /&gt;&lt;br /&gt;:)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115235650915188157?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115235650915188157/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115235650915188157' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115235650915188157'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115235650915188157'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/07/sql-server-2005-management-studio.html' title='SQL Server 2005 Management Studio'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115152725315144859</id><published>2006-06-29T01:39:00.000+05:00</published><updated>2006-06-29T01:40:55.663+05:00</updated><title type='text'>WinFS Scrapped! What's Left of Vista</title><content type='html'>Windows Vista which Microsoft promised as the Operating System that will change computing is already in uncharted waters even before its over-delayed release, and now abandoning the WinFS Project is like the last nail in the grave for Vista.&lt;br /&gt;&lt;br /&gt;WinFS Team announced that they are not going to deliver WinFS and the research and ““innovation”” will be handed to the SQL-Server and ADO.NET teams and may appear into the next versions of both products.&lt;br /&gt;&lt;a href="http://blogs.msdn.com/winfs/archive/2006/06/23/644706.aspx"&gt;http://blogs.msdn.com/winfs/archive/2006/06/23/644706.aspx&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It is hard to imagine how an organization as prominent as Microsoft can get away with such a failure. Vista has been their major focus for more than 5-6 years; they have over 2000 people on Vista alone. WinFS to me seemed to be the strongest pillar of Vista after Indigo.&lt;br /&gt;&lt;br /&gt;Recently a lot has been coming out of Microsoft about bad project management and other issues especially on the Vista Project.  Philip Su in the Vista team &lt;a href="http://blogs.msdn.com/philipsu/archive/2006/06/14/631438.aspx"&gt;http://blogs.msdn.com/philipsu/archive/2006/06/14/631438.aspx&lt;/a&gt; explains why Vista is slipped so late mostly due to management issues.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115152725315144859?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115152725315144859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115152725315144859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115152725315144859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115152725315144859'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/06/winfs-scrapped-whats-left-of-vista.html' title='WinFS Scrapped! What&apos;s Left of Vista'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-115046414159502972</id><published>2006-06-16T18:20:00.000+05:00</published><updated>2006-06-16T18:22:24.016+05:00</updated><title type='text'>Scobleizer leaving Microsoft</title><content type='html'>I just heard the news that &lt;a title="http://scobleizer.wordpress.com/" href="http://scobleizer.wordpress.com/"&gt;Scobleizer&lt;/a&gt; is leaving Microsoft, his blog and Channel has always been a great source about what’s happening inside Microsoft. I wonder if he will still continue to work at Channel 9.&lt;br /&gt;&lt;br /&gt;&lt;a title="http://news.bbc.co.uk/2/hi/technology/5070940.stm" href="http://news.bbc.co.uk/2/hi/technology/5070940.stm"&gt;http://news.bbc.co.uk/2/hi/technology/5070940.stm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-115046414159502972?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/115046414159502972/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=115046414159502972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115046414159502972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/115046414159502972'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/06/scobleizer-leaving-microsoft.html' title='Scobleizer leaving Microsoft'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114917688026963527</id><published>2006-06-01T20:24:00.000+05:00</published><updated>2006-06-01T20:48:00.880+05:00</updated><title type='text'>Now Running Windows Vista !</title><content type='html'>Installed Windows Vista Beta 2 on my HP nc6120 Notebook, just having fun with the UI at the moment, have'nt gone down to checking development experience. I was surprised to run it almost without any trouble. I thought driver issues and performance will really give me trouble, but it automaticlly adjusted to the graphics capability of my system and I had to install not a single driver.&lt;br /&gt;&lt;br /&gt;The Features which could not be supported by my modest built-in 915 Intel Chip Graphic Card were automatically diabled like the 3D Flip View to toggle windows.&lt;br /&gt;&lt;br /&gt;I installed Beta 1before this, but that could run nothing, finally Beta 2 seems to be stable enough to give me a good experience.&lt;br /&gt;&lt;br /&gt;Its beta and everyone expects issues, infact i saw a few menus features which were not working but still I should say that substantial work has been done in Vista, atleast from the appearance point of view. A lot of basic tasks are rearranged from the older version of windows.&lt;br /&gt;&lt;br /&gt;Have a look at some of the Screen shots.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Vista1.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Vista1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Vista2.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Vista2.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Vista3.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Vista3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Vista4.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Vista4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Vista5.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Vista5.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Vista6.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Vista6.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114917688026963527?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114917688026963527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114917688026963527' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114917688026963527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114917688026963527'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/06/now-running-windows-vista.html' title='Now Running Windows Vista !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114915214594489475</id><published>2006-06-01T13:36:00.000+05:00</published><updated>2006-06-01T15:03:53.346+05:00</updated><title type='text'>Disable/Enable Dialog Box in Windows</title><content type='html'>One of the things I really miss and loved working with was Win32, not that I am of the view that is flawless, but the control that I have over my application when I am writing code is awsome. Ofcourse, all .NET abstraction has countless advantages and is definately the future, but ocassionally its always nice to dig back to bottom.&lt;br /&gt;&lt;br /&gt;Recently someone asked this on &lt;a href="http://groups.google.com/group/microsoft.public.dotnet.csharp.general?hl=en"&gt;microsoft.public.dotnet.csharp.general&lt;/a&gt; newsgroup, that if you are calling a library function .NET which is some Dll, and is showing a MessageBox on some error or a "Trial" Message etc, how you would Supress/Hide that Message Box in .NET.&lt;br /&gt;&lt;br /&gt;I wrote this following class &lt;strong&gt;DisableModalDialog&lt;/strong&gt; to do the exact thing. To use the class see the following click event to see how u can disable/enable dialog boxes.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;private void button1_Click(object sender, System.EventArgs e)&lt;br /&gt;{&lt;br /&gt;DisableModalDialog dmd = new DisableModalDialog();&lt;br /&gt;&lt;br /&gt;dmd.DisableMessageBox();&lt;br /&gt;&lt;br /&gt;MessageBox.Show("Hello");&lt;br /&gt;MessageBox.Show("Hello");&lt;br /&gt;MessageBox.Show("Hello");&lt;br /&gt;MessageBox.Show("Hello");&lt;br /&gt;MessageBox.Show("Hello");&lt;br /&gt;MessageBox.Show("Hello");&lt;br /&gt;&lt;br /&gt;dmd.EnableMessageBox();&lt;br /&gt;&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;// Class to Enable/Disable Windows Dialog Boxes&lt;br /&gt;// NOTE : This Class Will Only Disable Dialog Boxes in Current Thread&lt;br /&gt;public class DisableModalDialog&lt;br /&gt;{&lt;br /&gt;// Constructor&lt;br /&gt;public DisableModalDialog() {}&lt;br /&gt;&lt;br /&gt;public void DisableMessageBox()&lt;br /&gt;{&lt;br /&gt;this.myCallbackDelegate = new HookProc(this.MyHookCallbackFunction);&lt;br /&gt;hHOOK = SetWindowsHookEx(HookType.WH_CALLWNDPROC, this.myCallbackDelegate, IntPtr.Zero, (uint)AppDomain.GetCurrentThreadId());&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;public void EnableMessageBox()&lt;br /&gt;{&lt;br /&gt;UnhookWindowsHookEx(hHOOK);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;private IntPtr hHOOK;&lt;br /&gt;private IntPtr OrigDlgProc;&lt;br /&gt;&lt;br /&gt;private HookProc myCallbackDelegate = null;&lt;br /&gt;delegate int HookProc(int code, IntPtr v1, IntPtr v2);&lt;br /&gt;&lt;br /&gt;private CustomWindowProc myCallBackWndProcDelegate = null;&lt;br /&gt;delegate IntPtr CustomWindowProc(IntPtr hwnd,uint uMsg,IntPtr wParam,IntPtr lParam);&lt;br /&gt;&lt;br /&gt;[DllImport("user32.dll")]&lt;br /&gt;private static extern IntPtr SetWindowsHookEx(HookType hook, HookProc callback,&lt;br /&gt;IntPtr hMod, uint dwThreadId);&lt;br /&gt;&lt;br /&gt;[DllImport("user32.dll")]&lt;br /&gt;private static extern IntPtr UnhookWindowsHookEx(IntPtr hhk);&lt;br /&gt;&lt;br /&gt;[DllImport("user32.dll")]&lt;br /&gt;private static extern int CallNextHookEx(IntPtr hhk, int nCode, IntPtr wParam, IntPtr lParam);&lt;br /&gt;&lt;br /&gt;[DllImport("user32.dll")]&lt;br /&gt;private static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, CustomWindowProc dwNewLong);&lt;br /&gt;&lt;br /&gt;[DllImport("user32.dll")]&lt;br /&gt;private static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, IntPtr dwNewLong);&lt;br /&gt;&lt;br /&gt;//[DllImport("user32.dll")]&lt;br /&gt;//private static extern IntPtr SetClassLong(IntPtr hWnd, int nIndex, CustomWindowProc dwNewLong);&lt;br /&gt;&lt;br /&gt;//[DllImport("user32.dll")]&lt;br /&gt;//private static extern IntPtr DefWindowProc(IntPtr hWnd, uint Msg, IntPtr wParam,IntPtr lParam);&lt;br /&gt;&lt;br /&gt;[DllImport("user32.dll")]&lt;br /&gt;private static extern IntPtr DefDlgProc(IntPtr hDlg, uint Msg, IntPtr wParam,IntPtr lParam);&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;private enum HookType : int&lt;br /&gt;{&lt;br /&gt;WH_JOURNALRECORD = 0,&lt;br /&gt;WH_JOURNALPLAYBACK = 1,&lt;br /&gt;WH_KEYBOARD = 2,&lt;br /&gt;WH_GETMESSAGE = 3,&lt;br /&gt;WH_CALLWNDPROC = 4,&lt;br /&gt;WH_CBT = 5,&lt;br /&gt;WH_SYSMSGFILTER = 6,&lt;br /&gt;WH_MOUSE = 7,&lt;br /&gt;WH_HARDWARE = 8,&lt;br /&gt;WH_DEBUG = 9,&lt;br /&gt;WH_SHELL = 10,&lt;br /&gt;WH_FOREGROUNDIDLE = 11,&lt;br /&gt;WH_CALLWNDPROCRET = 12,&lt;br /&gt;WH_KEYBOARD_LL = 13,&lt;br /&gt;WH_MOUSE_LL = 14&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;[StructLayout(LayoutKind.Sequential)]&lt;br /&gt;private struct CWPSTRUCT&lt;br /&gt;{&lt;br /&gt;public IntPtr lparam;&lt;br /&gt;public IntPtr wparam;&lt;br /&gt;public int message;&lt;br /&gt;public IntPtr hwnd;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;//private static int WM_CREATE = 0x0001;&lt;br /&gt;//private static int HC_ACTION = 0;&lt;br /&gt;//private static int GCL_WNDPROC = (-24);&lt;br /&gt;&lt;br /&gt;private static int GWL_WNDPROC = (-4);&lt;br /&gt;private static int WM_INITDIALOG = 0x0110;&lt;br /&gt;private static int WM_SHOWWINDOW = 0x0018;&lt;br /&gt;private static int WM_CLOSE = 0x0010;&lt;br /&gt;&lt;br /&gt;// Hook Function to Hook Current Thread Messages&lt;br /&gt;private int MyHookCallbackFunction(int code, IntPtr wParam, IntPtr lParam)&lt;br /&gt;{&lt;br /&gt;CWPSTRUCT cwpStruct = (CWPSTRUCT)System.Runtime.InteropServices.Marshal.PtrToStructure(lParam,typeof(CWPSTRUCT));&lt;br /&gt;if(cwpStruct.message == WM_INITDIALOG)&lt;br /&gt;{&lt;br /&gt;myCallBackWndProcDelegate = new CustomWindowProc(this.MyCustomDialogProc);&lt;br /&gt;this.OrigDlgProc = (IntPtr) SetWindowLong(cwpStruct.hwnd, GWL_WNDPROC, this.myCallBackWndProcDelegate);&lt;br /&gt;&lt;br /&gt;}&lt;br /&gt;return CallNextHookEx(IntPtr.Zero, code, wParam, lParam);&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;// Custom Dialog Procedure for Handling Dialog Messages&lt;br /&gt;private IntPtr MyCustomDialogProc(IntPtr hwnd,uint uMsg,IntPtr wParam,IntPtr lParam)&lt;br /&gt;{&lt;br /&gt;if(uMsg == WM_SHOWWINDOW)&lt;br /&gt;{&lt;br /&gt;SetWindowLong(hwnd,GWL_WNDPROC, this.OrigDlgProc);&lt;br /&gt;uMsg = (uint) WM_CLOSE;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;return DefDlgProc(hwnd,uMsg,wParam,lParam);&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-family:courier new;font-size:85%;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114915214594489475?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114915214594489475/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114915214594489475' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114915214594489475'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114915214594489475'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/06/disableenable-dialog-box-in-windows.html' title='Disable/Enable Dialog Box in Windows'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114914938158281863</id><published>2006-06-01T12:48:00.000+05:00</published><updated>2006-06-01T13:09:42.813+05:00</updated><title type='text'>Back to Blogging !</title><content type='html'>Its been a while since I have been here, over the last few months a lot of things were changing and I had to settle down to start all this stuff. The Major change is that I joined Vertscape Infotech and have planned to settle here in Dubai, atleast for a few years.&lt;br /&gt;&lt;br /&gt;Also, I wanted to get back to blogging with a new spirit :), so I have been looking at various other options for blogging like wordpress.com which provides with additional content pages. Infact I was working on a personal blog site, but it was taking more time than I initially thought so I got out of it. I tried wordpress but it lacks the HTML edit like the Blogger which gives me total control over my Blog.&lt;br /&gt;&lt;br /&gt;So, I am sticking to Blogger and hoping they'll add support for aditional content pages soon. Anyway to live up to the new spirit I changed the template for my Blog. I liked the Luxinterior Dark Template of the Community Server, but this one is even better.&lt;br /&gt;&lt;br /&gt;This template is originally developed by Nikhil Kothari for his website &lt;a href="http://www.nikhilk.net"&gt;http://www.nikhilk.net&lt;/a&gt; , Someone has developed this for Community Server also, anyway I took the template and changed it for Blogger.com. I think its really nice and specially the page transition effect. :)&lt;br /&gt;&lt;br /&gt;Cheers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114914938158281863?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114914938158281863/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114914938158281863' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114914938158281863'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114914938158281863'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/06/back-to-blogging.html' title='Back to Blogging !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114332104893006063</id><published>2006-03-26T02:10:00.000+05:00</published><updated>2006-03-26T11:19:38.323+05:00</updated><title type='text'>AJAX Design Patterns !</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Some Cool links for &lt;st1:City w:st="on"&gt;&lt;st1:place w:st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:City&gt; patterns, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;a href="http://blogs.msdn.com/ricksp/archive/2006/03/23/559445.aspx"&gt;http://blogs.msdn.com/ricksp/archive/2006/03/23/559445.aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;a href="http://blogs.msdn.com/brada/archive/2006/03/23/559077.aspx"&gt;http://blogs.msdn.com/brada/archive/2006/03/23/559077.aspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;a href="http://www.baekdal.com/articles/Usability/XMLHttpRequest-guidelines"&gt;http://www.baekdal.com/articles/Usability/XMLHttpRequest-guidelines&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;a href="http://softwareas.com/ajax-patterns"&gt;http://softwareas.com/ajax-patterns&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114332104893006063?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114332104893006063/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114332104893006063' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114332104893006063'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114332104893006063'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/ajax-design-patterns.html' title='AJAX Design Patterns !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114288133724532797</id><published>2006-03-21T00:02:00.000+05:00</published><updated>2006-03-21T00:04:12.583+05:00</updated><title type='text'>Why is Programming Fun !</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;I just started the book, &amp;#8220;&lt;i&gt;&lt;span style='font-style: italic'&gt;The Mythical Man Month: Essays on Software Engineering&lt;/span&gt;&lt;/i&gt;&amp;#8221;&lt;/span&gt;&lt;/font&gt;, have only been through the first chapter and I think I have never read such a wonderful few paragraphs, written in non-techncial language and tone and yet commenting on the most technical and complex issues of Software programming and devlopment. Absolutely Classical !&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt; padding:0in 0in 1.0pt 0in'&gt;  &lt;p class=MsoNormal style='border:none;padding:0in'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=4 face="Times New Roman"&gt;&lt;span style='font-size:12.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;b&gt;&lt;font size=4 face="Times New Roman"&gt;&lt;span style='font-size:12.5pt;font-weight:bold'&gt;The Joys of the Craft&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;Why is programming fun? What delights may its practitioner expect as his reward?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;First is the sheer joy of making things. As the child delights in his mud pie, so the adult enjoys building things, especially things of his own design. I think this delight must be an image of God's delight in making things, a delight shown in the distinctness and newness of each leaf and each snowflake. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;Second is the pleasure of making things that are useful to other people. Deep within, we want others to use our work and to find it helpful. In this respect the programming system is not essentially different from the child's first clay pencil holder &amp;quot;for Daddy's office.&amp;quot;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;Third is the fascination of fashioning complex puzzle-like objects of interlocking moving parts and watching them work in subtle cycles, playing out the consequences of principles built in from the beginning. The programmed computer has all the fascination of the pinball machine or the jukebox mechanism, carried to the ultimate.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;Fourth is the joy of always learning, which springs from the nonrepeating nature of the task. In one way or another, the problem is ever new, and its solver learns something: sometimes practical, sometimes theoretical, and sometimes both.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:11.5pt'&gt;Finally, there is the delight of working in such a tractable medium. The programmer, like the poet, works only slightly removed from pure thought-stuff. He builds his castles in the air, from air, creating by exertion of the imagination. Few media of creation are so flexible, so easy to polish and rework, so readily capable of realizing grand conceptual structures. (As we shall see later, this very tractability has its own problems.) Yet the program construct, unlike the poet's words, is real in the sense that it moves and works, producing visible outputs separate from the construct itself. It prints results, draws pictures, produces sounds, moves arms. The magic of myth and legend has &lt;/span&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;span style='font-size:11.0pt'&gt;come true in our time. One types the correct incantation on a keyboard, and a display screen comes to life, showing things that never were nor could be. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;Programming then is fun because it gratifies creative longings built deep within us and delights sensibilities we have in common with all men.&lt;/span&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;span style='font-size:11.5pt'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;b&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size:12.0pt;font-weight:bold'&gt;The Woes of the Craft&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;Not all is delight, however, and knowing the inherent woes makes it easier to bear them when they appear.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;First, one must perform perfectly. The computer resembles the magic of legend in this respect, too. If one character, one pause, of the incantation is not strictly in proper form, the magic doesn't work. Human beings are not accustomed to being perfect, and few areas of human activity demand it. Adjusting to the requirement for perfection is, I think, the most difficult part of learning to program.&lt;/span&gt;&lt;/font&gt;&lt;font size=1&gt;&lt;span style='font-size:7.0pt'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;Next, other people set one's objectives, provide one's resources, and furnish one's information. One rarely controls the circumstances of his work, or even its goal. In management terms, one's authority is not sufficient for his responsibility. It seems that in all fields, however, the jobs where things get done never have formal authority commensurate with responsibility. In practice, actual (as opposed to formal) authority is acquired from the very momentum of accomplishment. The dependence upon others has a particular case that is especially painful for the system programmer. He depends upon other people's programs. These are often maldesigned, poorly implemented, incompletely delivered (no source code or test cases), and poorly documented. So he must spend hours studying and fixing things that in an ideal world would be complete, available, and usable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;The next woe is that designing grand concepts is fun; finding nitty little bugs is just work. With any creative activity come The Woes of the Craft dreary hours of tedious, painstaking labor, and programming is no exception.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;Next, one finds that debugging has a linear convergence, or worse, where one somehow expects a quadratic sort of approach to the end. So testing drags on and on, the last difficult bugs taking more time to find than the first.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;The last woe, and sometimes the last straw, is that the product over which one has labored so long appears to be obsolete upon (or before) completion. Already colleagues and competitors are in hot pursuit of new and better ideas. Already the displacement of one's thought-child is not only conceived, but scheduled. This always seems worse than it really is. The new and better product is generally not &lt;i&gt;&lt;span style='font-style:italic'&gt;available &lt;/span&gt;&lt;/i&gt;when one completes his own; it is only talked about. It, too, will require months of development. The real tiger is never a match for the paper one, unless actual use is wanted. Then the virtues of reality have a satisfaction all their own. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;Of course the technological base on which one builds is &lt;i&gt;&lt;span style='font-style:italic'&gt;always &lt;/span&gt;&lt;/i&gt;advancing. As soon as one freezes a design, it becomes obsolete in terms of its concepts. But implementation of real products demands phasing and quantizing. The obsolescence of an implementation must be measured against other existing implementations, not against unrealized concepts. The challenge and the mission are to find real solutions to real problems on actual schedules with available resources. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;This then is programming, both a tar pit in which many efforts have floundered and a creative activity with joys and woes all its own. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt; padding:0in 0in 1.0pt 0in'&gt;  &lt;p class=MsoNormal style='text-autospace:none;border:none;padding:0in'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;For many, the joys far outweigh the woes.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none;border:none;padding:0in'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Times New Roman"&gt;&lt;span style='font-size:11.0pt'&gt;&lt;br&gt; &lt;i&gt;&lt;span style='font-style:italic'&gt;Taken from &amp;#8220;&lt;/span&gt;&lt;/i&gt;&lt;/span&gt;&lt;/font&gt;&lt;i&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial;font-style: italic'&gt;The Mythical Man Month: Essays on Software Engineering&amp;#8221;&lt;/span&gt;&lt;/font&gt;&lt;/i&gt;&lt;i&gt;&lt;font size=2&gt;&lt;span style='font-size:10.0pt;font-style:italic'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/i&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114288133724532797?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114288133724532797/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114288133724532797' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114288133724532797'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114288133724532797'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/why-is-programming-fun.html' title='Why is Programming Fun !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114271565673808823</id><published>2006-03-19T02:00:00.001+05:00</published><updated>2006-03-19T02:35:51.856+05:00</updated><title type='text'>Google Earth is Cool !</title><content type='html'>&lt;div align="left"&gt;&lt;/div&gt;&lt;div align="left"&gt;Google keeps on adding details to new places and cities around the world on Google Earth, I think its extremely wonderful. I was just seeing Islamabad and was finding old places, like our old house and other places in Islamabad. After the recent Earth Quake in the Northern areas of Pakistan, most northern cities are updated. Take a look at the details ....... &lt;/div&gt;&lt;a href="http://photos1.blogger.com/hello/125/5949/640/ISB5.jpg"&gt;&lt;div align="left"&gt;&lt;/div&gt;&lt;p align="center"&gt;&lt;img style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; MARGIN: 2px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" src="http://photos1.blogger.com/hello/125/5949/480/ISB5.jpg" border="0" /&gt;&lt;/p&gt;&lt;/a&gt;&lt;div align="center"&gt;Google Earth (Our old House, Islamabad)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114271565673808823?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114271565673808823/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114271565673808823' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271565673808823'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271565673808823'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/google-earth-is-cool_19.html' title='Google Earth is Cool !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114271560142562156</id><published>2006-03-19T02:00:00.000+05:00</published><updated>2006-03-19T02:05:44.396+05:00</updated><title type='text'>Google Earth (Sports Complex, Islamabad)</title><content type='html'>&lt;div align="center"&gt;&lt;a href="http://photos1.blogger.com/hello/125/5949/640/ISB3.jpg"&gt;&lt;img style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; MARGIN: 2px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" src="http://photos1.blogger.com/hello/125/5949/480/ISB3.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Google Earth (Sports Complex, Islamabad)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114271560142562156?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114271560142562156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114271560142562156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271560142562156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271560142562156'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/google-earth-sports-complex-islamabad.html' title='Google Earth (Sports Complex, Islamabad)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114271555727680418</id><published>2006-03-19T01:59:00.000+05:00</published><updated>2006-03-19T02:05:07.360+05:00</updated><title type='text'>Google Earth (Demolished Building/Earth Quake, Islamabad)</title><content type='html'>&lt;div align="center"&gt;&lt;a href="http://photos1.blogger.com/hello/125/5949/640/ISB4.jpg"&gt;&lt;img style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; MARGIN: 2px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" src="http://photos1.blogger.com/hello/125/5949/480/ISB4.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Google Earth (Demolished Building/Earth Quake, Islamabad) &lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114271555727680418?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114271555727680418/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114271555727680418' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271555727680418'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271555727680418'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/google-earth-demolished-buildingearth.html' title='Google Earth (Demolished Building/Earth Quake, Islamabad)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114271537838561201</id><published>2006-03-19T01:56:00.000+05:00</published><updated>2006-03-19T02:04:35.246+05:00</updated><title type='text'>Google Earth (Presidency, Islamabad)</title><content type='html'>&lt;div align="center"&gt;&lt;a href="http://photos1.blogger.com/hello/125/5949/640/ISB1.jpg"&gt;&lt;img style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; MARGIN: 2px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" src="http://photos1.blogger.com/hello/125/5949/480/ISB1.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;Google Earth (Presidency, Islamabad) &lt;a href="http://picasa.google.com/blogger/" target="ext"&gt;&lt;/a&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114271537838561201?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114271537838561201/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114271537838561201' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271537838561201'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271537838561201'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/google-earth-presidency-islamabad.html' title='Google Earth (Presidency, Islamabad)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114271484387603840</id><published>2006-03-19T01:47:00.000+05:00</published><updated>2006-03-19T01:52:40.773+05:00</updated><title type='text'>Google Earth (Faisal Mosque, Islamabad)</title><content type='html'>&lt;p align="center"&gt;&lt;a href="http://photos1.blogger.com/hello/125/5949/640/ISB2.jpg"&gt;&lt;img style="BORDER-RIGHT: #000000 1px solid; BORDER-TOP: #000000 1px solid; MARGIN: 2px; BORDER-LEFT: #000000 1px solid; BORDER-BOTTOM: #000000 1px solid" src="http://photos1.blogger.com/hello/125/5949/400/ISB2.jpg" border="0" /&gt;&lt;/a&gt;&lt;/p&gt;&lt;div align="center"&gt;&lt;br /&gt;Google Earth (Faisal Mosque, Islamabad)&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114271484387603840?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114271484387603840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114271484387603840' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271484387603840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114271484387603840'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/03/google-earth-faisal-mosque-islamabad.html' title='Google Earth (Faisal Mosque, Islamabad)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114106851331715891</id><published>2006-02-28T00:28:00.000+05:00</published><updated>2006-02-28T00:34:27.023+05:00</updated><title type='text'>@ Airport !</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Just getting ready to board for &lt;?xml:namespace prefix = st1 /&gt;&lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Lahore&lt;/st1:place&gt;&lt;/st1:city&gt;, the boarding will start on 11:45. Never thought will be using Internet from the Airport, was just getting bored sitting near the Duty Free here at the Airport and turned on my laptop and it connected to the Airport Wireless Broadband, so good way to pass time. I should get going, boarding time is getting close. &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114106851331715891?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114106851331715891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114106851331715891' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114106851331715891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114106851331715891'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/02/airport.html' title='@ Airport !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114104736631014010</id><published>2006-02-27T18:36:00.000+05:00</published><updated>2006-02-27T18:37:18.210+05:00</updated><title type='text'>Going to Pakistan ! :)</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Today I am flying back to &lt;?xml:namespace prefix = st1 /&gt;&lt;st1:country-region st="on"&gt;Pakistan&lt;/st1:country-region&gt;; it’s been 3 months in &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;Dubai&lt;/st1:city&gt;&lt;/st1:place&gt; and my record for living away from home this long. It’s a short trip probably 5-6 days but I think it’ll be relaxing. I can’t wait to reach. Life in &lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;Dubai&lt;/st1:city&gt;&lt;/st1:place&gt; has been good but living with family has its own charm which u cannot get anywhere. Ok I should start packing, have to leave for Airport in a couple of hours.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Bye !&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114104736631014010?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114104736631014010/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114104736631014010' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114104736631014010'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114104736631014010'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/02/going-to-pakistan.html' title='Going to Pakistan ! :)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-114104697511407785</id><published>2006-02-27T18:29:00.000+05:00</published><updated>2006-02-27T18:32:19.936+05:00</updated><title type='text'>SqlDataSourceEnumerator</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;I was just working on a small application in Visual Studio 2005, I am using the &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;color:teal;"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:teal;"&gt;SqlDataSourceEnumerator &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;which is new in Framework 2.0 and enumerates all the instances of SQL Server 2000 and SQL Server 2005 on the network, following is my function from my class.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The interesting thing is that &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;color:teal;"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:teal;"&gt;SqlDataSourceEnumerator &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;does enumerates all servers including the SQL Server on my local machine when I am connected to the network, but if I am not connected to a network, it does not even get my local SQL Server. This is quite strange, because even if the API it works for the network it should check the loopback (127.0.0.1) network.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;I know I can solve this by using the SQLDEMO API’s to get the SQL Servers as we have been doing in 1.1, but still am looking for the answer for the behavior of &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;color:teal;"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:teal;"&gt;SqlDataSourceEnumerator&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;color:teal;"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:teal;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;color:blue;"&gt;&lt;span style="font-family:'Courier New';font-size:10;color:blue;"&gt;public&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt; &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;/span&gt;[] GetAllServerNames()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      &lt;span style="color:teal;"&gt;&lt;span style="color:teal;"&gt;ArrayList&lt;/span&gt;&lt;/span&gt; array = &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;new&lt;/span&gt;&lt;/span&gt; &lt;span style="color:teal;"&gt;&lt;span style="color:teal;"&gt;ArrayList&lt;/span&gt;&lt;/span&gt;();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      &lt;span style="color:teal;"&gt;&lt;span style="color:teal;"&gt;SqlDataSourceEnumerator&lt;/span&gt;&lt;/span&gt; dse = &lt;span style="color:teal;"&gt;&lt;span style="color:teal;"&gt;SqlDataSourceEnumerator&lt;/span&gt;&lt;/span&gt;.Instance;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      &lt;span style="color:teal;"&gt;&lt;span style="color:teal;"&gt;DataTable&lt;/span&gt;&lt;/span&gt; dt = dse.GetDataSources();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;foreach&lt;/span&gt;&lt;/span&gt; (&lt;span style="color:teal;"&gt;&lt;span style="color:teal;"&gt;DataRow&lt;/span&gt;&lt;/span&gt; dr &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;in&lt;/span&gt;&lt;/span&gt; dt.Rows)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      { &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;          array.Add(dr[&lt;span style="color:maroon;"&gt;&lt;span style="color:maroon;"&gt;"ServerName"&lt;/span&gt;&lt;/span&gt;]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;             &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;      &lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;return&lt;/span&gt;&lt;/span&gt; (&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;/span&gt;[])array.ToArray(&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;typeof&lt;/span&gt;&lt;/span&gt;(&lt;span style="color:blue;"&gt;&lt;span style="color:blue;"&gt;string&lt;/span&gt;&lt;/span&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-114104697511407785?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/114104697511407785/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=114104697511407785' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114104697511407785'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/114104697511407785'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/02/sqldatasourceenumerator.html' title='SqlDataSourceEnumerator'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113731699337069081</id><published>2006-01-15T14:23:00.000+05:00</published><updated>2006-01-15T14:30:36.666+05:00</updated><title type='text'>A Software Woe !</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Help ! Help !&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Somebody get me some &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;pirated software&lt;/span&gt;&lt;/b&gt;, I never knew finding the software can be so hard, before coming here.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Once upon a time I read an article "In the Beginning was the Command Line", there was a line at the start of Article &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italicfont-family:Arial;font-size:10;"  &gt;"Its Interesting, rather Unbelievable that the RICHEST person in the World is not an OIL TYCOON or some Owner of a LARGE INDUSTRY, but has earned his fortune with something (SOFTWARE) which actually has no physical existence of its own."&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Now I got the real meaning of it, when I am really seeing PPL giving more MONEY for Software than the Taxes they give to the government. :)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;"  &gt;Personally&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;, I am still &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;SPLIT&lt;/span&gt;&lt;/b&gt; on the notion of Software Being &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Free or Not&lt;/span&gt;&lt;/b&gt;; I know there are Linux Sensitive guys on this group (who will definitely answer), but in reality Open Source Development does not provide the quality and comfort that the paid software gives, &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;some may not agree&lt;/span&gt;&lt;/b&gt; but its not always about learning programming problems or resolving technical issues, though I must mention &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Mozilla&lt;/span&gt;&lt;/b&gt; Browser being the only recent thing worthy of calling itself an &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;end-user product. &lt;/span&gt;&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;In Professional environments you just need to get things done as soon as possible and you just don’t want to &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;keep spending time on resolving small technical issues and experiencing the sense of achievement&lt;/span&gt;&lt;/b&gt; that you are a great programmer and can still resolve problems which are harder to solve. And of course, as they say &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italicfont-family:Arial;font-size:10;"  &gt;“Linux is for Programmers, and then let Programmers have it” &lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;b&gt;&lt;span style="font-family:Wingdings;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Wingdings;font-size:10;"  &gt;J&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold; FONT-STYLE: italicfont-family:Arial;font-size:10;"  &gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;"  &gt;On the other side, &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;I have doubts about the closed software model that companies like Microsoft has. &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Cost&lt;/span&gt;&lt;/b&gt; is one big issue which has made companies crazy and instead of increasing their profits through increased software productivity, they actually go on spending millions on purchasing and development of solutions. Also, I believe that keep on changing products and bringing new versions of the software (without substantial changes) only serves in teasing the customers, &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;and I don’t like innovation&lt;/span&gt;&lt;/b&gt; and &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;product development&lt;/span&gt;&lt;/b&gt; which is &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;driven&lt;/span&gt;&lt;/b&gt; by an aim to earn more money. (Like Microsoft)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;May be all this should not be a debate after all; it’s about &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;what works best for you&lt;/span&gt;&lt;/b&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Caution! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;-------------&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;If you ever plan to leave the COUNTRY for some time, please do take most of the Softwares you need on a CD/HardDisk along with you, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Otherwise, most likely you'll be handing over all that you owe to EVIL SOFTWARE COMPANIES &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;(does not only include Microsoft).&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt; &lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113731699337069081?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113731699337069081/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113731699337069081' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113731699337069081'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113731699337069081'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/01/software-woe.html' title='A Software Woe !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113666711303380818</id><published>2006-01-08T01:51:00.000+05:00</published><updated>2006-01-08T02:18:12.626+05:00</updated><title type='text'>January 8th, 2006</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Today I bought my new HP nc6120 Notebook. It is Centrino 1.73, 512 MB RAM and 60G Hard Disk and Windows XP Professional. Actually, I had an option between the ACER 5202, but most people recommend HP especially for professional use. I think I’ll be able to utilize my time in something better now, the learning was stopped from last once month since I have come to &lt;?xml:namespace prefix = st1 /&gt;&lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Dubai&lt;/st1:place&gt;&lt;/st1:city&gt;. Also, I will be able to communicate with the family more frequently now. May Allah let me use this good purposes and for increasing my knowledge.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Ok I’ll let you guys see it &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Wingdings;font-size:85%;"&gt;&lt;span style="font-family:Wingdings;font-size:10;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/Picture(5).jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/320/Picture%285%29.jpg" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113666711303380818?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113666711303380818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113666711303380818' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113666711303380818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113666711303380818'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2006/01/january-8th-2006.html' title='January 8th, 2006'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113603942529050194</id><published>2005-12-31T19:30:00.000+05:00</published><updated>2006-01-02T19:25:09.020+05:00</updated><title type='text'>Last Day of 2005 (Memories/Thoughts) !</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;And here we are on the last day of 2005. It was a good year, I do have some targets set for 2006, but I am not going to make them public &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Wingdings;font-size:85%;"&gt;&lt;span style="font-family:Wingdings;font-size:10;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The atmosphere here in &lt;?xml:namespace prefix = st1 /&gt;&lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Dubai&lt;/st1:place&gt;&lt;/st1:city&gt; is a little windy today, a light cool breeze.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;A couple of days ago I found Haroon Shafiq’s Blog (added that to my recommended Blogs Section), it was good to find him, he is really a gr8 guy and has a wonderful Blot too, his Blog took me to &lt;a href="http://www.wired.com/news/technology/0,69918-0.html?tw=wn_tophead_2"&gt;Worst Tech Moments in 2005&lt;/a&gt;. Interesting happenings, especially I found a few of them quite interesting, like&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ol style="MARGIN-TOP: 0in" type="1"&gt;&lt;li class="MsoNormal" style="TEXT-ALIGN: justify; mso-list: l1 level1 lfo3"&gt;&lt;st1:country-region st="on"&gt;&lt;st1:place st="on"&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN" style="FONT-WEIGHT: normal;font-family:Arial;font-size:10;"  &gt;US&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/st1:place&gt;&lt;/st1:country-region&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN" style="FONT-WEIGHT: normal;font-family:Arial;font-size:10;"  &gt; Commerce Department blocks &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN"   style="font-family:Arial;font-size:10;"&gt;.xxx&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN" style="FONT-WEIGHT: normal;font-family:Arial;font-size:10;"  &gt; domain&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span lang="EN" style="FONT-WEIGHT: normal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="TEXT-ALIGN: justify; mso-list: l1 level1 lfo3"&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN" style="FONT-WEIGHT: normal;font-family:Arial;font-size:10;"  &gt;A narrow escape from the repetition of Columbia Disaster &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;cite&gt;&lt;i&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN" style="FONT-STYLE: normal;font-family:Arial;font-size:10;"  &gt;[&lt;a href="http://www.chron.com/disp/story.mpl/front/3528650.html"&gt;NASA Story&lt;/a&gt;]&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/cite&gt;&lt;cite&gt;&lt;i&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="FONT-STYLE: normal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/cite&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="TEXT-ALIGN: justify; mso-list: l1 level1 lfo3"&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span lang="EN" style="FONT-WEIGHT: normal;font-family:Arial;font-size:10;"  &gt;Yahoo Helps &lt;st1:country-region st="on"&gt;&lt;st1:place st="on"&gt;China&lt;/st1:place&gt;&lt;/st1:country-region&gt; Imprison a Dissident&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;strong&gt;&lt;b&gt;&lt;span style="font-family:Times New Roman;"&gt;&lt;span style="FONT-WEIGHT: normal"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/strong&gt;&lt;/li&gt;&lt;/ol&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size:12;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Though I myself support the decision of US Commerce department regarding the blocking of .xxx domains, but still it is depressing to know that Internet content and Domain system is under the influence (*control*) of a government and specially with Mr. Bush leading that government, highly degrades my confidence while using the internet &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Wingdings;font-size:85%;"&gt;&lt;span style="font-family:Wingdings;font-size:10;"&gt;L&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;. However, the most depressing is what &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;Yahoo!&lt;/span&gt;&lt;/b&gt; Did, I never knew my mails were not safe, I think the private policy does not say anything like this, our content, communication and mail nothing has any privacy. I can only say this &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal" style="TEXT-ALIGN: justify"&gt;&lt;b&gt;&lt;i&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="FONT-WEIGHT: bold;font-size:10;" &gt;“We are not culturally and morally developed to use the technologies and inventions that we have created.”&lt;/span&gt;&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113603942529050194?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113603942529050194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113603942529050194' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113603942529050194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113603942529050194'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/12/last-day-of-2005-memoriesthoughts.html' title='Last Day of 2005 (Memories/Thoughts) !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113463849638916228</id><published>2005-12-15T14:21:00.000+05:00</published><updated>2005-12-15T16:08:15.070+05:00</updated><title type='text'>The Limits of Technology</title><content type='html'>Wow !&lt;br /&gt;&lt;P&gt;&lt;br /&gt;One of my colleagues gave me this link to a wonderful article by &lt;strong&gt;Grady Booch. &lt;br&gt;&lt;/strong&gt;&lt;a href="http://www-128.ibm.com/developerworks/rational/library/2082.html"&gt;http://www-128.ibm.com/developerworks/rational/library/2082.html&lt;/a&gt;&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Great article and true analysis of the software design/development, and its limitations and problems.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Also, while reading &lt;strong&gt;Occam's Razor &lt;/strong&gt;in the article, I researched on it a bit on Wikipedia and found what it really meant &lt;strong&gt;"Entities should not be multiplied unnecessarily"&lt;/strong&gt;, I remeber Occam's Razor from the Judy Foster's Film &lt;strong&gt;Contact&lt;/strong&gt;, but did'nt know the exact meaning.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Also, liked the Newton's and Eienstien's illustrations of the same phrase&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;"We are to admit no more causes of natural things than such are both true and sufficient to explain their appearances." -- &lt;/strong&gt;Issac Newton&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;&lt;strong&gt;&lt;/strong&gt;&lt;strong&gt;"Everything should be made as simple as possible, but not simpler" -- &lt;/strong&gt;Albert Eienstien.&lt;br /&gt;&lt;/p&gt;&lt;br /&gt;&lt;p&gt;&lt;br /&gt;Anyway, a good and useful reading.&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113463849638916228?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113463849638916228/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113463849638916228' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113463849638916228'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113463849638916228'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/12/limits-of-technology.html' title='The Limits of Technology'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113402215839546916</id><published>2005-12-08T11:09:00.000+05:00</published><updated>2005-12-08T11:13:52.596+05:00</updated><title type='text'>Customizing Properties for .NET PropertyGrid</title><content type='html'>&lt;DIV&gt;I just thought the following conversation could be useful to others as well.&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"&gt;  &lt;DIV id=RTEContent&gt;&lt;FONT size=2&gt;  &lt;DIV&gt;The .NET PropertyGrid Control is a wonderful control which enables you to load any object (or set of objects) in it and displays/exposes all the public properties of the object through reflection. The Framework class library provides various Attributes and Classes to cutomize the way your proerties look. Generally, when you need to customize the way your properties look in the property Grid, either you use the &lt;B&gt;TypeConverters&lt;/B&gt; or you create a new &lt;B&gt;Cusotm Editor &lt;/B&gt;for your properties. Let me explain this further, &lt;/DIV&gt;&lt;B&gt;&lt;U&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;No.1 - Custom Editors for Properties&lt;/DIV&gt;&lt;/B&gt;&lt;/U&gt;  &lt;DIV&gt;You must have used a &lt;B&gt;Collection Editor, &lt;/B&gt;if your class contains a collection property then visual studio shows a button  in-front of the colle ction property and clicking that opens a new dialog in which you can add/edit collection items.&lt;/DIV&gt;&lt;B&gt;&lt;U&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;No.2 - Using TypeConverters for Properties&lt;/DIV&gt;&lt;/B&gt;&lt;/U&gt;  &lt;DIV&gt;You must have seenn a Font Property in various controls, this property as you see is expandable and then with all the combination of the selected values you can actually show the Font Property, also you must have seen the Icon Property which shows an Icon Image in-front of the property or there are certain properties which show a drop-down in-front of property, these properties use the &lt;B&gt;TypeConverters&lt;/B&gt;. There are various type converters available in &lt;B&gt;System.ComponentModel&lt;/B&gt; namespace.&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;I have written some code using the &lt;B&gt;type converters&lt;/B&gt; which nearly solves your problem, but the problem with the type converters is that they always update the property after the value has been entered, I mean you won't be able to update it  character by character as you want in your case. You will only be able to convert your property value into '**********' after teh full property has been entered. Consider you have the following class which contains public properties which are to be shown in the property Grid.&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;public&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; NewClass&lt;/DIV&gt;  &lt;DIV&gt;{&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;  &lt;DIV&gt;&amp;nbsp; private&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; _text;&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#008000 size=2&gt;  &lt;DIV&gt;&amp;nbsp; //Add this Attribute to Specify the TypeConverter&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;  &lt;DIV&gt;&amp;nbsp; [TypeConverter(&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff  size=2&gt;typeof&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;(CustomPassConverter))]&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp; public&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; Text&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp; {&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp; &amp;nbsp; get&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; _text; &lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _text = &lt;/FONT&gt;&lt;FONT face="Courier&amp;#13;&amp;#10; New" color=#0000ff size=2&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;;&lt;/DIV&gt;   &lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp; }&lt;/DIV&gt;  &lt;DIV&gt;&lt;/DIV&gt;  &lt;DIV&gt;}&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT size=2&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;Look above and see the Attribute that I am using on the Property, this attribute specifies that the &lt;B&gt;CusotmPassConeverter, &lt;/B&gt;is the converter to be used for this property. Let me implement the CusotmPassConverter now.&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;public&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;class&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; CustomPassConverter : System.ComponentModel.StringConverter&lt;/DIV&gt;  &lt;DIV&gt;{&lt;/DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;  &lt;DIV&gt;&amp;nbsp; public&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;override&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;  ConvertTo(ITypeDescriptorContext context, System.Globalization.CultureInfo culture, &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;object&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;, Type destinationType)&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp; {&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; passValue = (&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;) &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;value&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt;;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; string&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; pass = &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;new&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; &lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;string&lt;/FONT&gt;&lt;FONT face="Courier New"  size=2&gt;('*',passValue.Length);&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;&lt;FONT face="Courier New" color=#0000ff size=2&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; return&lt;/FONT&gt;&lt;FONT face="Courier New" size=2&gt; pass;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp; }&lt;/DIV&gt;  &lt;DIV&gt;}&lt;/DIV&gt;&lt;/FONT&gt;&lt;B&gt;&lt;FONT size=2&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/B&gt;  &lt;DIV&gt;Now when you will load this class in the PropertyGrid, and edit the value of the property, after editing the value your value will be changed in '***********'. &lt;/DIV&gt;  &lt;DIV&gt;I have also tried using the &lt;B&gt;UITypeEditor, &lt;/B&gt;which is one of the editors which allows you to draw in the Property and has a &lt;B&gt;PaintValue &lt;/B&gt;method, but it has the same problem that it modifies the property after it has been edited.&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;B&gt;&lt;U&gt;  &lt;DIV&gt;IF AN EXACT SOLUTION IS POSSIBLE&lt;/DIV&gt;&lt;/B&gt;&lt;/U&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;I beleive that I can always go the old Win32 way. I can write a CustomPropertyGrid Control by inheriting from the original PropertyGrid control overrideing its &lt;B&gt;WndProc, &lt;/B&gt;searching for messages and then can do  anything. &lt;B&gt;BUT this solution will not work in case for Visual Studio as it is not using my Custom Control.&lt;/DIV&gt;&lt;/B&gt;&lt;B&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;Yes the correct solution is possible in one way, you can write a custom editor dialog like the Collection Editor Dialog we talked ablut above, let the user enter the Password in that custom dialog (Collection Editor also allows that). Actually when you write a separate dialog as an editor you have complete control over it. So its better to Implement a Custom Dialog. &lt;/B&gt;I'll try to write this if I get some extra time.&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;Regards,&lt;/DIV&gt;  &lt;DIV&gt;Abdul Aleem&lt;/DIV&gt;  &lt;DIV&gt;Senior Software Engineer&lt;/DIV&gt;  &lt;DIV&gt;KalSoft (Pvt) Limited&lt;/DIV&gt;  &lt;DIV&gt;Dubai, UAE&lt;/DIV&gt;  &lt;DIV&gt;Cell: +971-502196733&lt;/DIV&gt;  &lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV&gt;&lt;/FONT&gt;______________________________________________________________&lt;BR&gt;&lt;BR&gt;&lt;B&gt;&lt;I&gt;fakhar siddiqui &amp;lt;fakhar_83@yahoo.com&amp;gt;&lt;/I&gt;&lt;/B&gt; wrote:&lt;/DIV&gt;  &lt;BLOCKQUOTE  class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid"&gt;  &lt;DIV id=RTEContent&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Hello,&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Its me Fakhar. I am facing some problem&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;in C#&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;when using Property Grid. If u people used Property Grid then u obviously know the properties which we define in our class are mapped to Property Grid after storing the object of that class in PropertyGrid .&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;The Problem is that I have property in my Class named  Password. I want when user will edit that field in property grid it should display * instead of&lt;SPAN style="mso-spacerun: yes"&gt;&amp;nbsp; &lt;/SPAN&gt;the character which is typed. I think attributes in namespace [using System.ComponentModel] may help. But I could not find any solution.&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;o:p&gt;&lt;FONT face="Times New Roman" size=3&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/o:p&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;If you can help me in this regard, I will appreciate it.&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;SPAN style="mso-spacerun: yes"&gt;&lt;FONT face="Times New Roman" size=3&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Thanks You Very Much.&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in 0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Best Regards,&lt;/FONT&gt;&lt;/DIV&gt;  &lt;DIV class=MsoNormal style="MARGIN: 0in 0in  0pt"&gt;&lt;FONT face="Times New Roman" size=3&gt;Fakhar&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;p&gt;     &lt;hr size=1&gt;Yahoo! Shopping&lt;br&gt;  Find Great Deals on Holiday Gifts at &lt;a href="http://us.rd.yahoo.com/mail_us/footer/shopping/*http://shopping.yahoo.com/;_ylc=X3oDMTE2bzVzaHJtBF9TAzk1OTQ5NjM2BHNlYwNtYWlsdGFnBHNsawNob2xpZGF5LTA1  "&gt;Yahoo! Shopping&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113402215839546916?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113402215839546916/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113402215839546916' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113402215839546916'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113402215839546916'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/12/customizing-properties-for-net.html' title='Customizing Properties for .NET PropertyGrid'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113393628779938412</id><published>2005-12-07T11:18:00.000+05:00</published><updated>2005-12-07T11:34:53.860+05:00</updated><title type='text'>Aleem @ Dubai</title><content type='html'>&lt;p&gt;As usual posting after a long time, the last few weeks have been quite busy and also so many things were changing that I could not get time to post.&lt;/p&gt; &lt;br /&gt;&lt;p&gt;I left Systems Private Limited, a gr8 place where I spent the last one year and it was great learning, they tried all they could to stop me, but I made the decesion to move on. It was an extremely tough decision and I have been under a lot of proessure. Anyway I was offered a job by KALSoft in Pakistan which included working for Vertscape in Dubai and I accpeted the offer. Its been a week now since I have joined the new company. Actually my office is at the client location at Dubai Airport Free Zone, West Wing Building 3.&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Its a little challenging here with people from all cultures and its an experience getting adjusted. Also, the market is very competitive. The work is nearly the same, ASP.NET project with SQL Server and no documentation :).&lt;/p&gt;&lt;br /&gt;&lt;p&gt;Our Apartment is at a gr8 place, thats is the chorniche area at the start of Sharjah, and its a good place for walking and hanging out. I am spending most of the evenings just hanging here and there because I dont have a PC yet. I am thinking of getting a Notebook, there is a lot of brands to select from here and it is not very expensive also.&lt;/p&gt;&lt;p&gt;Anyway still getting accustomed to the project, thats the important thing.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113393628779938412?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113393628779938412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113393628779938412' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113393628779938412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113393628779938412'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/12/aleem-dubai.html' title='Aleem @ Dubai'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-113235490142969094</id><published>2005-11-19T04:01:00.000+05:00</published><updated>2005-11-19T04:01:41.463+05:00</updated><title type='text'>Stored Procedure Encryption</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;SQL Server stored procedures can be encrypted when they are shipped as part of a product. To Encrypt the SQL Server Stored Procedures so they cannot be read by anyone/client/developer/dbo, use the &lt;b&gt;&lt;span style='font-weight:bold'&gt;WITH ENCRYPTION &lt;/span&gt;&lt;/b&gt;with the procedure definition. Consider for example&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;CREATE PROCEDURE CustomerSample WITH ENCRYPTION &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;AS&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;PRINT &amp;#8216;This is an Encrypted Procedure&amp;#8217;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;GO&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:blue'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;I am looking forward to writing and Debugging Stored Procedures using the Visual Studio 2005.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-113235490142969094?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/113235490142969094/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=113235490142969094' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113235490142969094'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/113235490142969094'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/11/stored-procedure-encryption.html' title='Stored Procedure Encryption'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112757647393616000</id><published>2005-09-24T20:41:00.000+05:00</published><updated>2005-09-24T20:41:15.713+05:00</updated><title type='text'>.NET Serialization</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Serialization is used to persist the state of the object, so the object can be regenerated with the same state later. .NET provides different types of serializations for objects, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;ul style='margin-top:0in' type=disc&gt;  &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1'&gt;&lt;b&gt;&lt;font size=3      face="Times New Roman"&gt;&lt;span style='font-size:12.0pt;font-weight:bold'&gt;BinaryFormatter&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;      for bunary serialization&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;  &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1'&gt;&lt;b&gt;&lt;font size=3      face="Times New Roman"&gt;&lt;span style='font-size:12.0pt;font-weight:bold'&gt;XMLSerializer&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;      class for XML Serialization &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;  &lt;li class=MsoNormal style='mso-list:l0 level1 lfo1'&gt;&lt;b&gt;&lt;font size=3      face="Times New Roman"&gt;&lt;span style='font-size:12.0pt;font-weight:bold'&gt;SoapFormatter&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;      class for Soap Serialization. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;You can use these objects for serialization. The Framework also needs to serialize the objects at various places for example in case of web services, the objects needs to be serialized for communication, in case of Remoting and also if the object is to be passed across the boundary of an Application Domain or the process. In all these cases, the framework will only be able to successfully serialize your objects if your objects are serializable. &amp;nbsp;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;All the basic .NET types are serializable except &lt;b&gt;&lt;span style='font-weight:bold'&gt;Object, &lt;/span&gt;&lt;/b&gt;there are various other base classes which are by default serializable and can be successfully used in above scenarios, this includes the very commnly used DataSet, DataTable and other class, the complete list is &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;These classes are serializable because they implement the &lt;b&gt;&lt;span style='font-weight:bold'&gt;ISerializable&lt;/span&gt;&lt;/b&gt; Interface.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;To set your own types &lt;b&gt;&lt;span style='font-weight:bold'&gt;Serializable, &lt;/span&gt;&lt;/b&gt;the most common way is to set the class/type with the &lt;b&gt;&lt;span style='font-weight: bold'&gt;[System.Serializable()] &lt;/span&gt;&lt;/b&gt;attribute, also use the &lt;b&gt;&lt;span style='font-weight:bold'&gt;[System.NonSerialized()] &lt;/span&gt;&lt;/b&gt;for the members that you don&amp;#8217;t want to serialize. See the following example&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;[System.Serializable]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;class&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; TestClass&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt; str = &lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Check&amp;quot;&lt;/span&gt;&lt;/font&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [System.NonSerialized()]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; SqlCommand cmd = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; SqlCommand();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;int&lt;/span&gt;&lt;/font&gt; count;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;public&lt;/span&gt;&lt;/font&gt; CheckFunction()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ........&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ........&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;However, using the serializable attribute is not the only way, and in some cases is not enough, specially if you are serializing complex objects which are inherited from other base objects. To serialize such objects you can have better control over serialization by implementing the &lt;b&gt;&lt;span style='font-weight:bold'&gt;ISerializable&lt;/span&gt;&lt;/b&gt; interface. This interface has only one method, which is &lt;b&gt;&lt;span style='font-weight:bold'&gt;GetObjectData()&lt;/span&gt;&lt;/b&gt;, this method is called when the object is to be serialized and you need to provide an extra constructor in the class to provide the &lt;b&gt;&lt;span style='font-weight:bold'&gt;de-serialization&lt;/span&gt;&lt;/b&gt; mechanism to regenerate the object. While serialization in &lt;b&gt;&lt;span style='font-weight:bold'&gt;GetObjectData()&lt;/span&gt;&lt;/b&gt; method, you can add your values to &lt;b&gt;&lt;span style='font-weight:bold'&gt;SerializationInfo&lt;/span&gt;&lt;/b&gt; parameter. During de-serialization you can get the values from the &lt;b&gt;&lt;span style='font-weight:bold'&gt;SerializationInfo&lt;/span&gt;&lt;/b&gt; object and set the values to the members of the class to regenarte the object in the same state. The example below will give you can idea&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;class&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; TestClass : ISerializable&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt; str = &lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Check&amp;quot;&lt;/span&gt;&lt;/font&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;int&lt;/span&gt;&lt;/font&gt; count;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;public&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; TestClass(SerializationInfo info, StreamingContext context)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;this&lt;/span&gt;&lt;/font&gt;.str = info.GetString(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;str&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;this&lt;/span&gt;&lt;/font&gt;.count = info.GetInt32(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;count&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;public&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; GetObjectData(SerializationInfo info, StreamingContext context)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;// TODO:&amp;nbsp; Add TestClass.GetObjectData implementation&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info.AddValue(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;str&amp;quot;&lt;/span&gt;&lt;/font&gt;,str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; info.AddValue(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;count&amp;quot;&lt;/span&gt;&lt;/font&gt;,count);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;}&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Generally, as the MS guidelines and PAG documents say, serialization is not recommended for your custom objects, it has various issues regarding performance, security and scalability. But sometimes you have no other option then to use serialization. PAG guidelines do not recommend serialization and due to valid reasons but do not tell any other way you could get around the typical problems without serialization.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112757647393616000?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112757647393616000/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112757647393616000' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112757647393616000'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112757647393616000'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/net-serialization.html' title='.NET Serialization'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112732647566045692</id><published>2005-09-21T23:14:00.000+05:00</published><updated>2005-09-21T23:14:35.666+05:00</updated><title type='text'>WinForm Stuff</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Just added the &lt;a href="http://blogs.msdn.com/jfoscoding/default.aspx"&gt;Jessica&amp;#8217;s&lt;/a&gt; &lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family: Arial'&gt;blog link to my &lt;b&gt;&lt;span style='font-weight:bold'&gt;outlook&lt;/span&gt;&lt;/b&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;It has got a lots stuff on WinForms, could not get time to read as yet.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112732647566045692?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112732647566045692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112732647566045692' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112732647566045692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112732647566045692'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/winform-stuff.html' title='WinForm Stuff'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112732556848137139</id><published>2005-09-21T22:59:00.000+05:00</published><updated>2005-09-21T22:59:28.486+05:00</updated><title type='text'>AJAX is Cool !</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Have you seen &lt;a href="http://www.orkut.com/" title="http://www.orkut.com/"&gt;Orkut&lt;/a&gt;, &lt;a href="http://www.google.com/webhp?complete=1&amp;amp;hl=en" title="http://www.google.com/webhp?complete=1&amp;amp;hl=en"&gt;Google Suggest&lt;/a&gt;, &lt;a href="http://maps.google.com/" title="http://maps.google.com/"&gt;Google Maps&lt;/a&gt;. Are you amazed by the wonderful web experience? They are using &lt;st1:place w:st="on"&gt;&lt;st1:City  style="BACKGROUND-POSITION: left bottom; BACKGROUND-IMAGE: url(res://ietag.dll/#34/#1001); BACKGROUND-REPEAT: repeat-x"  tabIndex="0" w:st="on"&gt;AJAX&lt;/st1:City&gt;&lt;/st1:place&gt;. &lt;st1:City w:st="on"&gt;&lt;st1:place  w:st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:City&gt; is a really good technique; I don&amp;#8217;t call it a technology because it is nothing new, just a blend of few established technologies like JavaScript, XML etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;To learn about the actual idea behind &lt;st1:place w:st="on"&gt;&lt;st1:City  w:st="on"&gt;AJAX&lt;/st1:City&gt;&lt;/st1:place&gt;, you can go through the article &lt;a href="http://www.adaptivepath.com/publications/essays/archives/000385.php" title="http://www.adaptivepath.com/publications/essays/archives/000385.php"&gt;http://www.adaptivepath.com/publications/essays/archives/000385.php&lt;/a&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;There are many implementations and third party &lt;st1:City w:st="on"&gt;&lt;st1:place  w:st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:City&gt; libraries available, the idea is not so difficult and you can even implement it yourself without using any library provided that you have time.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Anyway, for .NET programmers AJAX.NET is available, you can download the C# source form &lt;a href="https://svn.borgworx.net/SVN/BorgWorX/trunk/Web/Core/Ajax/" title="https://svn.borgworx.net/SVN/BorgWorX/trunk/Web/Core/Ajax/"&gt;https://svn.borgworx.net/SVN/BorgWorX/trunk/Web/Core/Ajax/&lt;/a&gt; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Creating an application with AJAX.NET is not very difficult, just a few basic steps you need to follow, here is a good article at &lt;a href="http://www.msdn.microsoft.com/" title="http://www.msdn.microsoft.com/"&gt;MSDN&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp%20about%20using%20AJAX.NET" title="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp about using AJAX.NET"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnaspp/html/ASPNetSpicedAjax.asp about using AJAX.NET&lt;/a&gt;.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112732556848137139?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112732556848137139/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112732556848137139' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112732556848137139'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112732556848137139'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/ajax-is-cool_21.html' title='AJAX is Cool !'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112732353529958594</id><published>2005-09-21T22:25:00.000+05:00</published><updated>2005-09-21T22:25:35.340+05:00</updated><title type='text'>Fiddler</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;a href="http://www.fiddlertool.com/fiddler/"&gt;Fiddler&lt;/a&gt; is a really cool tool for HTTP Debugging. I have used it for some apps for testing and analyzing the requests from the app and the corresponding responses. You can get &lt;a href="http://www.fiddlertool.com/fiddler/"&gt;Fiddler&lt;/a&gt; Here: &lt;a href="http://www.fiddlertool.com/fiddler/"&gt;http://www.fiddlertool.com/fiddler/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112732353529958594?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112732353529958594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112732353529958594' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112732353529958594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112732353529958594'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/fiddler.html' title='Fiddler'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112724105426202117</id><published>2005-09-20T23:30:00.000+05:00</published><updated>2005-09-20T23:30:55.256+05:00</updated><title type='text'>WinFx Runtime Beta 1 and Whidbey</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Finally, after so much effort I have WinFX Runtime Beta1 installed on my system with Visual Studio.NET Beta 2. Could&amp;#8217;nt get the WinFX SDK installed as yet so I don&amp;#8217;t have the XAMLPAd. I downloaded the source for the &lt;b&gt;&lt;span style='font-weight:bold'&gt;Chris Anderson&amp;#8217;s&lt;/span&gt;&lt;/b&gt; AvPad and it ran fine.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Wrote my first small Avalon application also; actually I just ran a sample to test everything is properly setup. I thought I&amp;#8217;ll write some useful application by the end of the day today but could not get time. Its 11:15 PM now and I need to go home so maybe tomorrow I&amp;#8217;ll try to write some Avalon code.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I am still figuring out the XAML and the procedural code relationship in Avalon, I never liked these split architectures. You have to write XAML and then the procedural code and somehow they work together. Also, I know you can Avalon App in pure procedural code without XAML.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I need to do some work on this and get comfortable with this new stuff, and by the way where &lt;b&gt;&lt;span style='font-weight:bold'&gt;WinForms&lt;/span&gt;&lt;/b&gt; stand now, you can still create a WinForm app, I still have to compare these two application types and what are the best places/scenarios for using each of them.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Anyway, VisualStudio.NET Beta 2 is amazing. The development experience is great, very comfortable and elegant. The new &lt;b&gt;&lt;span style='font-weight: bold'&gt;Error Window&lt;/span&gt;&lt;/b&gt; is really wonderful with that grid view.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I was thinking that Microsoft may be going too fast in some of its development; they should not update the products/specs so frequently. I downloaded C# 3.0 enhancements document today (haven&amp;#8217;t seen it though). Now ppl haven&amp;#8217;t used C# 2.0 as yet. Most people in my environment and other local software houses are using VS.NET 2003. C# 2.0 and Whidbey are still in the Beta and now they are proposing new C# 3.0. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Maybe this is because they have so many problems with these products that they tend to improve them continuously but this has &lt;b&gt;&lt;span style='font-weight:bold'&gt;a real bad effect on the programmer productivity&lt;/span&gt;&lt;/b&gt;. Most programmers are not able to get benefit and utilize the new features and changes. I think people at Microsoft and surrounding environment do benefit from everything that they add but medium/small companies are not using most of the new features.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I think they need to make a few solid releases without tweaking the things so often, if they need to get the Windows Vista and Widbey some real success at all levels.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Ok ! Its late .. I am leaving .. Bye! &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112724105426202117?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112724105426202117/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112724105426202117' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112724105426202117'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112724105426202117'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/winfx-runtime-beta-1-and-whidbey.html' title='WinFx Runtime Beta 1 and Whidbey'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112720779944589350</id><published>2005-09-20T14:16:00.000+05:00</published><updated>2005-09-20T14:16:40.506+05:00</updated><title type='text'>Getting Printer Information thorugh WMI</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;Hey, &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;I just got a mail from one of the friends, he wants to get the information about the printer like printer status, error, current status etc, I thought I should share the answer with all.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;Yes there are ways to do this, the most common answer to almost anything related to any information in Windows is &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;b&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial;font-weight:bold'&gt;WMI (Windows Management Instrumentation), &lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font face=Arial&gt;&lt;span style='font-family:Arial'&gt;this is the layer windows provides and uses for retrieving all sorts of information from the system and the running kernel. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;In the following code I have listed all your printers on the system and also some of their properties/status like printing, stopped etc, but I can&amp;#8217;t possibly list everything. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;There is tons of information you can get about printer using &lt;b&gt;&lt;span style='font-weight:bold'&gt;WMI Win32_Printer class. &lt;/span&gt;&lt;/b&gt;Please refer to&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;a href="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_printer.asp"&gt;http://msdn.microsoft.com/library/default.asp?url=/library/en-us/wmisdk/wmi/win32_printer.asp&lt;/a&gt; and modify this code according to what you actually need.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;div style='mso-element:para-border-div;border:none;border-bottom:solid windowtext 1.0pt; padding:0in 0in 1.0pt 0in'&gt;  &lt;p class=MsoPlainText style='border:none;padding:0in'&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;  &lt;p class=MsoPlainText&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System.Diagnostics;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System.Management;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System.ComponentModel;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;namespace&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; ConsoleWMI&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;class&lt;/span&gt;&lt;/font&gt; Class1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [STAThread]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; &lt;st1:place w:st="on"&gt;Main&lt;/st1:place&gt;(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; Class1();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;public&lt;/span&gt;&lt;/font&gt; Class1()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Management.ManagementObjectSearcher searcher = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; ManagementObjectSearcher&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; (&amp;quot;SELECT * FROM Win32_Printer&amp;quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;foreach&lt;/span&gt;&lt;/font&gt; (ManagementObject service &lt;font color=blue&gt;&lt;span style='color:blue'&gt;in&lt;/span&gt;&lt;/font&gt; searcher.Get()) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt; [] pStatus = {&amp;quot;Other&amp;quot;,&amp;quot;Unknown&amp;quot;,&amp;quot;Idle&amp;quot;,&amp;quot;Printing&amp;quot;,&amp;quot;WarmUp&amp;quot;,&amp;quot;Stopped Printing&amp;quot;, &amp;quot;Offline&amp;quot;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt; [] pState = {&amp;quot;Paused&amp;quot;,&amp;quot;Error&amp;quot;,&amp;quot;Pending Deletion&amp;quot;,&amp;quot;Paper Jam&amp;quot;,&amp;quot;Paper Out&amp;quot;,&amp;quot;Manual Feed&amp;quot;,&amp;quot;Paper Problem&amp;quot;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;quot;Offline&amp;quot;,&amp;quot;IO Active&amp;quot;,&amp;quot;Busy&amp;quot;,&amp;quot;Printing&amp;quot;,&amp;quot;Output Bin Full&amp;quot;,&amp;quot;Not Available&amp;quot;,&amp;quot;Waiting&amp;quot;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;quot;Processing&amp;quot;,&amp;quot;Initialization&amp;quot;,&amp;quot;Warming Up&amp;quot;,&amp;quot;Toner Low&amp;quot;,&amp;quot;No Toner&amp;quot;,&amp;quot;Page Punt&amp;quot;,&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;quot;User Intervention Required&amp;quot;,&amp;quot;Out of Memory&amp;quot;,&amp;quot;Door Open&amp;quot;,&amp;quot;Server_Unknown&amp;quot;,&amp;quot;Power Save&amp;quot;};&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;foreach&lt;/span&gt;&lt;/font&gt;(System.Management.PropertyData pData &lt;font color=blue&gt;&lt;span style='color:blue'&gt;in&lt;/span&gt;&lt;/font&gt; service.Properties)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;if&lt;/span&gt;&lt;/font&gt;(pData.Name == &amp;quot;Caption&amp;quot; || pData.Name == &amp;quot;Default&amp;quot; || pData.Name==&amp;quot;ServerName&amp;quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(pData.Name + &amp;quot; = &amp;quot; + pData.Value);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;else&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;if&lt;/span&gt;&lt;/font&gt;(pData.Name == &amp;quot;PrinterState&amp;quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(pData.Name + &amp;quot; = &amp;quot; + pState[Convert.ToInt32(pData.Value)]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;else&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;if&lt;/span&gt;&lt;/font&gt;(pData.Name == &amp;quot;PrinterStatus&amp;quot;)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(pData.Name + &amp;quot; = &amp;quot; + pStatus[Convert.ToInt32(pData.Value)]);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.ReadLine();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112720779944589350?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112720779944589350/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112720779944589350' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112720779944589350'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112720779944589350'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/getting-printer-information-thorugh.html' title='Getting Printer Information thorugh WMI'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112681971965046307</id><published>2005-09-16T02:28:00.000+05:00</published><updated>2005-09-16T02:36:40.106+05:00</updated><title type='text'>Network Load Balancing (Windows 2003 Server)</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/cluster.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/400/cluster.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;color:navy;"   &gt;These are the configurations of the cluster we set-up with two Windows 2003 Web Servers and a DB Server (see last post to catch up) . It is'nt a pure cluster actually but the Application Load Balancing, the load balancing service (available in Windows 2003 Server, I think its also in 2000 server but have'nt checked that) distributes the application requests among both the servers. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;color:navy;"   &gt;In contrast to this load balancing setup, a pure cluster also manages the server fail overs and the state of the servers, but it needs an extra bit of hardware, maybe i'll say something about that once we have that setup also.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;color:navy;"   &gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;color:navy;"   &gt;This Load Balancing service in Windows 2003 Server is also interesting, I'll write a step-by-step process to setup NLB when next time I get to blog :) .. so stay tunned .... Also, there are a few other intersting things coming up, I think i'll be active here ...... C ya !&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;color:navy;"   &gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="FONT-WEIGHT: bold;font-family:Arial;font-size:10;color:navy;"   &gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112681971965046307?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112681971965046307/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112681971965046307' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112681971965046307'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112681971965046307'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/network-load-balancing-windows-2003.html' title='Network Load Balancing (Windows 2003 Server)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112681870352168412</id><published>2005-09-16T02:11:00.000+05:00</published><updated>2005-09-16T02:11:43.570+05:00</updated><title type='text'>ASP.NET Session State Management</title><content type='html'>&lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;This last week was great for learning. We had to setup our ASP.NET app on multiple web-servers/webcluster, the major issue in this case is that how session will be managed accross the cluster of webservers. ASP.NET Sessions can be managed in three ways, Ill just go briefly here and then you can go through the references if you need details&lt;/SPAN&gt;&lt;?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;1-&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&lt;FONT face="Times New Roman"&gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;In-Proc Session Management&lt;/SPAN&gt;&lt;/B&gt;&lt;FONT face="Times New Roman" size=3&gt;: &lt;/FONT&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;This is what we have in a default ASP.NET application. The ASP.NET worker process &lt;B&gt;aspnet_wp.exe &lt;/B&gt;manages all processes.&lt;/SPAN&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;2-&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&lt;FONT face="Times New Roman"&gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Centralized &lt;?xml:namespace prefix = st1 ns = "urn:schemas-microsoft-com:office:smarttags" /&gt;&lt;st1:place w:st="on"&gt;&lt;st1:PlaceName w:st="on"&gt;Session&lt;/st1:PlaceName&gt; &lt;st1:PlaceType w:st="on"&gt;State&lt;/st1:PlaceType&gt;&lt;/st1:place&gt; Server: &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;The second way in which the ASP.NET sessions can be managed is through the &lt;B&gt;Session State Server, &lt;/B&gt;which is the session management out of the process, in other words you can set the sessions to be managed on a separate machine and then all the web-servers can access the user session from there. (In my opinion this is the best way to go for a webfarm) .NET Framework comes with a &lt;B style="mso-bidi-font-weight: normal"&gt;Session  State Service&lt;/B&gt; which u can run from the SCM. There is a &lt;B style="mso-bidi-font-weight: normal"&gt;&amp;lt;sessionstate&amp;gt; &lt;/B&gt;attribute in the application &lt;B style="mso-bidi-font-weight: normal"&gt;web.config&lt;/B&gt; file which needs to be set for the state server and you are ready to go.&lt;/SPAN&gt;&lt;SPAN style="mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;3-&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 9pt"&gt;&lt;FONT face="Times New Roman"&gt; &lt;/FONT&gt;&lt;/SPAN&gt;&lt;/B&gt;&lt;B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"&gt;Session Management with SQL-Server: &lt;/SPAN&gt;&lt;/B&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;The last method is the session management through the SQL-Server; you can manage the session in a SQL Server DB.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;&lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Although, the Framework provides the mechanisms but changing the way your application manages the state is not seamless and there are a lot of consideration which are to be taken during the application design if you want to make your application scalable for such an environment. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;If you are implementing sessions through state server or through SQL-Server, in other words managing sessions out of the process, the objects placed in the sessions are serialized/de-serialized on each access. Now you need to insure that all the objects that you keep in sessions are &lt;B&gt;Serializable &lt;/B&gt;otherwise the application will crash which trying to serialize a non-serializable object&lt;B&gt;. &lt;/B&gt;Framework provides support for the native objects so they seem to serialize without any problem, apart from them there are a lot of other built-In library classes which implement the &lt;B&gt;ISerializable &lt;/B&gt;interface which make them inherently serializable, this includes the DataSet and DataTable objects which are commonly used through the sessions. Still, there are other objects that you keep in sessions and you need to make them  serializable.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Serialization/De-Serialization also introduces a performance overhead but in a cluster environment you have to bear that cost to enhance the application performance.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Setting the serialization is not very difficult; you can set the &lt;B&gt;[Serializable] &lt;/B&gt;attribute over a class to make this class serializable provided that all its members are either serializable or native types. There are various issues involved with setting a type as serializable including the security and performance issues and generally setting serialization for your classes is not recommended but there seems no other solution if we need to manage the session out of process. &lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;Maybe while designing the application you can avoid the use of your custom types through sessions so dont need to keep them in the session. You can also implement the &lt;B&gt;ISerialiable &lt;/B&gt;and implement its &lt;B&gt;GetObjectData()&lt;/B&gt; method to get a better control over serialization.&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;For furthur descussion about session states&lt;BR&gt;&lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;&lt;A href="http://www.msdn.microsoft.com/netframework/technologyinfo/infrastructure/tuning/default.aspx"&gt;http://www.msdn.microsoft.com/netframework/technologyinfo/infrastructure/tuning/default.aspx&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; mso-bidi-font-weight: bold"&gt;For further discussion about the serialization issue &lt;/SPAN&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;A href="http://msdn.microsoft.com/msdnmag/issues/05/09/SessionState/Default.aspx" target=_blank&gt;&lt;FONT color=#003399&gt;http://msdn.microsoft.com/msdnmag/issues/05/09/SessionState/Default.aspx&lt;/FONT&gt;&lt;/A&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt; &lt;P class=MsoNormal style="MARGIN: 5pt 0in; mso-layout-grid-align: none"&gt;&lt;SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;p&gt; 		&lt;hr size=1&gt;Yahoo! for Good&lt;br&gt;  &lt;a href="http://store.yahoo.com/redcross-donate3/"&gt;Click here to donate&lt;/a&gt; to the Hurricane Katrina relief effort.  &lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112681870352168412?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112681870352168412/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112681870352168412' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112681870352168412'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112681870352168412'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/09/aspnet-session-state-management.html' title='ASP.NET Session State Management'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112480145706551395</id><published>2005-08-23T17:50:00.000+05:00</published><updated>2005-08-23T17:50:57.080+05:00</updated><title type='text'>XML Schema Validator</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;This is extremely trivial XML Schema Validator; I just needed to verify my XML against a Schema File. Very simple code but maybe helpful to someone.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System.Xml;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System.IO;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;using&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; System.Xml.Schema;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;namespace&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; XmlConsole&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=gray&gt;&lt;span style='color:gray'&gt;///&lt;/span&gt;&lt;/font&gt;&lt;font color=green&gt;&lt;span style='color:green'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font color=gray&gt;&lt;span style='color:gray'&gt;&amp;lt;summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=gray&gt;&lt;span style='color:gray'&gt;///&lt;/span&gt;&lt;/font&gt;&lt;font color=green&gt;&lt;span style='color:green'&gt; Summary description for Class1.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=gray&gt;&lt;span style='color:gray'&gt;///&lt;/span&gt;&lt;/font&gt;&lt;font color=green&gt;&lt;span style='color:green'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font color=gray&gt;&lt;span style='color:gray'&gt;&amp;lt;/summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;class&lt;/span&gt;&lt;/font&gt; Class1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;int&lt;/span&gt;&lt;/font&gt; errors = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=gray&gt;&lt;span style='color:gray'&gt;///&lt;/span&gt;&lt;/font&gt;&lt;font color=green&gt;&lt;span style='color:green'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font color=gray&gt;&lt;span style='color:gray'&gt;&amp;lt;summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=gray&gt;&lt;span style='color:gray'&gt;///&lt;/span&gt;&lt;/font&gt;&lt;font color=green&gt;&lt;span style='color:green'&gt; The main entry point for the application.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=gray&gt;&lt;span style='color:gray'&gt;///&lt;/span&gt;&lt;/font&gt;&lt;font color=green&gt;&lt;span style='color:green'&gt; &lt;/span&gt;&lt;/font&gt;&lt;font color=gray&gt;&lt;span style='color:gray'&gt;&amp;lt;/summary&amp;gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [STAThread]&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; &lt;st1:place w:st="on"&gt;Main&lt;/st1:place&gt;(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;try&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;// The Source XML File&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlTextReader xtr = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; XmlTextReader(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;C:\\devresult.xml&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; XmlValidatingReader reader = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; XmlValidatingReader(xtr);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.ValidationType = ValidationType.Schema;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;// The Path of the XML Schema File against which the Validation is to be made.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;// you can add more than one Files by using reader.Schemas.Add()&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.Schemas.Add(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;null&lt;/span&gt;&lt;/font&gt;,&lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; XmlTextReader(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;@&amp;quot;E:\Schema.xsd&amp;quot;&lt;/span&gt;&lt;/font&gt;));&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.ValidationEventHandler += &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; ValidationEventHandler(reader_ValidationEventHandler);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;while&lt;/span&gt;&lt;/font&gt;(reader.Read());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; xtr.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.Close();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;if&lt;/span&gt;&lt;/font&gt;(errors == 0)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Console.WriteLine(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Validation Successfull&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;else&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Console.WriteLine(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Validation Failed&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Console.ReadLine();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;catch&lt;/span&gt;&lt;/font&gt;(Exception exp)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Console.WriteLine(exp.Message);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; errors ++;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; reader_ValidationEventHandler(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;object&lt;/span&gt;&lt;/font&gt; sender, ValidationEventArgs e)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.Console.WriteLine(e.Message);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112480145706551395?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112480145706551395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112480145706551395' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112480145706551395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112480145706551395'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/08/xml-schema-validator.html' title='XML Schema Validator'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112435963153820046</id><published>2005-08-18T15:07:00.000+05:00</published><updated>2005-08-18T15:07:11.546+05:00</updated><title type='text'>Parameter Passing Quiz :)</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;Ok, again posting after a long time. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;Predict the output of the following code, the contains 3 sets of function calls, each set contains one call by value and one by reference, but the object being passed everytime is a reference type. It is recommended that you do not run the code, just predict the output.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;b&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; font-weight:bold'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;b&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; font-weight:bold'&gt;StringBuilder &lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;used in the code is a class and is a reference type.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;Also explain your answers.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;class&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; Class1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;static&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; &lt;st1:place w:st="on"&gt;Main&lt;/st1:place&gt;(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; StringBuilder str;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;// Set 1&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Types&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrazyFunction1(str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(str.ToString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Types&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrazyFunction2(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;ref&lt;/span&gt;&lt;/font&gt; str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(str.ToString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;// Set 2&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Types&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrazyFunction3(str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(str.ToString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Types&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrazyFunction4(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;ref&lt;/span&gt;&lt;/font&gt; str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(str.ToString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=green&gt;&lt;span style='color:green'&gt;//Set 3&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Types&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrazyFunction5(str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(str.ToString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; str = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;Types&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; CrazyFunction6(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;ref&lt;/span&gt;&lt;/font&gt; str);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(str.ToString());&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.ReadLine();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; CrazyFunction1(StringBuilder x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;null&lt;/span&gt;&lt;/font&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; CrazyFunction2(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;ref&lt;/span&gt;&lt;/font&gt; StringBuilder x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in;text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;null&lt;/span&gt;&lt;/font&gt;;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; CrazyFunction3(StringBuilder x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x.Append(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot; are crazy&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; CrazyFunction4(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;ref&lt;/span&gt;&lt;/font&gt; StringBuilder x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x.Append(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot; are crazy&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; CrazyFunction5(StringBuilder x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;crazy&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;private&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;static&lt;/span&gt;&lt;/font&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; CrazyFunction6(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;ref&lt;/span&gt;&lt;/font&gt; StringBuilder x)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x = &lt;font color=blue&gt;&lt;span style='color:blue'&gt;new&lt;/span&gt;&lt;/font&gt; StringBuilder(&lt;font color=maroon&gt;&lt;span style='color:maroon'&gt;&amp;quot;crazy&amp;quot;&lt;/span&gt;&lt;/font&gt;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-autospace:none'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;}&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112435963153820046?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112435963153820046/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112435963153820046' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112435963153820046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112435963153820046'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/08/parameter-passing-quiz.html' title='Parameter Passing Quiz :)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112144826020732974</id><published>2005-07-15T22:24:00.000+05:00</published><updated>2005-07-15T22:24:20.243+05:00</updated><title type='text'>History of Programming Languages Chart</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I lost this link before, so I am posting this so I can remember it.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Very Comprehensive Programming Languages History Chart&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;a href="http://www.levenez.com/lang/history.html" title="http://www.levenez.com/lang/history.html"&gt;http://www.levenez.com/lang/history.html&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112144826020732974?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112144826020732974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112144826020732974' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112144826020732974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112144826020732974'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/07/history-of-programming-languages-chart.html' title='History of Programming Languages Chart'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-112005491482213172</id><published>2005-06-29T19:21:00.000+05:00</published><updated>2005-06-29T19:21:54.836+05:00</updated><title type='text'>RFID (Radio Frequency Identification)</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I happened to read about the &lt;b&gt;&lt;span style='font-weight:bold'&gt;RFID &lt;/span&gt;&lt;/b&gt;today, an amazing technology indeed. RIFD stands for Radio Frequency Identification, it is a technology used for identifying things/objects/people using the radio signals transmitted by the objects. An RFID setup consists of RFID transponders or RFID tags which are tagged on each object like the bar codes tagged to the items. An RFID transponder is a small microchip with a very small antenna; this RFID transponder contains the information about the object and can communicate this information when queried. An RFID transceiver is used to query the transponders attached to each object in a specific area. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;RFID Technology will have impact on various industries, most importantly it will affect the Supply Chain Management, the entire process of movement of goods from suppliers to warehouses and then to stores can be automated and each object can be tracked and its information can be collected at any stage, without the need of counting the objects or passing them through any type of readers. The items will automatically update the warehouse computers when they reach the warehouse.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;RFID will ultimately replace the BarCode technology, but it is a little expensive at the moment. Large Supply Chain giant like the &lt;b&gt;&lt;span style='font-weight:bold'&gt;Wal-Mart&lt;/span&gt;&lt;/b&gt; have already started implanting the technology. Large technology giants like Microsoft, IBM, Sun, and Oracle etc are all supporting the RFID in their products and pushing businesses to implement RFID solutions with lower costs.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;Another interesting area where RFID is already being used is the &lt;b&gt;&lt;span style='font-weight:bold'&gt;ETC &lt;/span&gt;&lt;/b&gt;(Electronic Tool Collection), each car is tagged with an RFID transponder, when a car is passed through a Toll Post, and RFID Transceiver at the post queries the car information and information of the user credit card from the transponder in each car. It then debits the credit card with the tool amount without opening a single window even without stopping the car. &amp;nbsp;Amazing ! isn&amp;#8217;t it, just like in the movies &lt;/span&gt;&lt;/font&gt;&lt;font face=Wingdings&gt;&lt;span style='font-family:Wingdings'&gt;J&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;You can read about RFID here &lt;a href="http://en.wikipedia.org/wiki/RFID"&gt;http://en.wikipedia.org/wiki/RFID&lt;/a&gt; and here &lt;a href="http://www.microsoft.com/business/rfidlanding.mspx"&gt;http://www.microsoft.com/business/rfidlanding.mspx&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;I have been inspired by the &lt;b&gt;&lt;span style='font-weight:bold'&gt;WebServices&lt;/span&gt;&lt;/b&gt; a few years ago when I first read about them and I have equally inspired by this entire &lt;b&gt;&lt;span style='font-weight:bold'&gt;RFID &lt;/span&gt;&lt;/b&gt;concept. The reason is that you can think of unlimited prospects and scenarios in which these can be used or implemented. These technologies are undoubtedly the &lt;b&gt;&lt;span style='font-weight:bold'&gt;&amp;#8220;Way to the Future&amp;#8221;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=3 face="Times New Roman"&gt;&lt;span style='font-size: 12.0pt'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-112005491482213172?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/112005491482213172/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=112005491482213172' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112005491482213172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/112005491482213172'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/06/rfid-radio-frequency-identification.html' title='RFID (Radio Frequency Identification)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111942744508801834</id><published>2005-06-22T13:04:00.000+05:00</published><updated>2005-06-22T13:04:05.103+05:00</updated><title type='text'>Using WMI in .NET</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;Finally posting after so many days &lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Wingdings&gt;&lt;span style='font-size:10.0pt;font-family:Wingdings'&gt;J&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;Recently, I had to work with the WMI (&lt;/span&gt;&lt;/font&gt;Windows Management Instrumentation&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;) and its support in the .NET. I had to evaluate all the services running in the System and other information related to the processor etc. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;WMI is a really wonderful API to use but is mysterious about its working, but Win32 API&amp;#8217;s are always mysterious. You don&amp;#8217;t know what is happening and how? All you get from the MSDN is the info about how to use them with an ordinary code example which in most cases is not useful at all and doesn&amp;#8217;t seem to explain anything.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;So here is a little code in .NET&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;static&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;void&lt;/span&gt;&lt;/font&gt; &lt;st1:place w:st="on"&gt;Main&lt;/st1:place&gt;(&lt;font color=blue&gt;&lt;span style='color:blue'&gt;string&lt;/span&gt;&lt;/font&gt;[] args)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;System.Management.ManagementObjectSearcher searcher = &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in'&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"; color:blue'&gt;new&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt; ManagementObjectSearcher&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal style='text-indent:.5in'&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New"'&gt;(&amp;quot;SELECT * FROM Win32_SystemProcesses&amp;quot;);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;foreach&lt;/span&gt;&lt;/font&gt; (ManagementObject service &lt;font color=blue&gt;&lt;span style='color:blue'&gt;in&lt;/span&gt;&lt;/font&gt; searcher.Get()) &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;font color=blue&gt;&lt;span style='color:blue'&gt;foreach&lt;/span&gt;&lt;/font&gt;(System.Management.PropertyData pData &lt;font color=blue&gt;&lt;span style='color:blue'&gt;in&lt;/span&gt;&lt;/font&gt; service.Properties)&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.WriteLine(pData.Name + &amp;quot; = &amp;quot; + pData.Value);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Console.ReadLine();&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face="Courier New"&gt;&lt;span style='font-size:10.0pt; font-family:"Courier New"'&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;This code lists all the attribute names and their values associated with a typical WMI class. You can replace other WMI Classes available with the &lt;b&gt;&lt;span style='font-weight:bold'&gt;Win32_SystemProcesses &lt;/span&gt;&lt;/b&gt;in the above code to obtain other information. There are a number of WMI classes Win32_SystemBIOS, Win32_SystemDesktop, Win32_Processor and many others.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111942744508801834?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111942744508801834/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111942744508801834' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111942744508801834'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111942744508801834'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/06/using-wmi-in-net.html' title='Using WMI in .NET'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111693661938384891</id><published>2005-05-24T17:10:00.000+05:00</published><updated>2005-08-24T02:08:10.170+05:00</updated><title type='text'>Microsoft Interview Process :)</title><content type='html'>&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/MS_Interviews1.jpg"&gt;&lt;img style="DISPLAY: block; MARGIN: 0px auto 10px; CURSOR: hand; TEXT-ALIGN: center" alt="" src="http://photos1.blogger.com/blogger/5121/1084/400/MS_Interviews.jpg" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;a href="http://photos1.blogger.com/blogger/5121/1084/1600/MS_Interviews.jpg"&gt;&lt;/a&gt;&lt;br /&gt;&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;The Interviews with Microsoft were like this &lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Wingdings;font-size:85%;"&gt;&lt;span style="font-family:Wingdings;font-size:10;"&gt;J&lt;/span&gt;&lt;/span&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;I found this and tweaked it a little to show the MS Interview Process … .lol&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Bye !&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Times New Roman;font-size:100%;"&gt;&lt;span style="font-size:12;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111693661938384891?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111693661938384891/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111693661938384891' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111693661938384891'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111693661938384891'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/microsoft-interview-proces_111693661938384891.html' title='Microsoft Interview Process :)'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111659381359350136</id><published>2005-05-20T17:56:00.000+05:00</published><updated>2005-05-20T17:56:53.596+05:00</updated><title type='text'>Setting SeDebugPrivilige in .NET</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;It is really amazing how the .NET Framework has made the development tasks easier. The Framework Class Library is undoubtedly an extremely rich set of API&amp;#8217;s. I wanted to &lt;b&gt;&lt;span style='font-weight: bold'&gt;dump the entire address space&lt;/span&gt;&lt;/b&gt; of any process. So, I thought of doing a small Dump Tool in the free time which I get occasionally in the evenings or on weekends. I&amp;#8217;ll post the complete code when it&amp;#8217;s complete.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;Anyway I wrote the following C++ code to get &lt;font color=blue&gt;&lt;span style='color:blue'&gt;SeDebugPrivilige &lt;/span&gt;&lt;/font&gt;&lt;font color=black&gt;&lt;span style='color:black'&gt;for a process. SeDebugPrivilige allows any process to access memory and other information of operating system processes which you do not have access to otherwise.&lt;/span&gt;&lt;/font&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;BOOL CTaskManagerDlg::SetPrivilege()&lt;/span&gt;&lt;/font&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt;font-family:Arial'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;{&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; HANDLE hToken;&lt;br&gt; &amp;nbsp;&amp;nbsp; TOKEN_PRIVILEGES tp;&lt;br&gt; &amp;nbsp;&amp;nbsp; LUID luid;&lt;br&gt; &amp;nbsp;&amp;nbsp; TOKEN_PRIVILEGES tpPrevious;&lt;br&gt; &amp;nbsp;&amp;nbsp; DWORD cbPrevious=sizeof(TOKEN_PRIVILEGES);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; if(!OpenProcessToken(::GetCurrentProcess(),&lt;br&gt; &amp;nbsp;&amp;nbsp; TOKEN_ADJUST_PRIVILEGES|TOKEN_QUERY,&amp;amp;hToken))&lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return FALSE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; if(!LookupPrivilegeValue( NULL, SE_DEBUG_NAME, &amp;amp;luid )) &lt;br&gt; &amp;nbsp; &amp;nbsp;&amp;nbsp; return FALSE;&lt;br&gt; &amp;nbsp;&amp;nbsp; tp.PrivilegeCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1;&lt;br&gt; &amp;nbsp;&amp;nbsp; tp.Privileges[0].Luid&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = luid;&lt;br&gt; &amp;nbsp;&amp;nbsp; tp.Privileges[0].Attributes = 0;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; AdjustTokenPrivileges(hToken,FALSE,&amp;amp;tp,&lt;br&gt; &amp;nbsp;&amp;nbsp; sizeof(TOKEN_PRIVILEGES),&amp;amp;tpPrevious,&amp;amp;cPrevious);&lt;br&gt; &amp;nbsp;&amp;nbsp; if (GetLastError() != ERROR_SUCCESS) &lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return FALSE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; tpPrevious.PrivilegeCount&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; = 1;&lt;br&gt; &amp;nbsp;&amp;nbsp; tpPrevious.Privileges[0].Luid&amp;nbsp;&amp;nbsp; = luid;&lt;br&gt; &amp;nbsp;&amp;nbsp; tpPrevious.Privileges[0].Attributes|=(SE_PRIVILEGE_ENABLED);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; AdjustTokenPrivileges(hToken,FALSE, &amp;amp;tpPrevious,cbPrevious, &lt;br&gt; &amp;nbsp;&amp;nbsp; NULL,NULL);&lt;br&gt; &amp;nbsp;&amp;nbsp; if (GetLastError() != ERROR_SUCCESS) &lt;br&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return FALSE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&amp;nbsp;&amp;nbsp; CloseHandle(hToken);&lt;br&gt; &amp;nbsp;&amp;nbsp; return TRUE;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;}&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:black'&gt;This code has been taken mostly from the MSDN Article &lt;/span&gt;&lt;/font&gt;&lt;b&gt;&lt;font size=2 face=Verdana&gt;&lt;span style='font-size: 10.0pt;font-family:Verdana;font-weight:bold'&gt;Article ID: Q131065&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;b&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:black;font-weight:bold'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:black'&gt;To do all this from C# you just need to call a simple function &lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=black face=Wingdings&gt;&lt;span style='font-size:10.0pt;font-family:Wingdings;color:black'&gt;J&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:black'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;b&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue;font-weight:bold'&gt;System.Diagnostics.Process.EnterDebugMode();&lt;/span&gt;&lt;/font&gt;&lt;/b&gt;&lt;font size=2 color=black face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:black'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:black'&gt;Yes ! Its that easy. The Base Class Library is quite rich but you only have to find the things. However, I still could not find the equivalent of Functions from the native &lt;b&gt;&lt;span style='font-weight:bold'&gt;ToolHelp32 &lt;/span&gt;&lt;/b&gt;library defined in the Kernel32.dll. So, I have to write a complete &lt;b&gt;&lt;span style='font-weight:bold'&gt;PInvoke &lt;/span&gt;&lt;/b&gt;wrapper for that. I will post the complete code on the weekend.&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family: "Courier New";color:blue'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 color=black face=Arial&gt;&lt;span style='font-size: 10.0pt;font-family:Arial;color:black'&gt;Can anyone tell me where to find .NET Equivalents of &lt;a name=base.createtoolhelp32snapshot&gt;&lt;/a&gt;&amp;nbsp;ToolHelp32 Functions ?&lt;/span&gt;&lt;/font&gt;&lt;font size=2 color=blue face="Courier New"&gt;&lt;span style='font-size:10.0pt;font-family:"Courier New";color:blue'&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;o:p&gt;&amp;nbsp;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111659381359350136?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111659381359350136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111659381359350136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111659381359350136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111659381359350136'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/setting-sedebugprivilige-i_111659381359350136.html' title='Setting SeDebugPrivilige in .NET'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111609931147837173</id><published>2005-05-15T00:17:00.000+05:00</published><updated>2005-05-15T00:35:11.483+05:00</updated><title type='text'>I got a new System</title><content type='html'>Today I bought a new System. Pentium-IV 3.0 GHz and 17" LG Flatron Monitor :). Now I have two systems on my desktop. A Linux machine and a Windows machine. I am really anxious for checking out the New Team Foundation Server that I have recently recieved. Microsoft is Sending a Free 4 DVD Pack containing the Visual Studio 2005 Beta, Team Foundation Server and SQL Server 2005 (YUKON) with another DVD with some learning material. You can register too From the MSDN Visual Studio Developer Center. &lt;br /&gt;&lt;br /&gt;Just installing a few softwares. I usually have a lot of softwares on board... and I've to transfer 50 GB of data too .... so its gonna take the night today, but tomorrow is a Sunday anyway......&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111609931147837173?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111609931147837173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111609931147837173' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111609931147837173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111609931147837173'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/i-got-new-system.html' title='I got a new System'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111580186850605478</id><published>2005-05-11T13:54:00.000+05:00</published><updated>2005-05-11T14:03:38.586+05:00</updated><title type='text'>Fun With Equality</title><content type='html'>&lt;span style="font-family:courier new;"&gt;Brad Abrams Posted a small &lt;a href="http://blogs.msdn.com/brada/archive/2005/04/03/405118.aspx"&gt;Equality Quiz&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;Its just 10 min but it was fun. Here are my answers (Try yoursellf first)&lt;br /&gt;&lt;span style="color:#3333ff;"&gt;public static void Question1()&lt;br /&gt;{&lt;br /&gt;int x = 10;&lt;br /&gt;long y = 10;&lt;br /&gt;Console.WriteLine(x==y &amp;&amp;amp; !x.Equals(y));&lt;br /&gt;}&lt;br /&gt;public static void Question2()&lt;br /&gt;{&lt;br /&gt;object x = 10;&lt;br /&gt;object y = 10;&lt;br /&gt;Console.WriteLine(x!=y &amp;&amp;amp; x.Equals(y));&lt;br /&gt;}&lt;br /&gt;public static void Question3()&lt;br /&gt;{&lt;br /&gt;object x = new object();&lt;br /&gt;int y = 10;&lt;br /&gt;Console.WriteLine(x==y);&lt;br /&gt;}&lt;br /&gt;public static void Question4()&lt;br /&gt;{&lt;br /&gt;int x = 10;&lt;br /&gt;int y = 10;&lt;br /&gt;Console.WriteLine(x == y &amp;&amp;amp;amp; (object)x!=(object)y);&lt;br /&gt;}&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111580186850605478?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111580186850605478/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111580186850605478' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111580186850605478'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111580186850605478'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/fun-with-equality.html' title='Fun With Equality'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111579888688363758</id><published>2005-05-11T13:02:00.000+05:00</published><updated>2005-05-11T13:08:06.890+05:00</updated><title type='text'>Microsoft Puzzle/Analytical Questions</title><content type='html'>&lt;p&gt;&lt;span style="font-size:85%;"&gt;Ok! I said I’ll be sharing some of the MS Interview experience. For the preparation of the interview we (with my other friends) searched various resources on the internet. I even purchased an e-book but it didn’t turn out to be helpful. Generally there are three types of questions in an MS Interview. Analytical/Puzzles, Algorithms/Coding and Personality. We collected various questions in these categories.&lt;br /&gt;&lt;br /&gt;Following are some of the Logical/Analytical questions generally asked at MS. There are a lot of questions but the following are the most common and are mentioned by various people who have been through the interviews. Frankly, before the interview I thought that this was some good set of questions but they will not ask these questions which you find so easily on the internet, or probably these questions are too old, but they do ask these questions repeatedly and sometimes they even know that you have done this question before but just to observe your reaction.&lt;br /&gt;&lt;br /&gt;Anyway, even I got atleast 5-6 questions from the following set. It’s a good exercise, I’ll see if I get some time to post the answers to these over the next weekend. Wait for Coding/Algorithm questions in future posts. &lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span style="font-size:85%;"&gt;&lt;strong&gt;Logical/Puzzles Questions Usually Asked at Microsoft&lt;/strong&gt; &lt;/span&gt;&lt;/p&gt;&lt;ol&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Why is a manhole cover round? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If you had an infinite supply of water and a 5 quart and 3 quart pail, how would you measure exactly 4 quarts? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;You have 5 jars of pills. Each pill weighs 10 gram, except for contaminated pills contained in one jar, where each pill weighs 9 gm. Given a scale, how could you tell which jar had the contaminated pills in just one measurement? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If you are on a boat and you throw out a suitcase, will the level of water increase or decrease? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;How many times a day a clock's hands overlap? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;One train leaves Los Angeles at 15mph heading for New York. Another train leaves from New York at 20mph heading for Los Angeles on the same track. If a bird, flying at 25mph, leaves from Los Angeles at the same time as the train and flies back and forth between the two trains until they collide, how far will the bird have traveled? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There are 3 ants at 3 corners of a triangle; they randomly start moving towards another corner. What is the probability that they don't collide? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If you look at a clock and the time is 3:15, what is the angle between the hour and the minute hands? (The answer to this is not zero!) &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;How would you weigh a plane without using scales &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Why are beer cans tapered at the top and bottom? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;You have 8 balls. One of them is defective and weighs less than others. You have a balance to measure balls against each other. In 2 weighings how do you find the defective one? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There are 3 baskets. one of them have apples, one has oranges only and the other has mixture of apples and oranges. The labels on their baskets always lie. (i.e. if the label says oranges, you are sure that it doesn’t have oranges only,it could be a mixture) The task is to pick one basket and pick only one fruit from it and then correctly label all the three baskets. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Given a rectangular (cuboidal for the puritans) cake with a rectangular piece removed (any size or orientation), how would you cut the remainder of the cake into two equal halves with one straight cut of a knife? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;If you have two buckets, one with red paint and the other with blue paint, and you take one cup from the blue bucket and poor it into the red bucket. Then you take one cup from the red bucket and poor it into the blue bucket. Which bucket has the highest ratio between red and blue? Prove it mathematically. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;You have a bucket of jelly beans. Some are red, some are blue, and some green. With your eyes closed, pick out 2 of a like color. How many do you have to grab to be sure you have 2 of the same? &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;You are given a scale which you are to use to measure eight balls. Seven of these balls have the same weight: the eigth ball is heavier than the rest. What is the minimum number of weighs you could perform to find the heaviest of the eight balls?. &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;Pairs of primes separated by a single number are called prime pairs. Examples are 17 and 19. Prove that the number between a prime pair is always divisible by 6 (assuming both numbers in the pair are greater than 6). Now prove that there are no 'prime triples.' &lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There is a room with a door (closed) and three light bulbs. Outside the room there are three switches, connected to the bulbs. You may manipulate the switches as you wish, but once you open the door you can't change them. Identify each switch with its bulb.&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-size:85%;"&gt;There are 4 women who want to cross a bridge. They all begin on the same side. You have 17 minutes to get all of them across to the other side. It is night. There is one flashlight. A maximum of two people can cross at one time. Any party who crosses, either 1 or 2 people, must have the flashlight with them. The flashlight must be walked back and forth, it cannot be thrown, etc. Each woman walks at a different speed. A pair must walk together at the rate of the slower woman's pace.&lt;br /&gt;Woman 1: 1 minute to cross&lt;br /&gt;Woman 2: 2 minutes to cross&lt;br /&gt;Woman 3: 5 minutes to cross&lt;br /&gt;Woman 4: 10 minutes to cross&lt;br /&gt;For example if Woman 1 and Woman 4 walk across first, 10 minutes have elapsed when they get to the other side of the bridge. If Woman 4 then returns with the flashlight, a total of 20 minutes have passed and you have failed the mission. What is the order required to get all women across in 17 minutes? Now, what's the other way?&lt;br /&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111579888688363758?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111579888688363758/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111579888688363758' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111579888688363758'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111579888688363758'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/microsoft-puzzleanalytical-questions.html' title='Microsoft Puzzle/Analytical Questions'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111538278572902673</id><published>2005-05-06T17:33:00.000+05:00</published><updated>2005-05-06T17:33:05.733+05:00</updated><title type='text'>The C# Design Process</title><content type='html'>&lt;div class=Section1&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;There is a good discussion available on MSDN with &amp;#8220;Anders Hejlsberg&amp;#8221;, the lead Architect of C# language. The discussion focuses on various new features in C# and their comparison with C++ and Java, like Generics in C#, Checked and Un-Checked exceptions and other topics. It&amp;#8217;s a useful reading.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;p class=MsoNormal&gt;&lt;font size=2 face=Arial&gt;&lt;span style='font-size:10.0pt; font-family:Arial'&gt;&lt;a href="http://msdn.microsoft.com/vcsharp/homepageheadlines/hejlsberg/" title="http://msdn.microsoft.com/vcsharp/homepageheadlines/hejlsberg/"&gt;http://msdn.microsoft.com/vcsharp/homepageheadlines/hejlsberg/&lt;/a&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/font&gt;&lt;/p&gt;  &lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111538278572902673?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111538278572902673/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111538278572902673' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111538278572902673'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111538278572902673'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/c-design-process.html' title='The C# Design Process'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111529089160038214</id><published>2005-05-05T16:01:00.000+05:00</published><updated>2006-06-20T00:23:12.900+05:00</updated><title type='text'>Exception in System.Drawing.dll</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;tt&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;There is a small problem with System.Drawing.dll in VS.NET 2003. Sometimes you get an Arithmetic Exception and the program is terminated. If u get this &lt;b&gt;&lt;span style="FONT-WEIGHT: bold"&gt;"Arithmetic Exception"&lt;/span&gt;&lt;/b&gt; in System.Drawing.dll, then there must be some spy software or some virus installed on your system which has hooked the system and changed the FPU (FloatingPoint Unit value) for all the processes.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;tt&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;To Set the FPU value to dafault u can use _controlfp() function defined in "msvcrt.dll". This is a native function, to call this function in C# u will have to use .NET Runtime Interop Services. To do this add the following lines of code to your Form class &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;tt&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-size:10;"&gt;[DllImport("msvcrt.dll")]&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Courier New;"&gt;private static extern int _controlfp(int n, int mask);&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Courier New;"&gt;private const int _MCW_EW = 0x8001F;&lt;/span&gt;&lt;/tt&gt;&lt;br /&gt;&lt;tt&gt;&lt;span style="font-family:Courier New;"&gt;private const int _EM_INVALID = 0x10;&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:0;"&gt;&lt;span style="font-size:0;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;tt&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Now call this function at the start of your form constructor&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;tt&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-size:10;"&gt;_controlfp(_MCW_EW, _EM_INVALID);&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;tt&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-size:10;"&gt;The FPU value is now set to default and you will not get any&lt;/span&gt;&lt;/span&gt;&lt;/tt&gt;&lt;span style="font-family:Courier New;font-size:85%;"&gt;&lt;span style="font-family:'Courier New';font-size:10;"&gt; &lt;tt&gt;&lt;span style="font-family:Courier New;"&gt;Exception in system.Drawing.dll&lt;/span&gt;&lt;/tt&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111529089160038214?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111529089160038214/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111529089160038214' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111529089160038214'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111529089160038214'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/exception-in-systemdrawingdll_05.html' title='Exception in System.Drawing.dll'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-12667630.post-111529055306200250</id><published>2005-05-05T15:55:00.000+05:00</published><updated>2005-05-06T00:10:16.460+05:00</updated><title type='text'>Finally I am OnAir</title><content type='html'>&lt;div class="Section1"&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Ohh ! Finally my Blog is set. For the last one month I have been trying to setup my Blog. In the process I went through various Blogging Engines. I downloaded and setup &lt;a title="http://www.communityserver.org/" href="http://www.communityserver.org/"&gt;Community Server&lt;/a&gt; on my local machine and explored it a little. It was interesting to know that &lt;a title="http://blogs.msdn.com/" href="http://blogs.msdn.com/"&gt;MSDN Blogs&lt;/a&gt; is also using the &lt;a title="http://www.communityserver.org/" href="http://www.communityserver.org/"&gt;Community Server&lt;/a&gt;.&lt;?xml:namespace prefix = o /&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;On this Blog I will be sharing my personal experiences/learning and all the stuff that I go through the internet. I’ll try to keep up with the posts, queries and comments. My prime focus these days is .NET Framework/C# and Longhorn, so I think I’ll be saying things about that.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="MsoNormal"&gt;&lt;span style="font-family:Arial;font-size:85%;"&gt;&lt;span style="font-family:Arial;font-size:10;"&gt;Recently, I had the experience of being interviewed by Microsoft. Though, I could not get through but reaching the final step, going on a sponsored trip to &lt;?xml:namespace prefix = st1 /&gt;&lt;st1:place st="on"&gt;&lt;st1:city st="on"&gt;Dubai&lt;/st1:city&gt;&lt;/st1:place&gt; and then having those 4 final interviews with some of top guys at Microsoft was an experience of a lifetime. I’ll try to share that also in the coming days.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/12667630-111529055306200250?l=abdulaleemkhan.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://abdulaleemkhan.blogspot.com/feeds/111529055306200250/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=12667630&amp;postID=111529055306200250' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111529055306200250'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/12667630/posts/default/111529055306200250'/><link rel='alternate' type='text/html' href='http://abdulaleemkhan.blogspot.com/2005/05/finally-i-am-onair_05.html' title='Finally I am OnAir'/><author><name>Abdul Aleem</name><uri>http://www.blogger.com/profile/14102642005953747820</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
