<?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-13334167</id><updated>2011-11-27T19:41:23.257-05:00</updated><category term='LINQ'/><category term='Technical'/><category term='Kindle'/><category term='Managed Services'/><category term='ACM'/><category term='Thunderbird'/><category term='VS.NET'/><category term='VirtualBox'/><category term='Windows Services'/><category term='Windows'/><category term='Virtualization'/><category term='T-SQL'/><category term='Programming'/><category term='.NET'/><category term='ASP.NET'/><category term='Transactions'/><title type='text'>A Bug's Life</title><subtitle type='html'>This blog is all about me and my interesting encounters with .NET programming, design patterns, software architecture, and life in general.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>38</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-13334167.post-691138235425109538</id><published>2011-09-24T11:29:00.000-04:00</published><updated>2011-09-24T11:31:38.860-04:00</updated><title type='text'>How to Pin Cygwin Bash Shell to Taskbar and Start Menu in Windows 7</title><content type='html'>&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;
Cygwin is a collection of tools which provide a Linux look and feel environment for Window mainly via the Bash shell. I love it because it gives me the ability to use my Bash skills in Windows. Details of the project can be found at &lt;a href="http://www.cygwin.com/"&gt;http://www.cygwin.com/&lt;/a&gt;. &lt;br /&gt;
&lt;br /&gt;
After you install the project on Windows 7, you'd typically want to pin the "Cygwin Bash Shell" launcher (link) either to the Taskbar or Start Menu (or both).&amp;nbsp;However, when you right-click the icon to do so, you'll notice none of the said options are available.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://4.bp.blogspot.com/-l__Tt5wHvGo/Tn3x0qq8sNI/AAAAAAAAASk/DpGoafks284/s1600/No+Pin+To+Taskbar+and+Pint+To+Start+Menu+Option.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="220" src="http://4.bp.blogspot.com/-l__Tt5wHvGo/Tn3x0qq8sNI/AAAAAAAAASk/DpGoafks284/s320/No+Pin+To+Taskbar+and+Pint+To+Start+Menu+Option.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
At the very least, you'd expect that the launcher would make it into the "frequently used programs" list of the Start Menu, assuming you use it frequently like I do. But you'll be disappointed here too as that never happens regardless of how frequently you use the program.&lt;br /&gt;
&lt;br /&gt;
The issue is the specified target for the launcher. If you right-click the Cygwin Bash Shell launcher, and select Properties, here's what you get.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-uYxERSow6as/Tn3yoIod8jI/AAAAAAAAASs/uEJLTCvPFC8/s1600/Cygwin+Bash+Shell+Properties+with+Default+Target.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-uYxERSow6as/Tn3yoIod8jI/AAAAAAAAASs/uEJLTCvPFC8/s320/Cygwin+Bash+Shell+Properties+with+Default+Target.png" width="231" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
As highlighted in the image above, because the target is a batch (.bat)&amp;nbsp;file, Windows doesn't give you options to pin it to the Taskbar and Start Menu in addition to not listing it as a frequently used program. &lt;br /&gt;
&lt;br /&gt;
Luckily, the solution is simple. All you need to do is enter the following in Target: and click OK.&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;%comspec% /K "C:\cygwin\Cygwin.bat"&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Of course, I am assuming that you've installed Cygwin to the default&amp;nbsp;location, i.e.,&amp;nbsp;C:\cygwin. If you've installed it to&amp;nbsp;a different location, you'll need to update the path accordingly. After you're done, properties of the launcher should look like the following:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://1.bp.blogspot.com/-7RXTuXyC-bs/Tn3zcf_C6tI/AAAAAAAAASw/aWqzpn4AREc/s1600/Cygwin+Bash+Shell+Properties+with+Updated+Target.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://1.bp.blogspot.com/-7RXTuXyC-bs/Tn3zcf_C6tI/AAAAAAAAASw/aWqzpn4AREc/s320/Cygwin+Bash+Shell+Properties+with+Updated+Target.png" width="231" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Now if you right click the launcher again, you'll see that you can pin it to the Taskbar and Start Menu. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-KLpyry82MAA/Tn32AU1zP9I/AAAAAAAAAS0/eAaUM7cIS1g/s1600/Pin+To+Taskbar+and+Pint+To+Start+Menu+Option+Available.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="180" src="http://2.bp.blogspot.com/-KLpyry82MAA/Tn32AU1zP9I/AAAAAAAAAS0/eAaUM7cIS1g/s320/Pin+To+Taskbar+and+Pint+To+Start+Menu+Option+Available.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Not only that,&amp;nbsp;Windows will now list the program as a frequently used one, if you use it frequently, giving you direct access to its launcher for quick access. &lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;
&lt;a href="http://2.bp.blogspot.com/-bIs1BltZxSw/Tn32xcI1u8I/AAAAAAAAAS4/SJKtkegmQac/s1600/Cygwin+Bash+Shell+Listed+on+Start+Menu.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="320" src="http://2.bp.blogspot.com/-bIs1BltZxSw/Tn32xcI1u8I/AAAAAAAAAS4/SJKtkegmQac/s320/Cygwin+Bash+Shell+Listed+on+Start+Menu.png" width="266" /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Hope that helps.&lt;br /&gt;
&lt;br /&gt;
Cheers!&lt;/div&gt;
&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-691138235425109538?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/691138235425109538/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=691138235425109538' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/691138235425109538'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/691138235425109538'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2011/09/how-to-pin-cygwin-bash-shell-to-taskbar.html' title='How to Pin Cygwin Bash Shell to Taskbar and Start Menu in Windows 7'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://4.bp.blogspot.com/-l__Tt5wHvGo/Tn3x0qq8sNI/AAAAAAAAASk/DpGoafks284/s72-c/No+Pin+To+Taskbar+and+Pint+To+Start+Menu+Option.png' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-5672606867952756099</id><published>2010-11-08T19:10:00.001-05:00</published><updated>2010-11-08T19:10:33.102-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows'/><title type='text'>Windows 7 Shortcuts</title><content type='html'>Here's a handy list of Windows 7 shortcuts that you'll love:&lt;br /&gt;
&lt;br /&gt;
&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;"&gt;Window Management Shortcuts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;The full list of keyboard shortcuts includes:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+Home:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Clear all but the active window.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+Space:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      All windows become transparent so you can see through to the desktop.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+Up arrow:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Maximize the active window.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Win+Up arrow:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Maximize the active window vertically.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+Down arrow:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Minimize the window/Restore the window if it’s maximized.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+Left/Right arrows:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Dock the window to each side of the monitor.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Win+Left/Right arrows:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Move the window to the monitor on the left or right.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;You can also interact with windows by dragging them with the mouse:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Drag window to the top:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Maximize&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Drag window left/right:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Dock the window to fill half of the screen.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shake window back/forth:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Minimize everything but the current window.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Double-Click Top Window Border (edge):&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Maximize window vertically.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;"&gt;Taskbar Shortcuts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;You can use any of these shortcut combinations to launch the applications in their respective position on the taskbar, or more:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+number (1-9):&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Starts the application pinned to the taskbar in that position, or switches      to that program.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Win+number (1-9):&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Starts a new instance of the application pinned to the      taskbar in that position.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ctrl+Win+number (1-9):&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Cycles through open windows for the application pinned      to the taskbar in that position.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Alt+Win+number (1-9):&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Opens the Jump List for the application pinned to the taskbar.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+T:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Focus and scroll through items on the taskbar.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+B:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Focuses the System Tray icons&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;In addition, you can interact with the taskbar using your mouse and a modifier key:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Click on a taskbar button:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Open a program or quickly open another instance of a      program.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ctrl+Shift+Click on a taskbar button:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Open a program as an administrator.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Right-click on a taskbar button:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Show the window menu for the program (like XP does).&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Right-click on a grouped taskbar button:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Show the window menu for the group.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ctrl+Click on a grouped taskbar button:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Cycle through the windows of the group&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 13.5pt;"&gt;Extra Shortcuts&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="line-height: normal;"&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Here’s a few more interesting hotkeys for you:&lt;/span&gt;&lt;/div&gt;&lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Ctrl+Shift+N:&lt;/span&gt;&lt;/b&gt;&lt;span style="color: #ff0066; font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; &lt;/span&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Creates a new folder in Windows      Explorer.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Alt+Up:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Goes up a folder level in Windows Explorer.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Alt+P:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Toggles the preview pane in Windows Explorer.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Right-Click on a file:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Adds Copy as Path, which copies the path of a file to      the clipboard.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Right-Click on a file:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Adds extra hidden items to the Send To menu.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Shift+Right-Click on a folder:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt; Adds Command Prompt Here, which lets you easily open a      command prompt in that folder.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+P:&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Adjust presentation settings for your display.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal" style="line-height: normal;"&gt;&lt;b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;Win+(+/-):&lt;/span&gt;&lt;/b&gt;&lt;span style="font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12pt;"&gt;      Zoom in/out.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;I've reproduced this list from &lt;a href="http://ow.ly/1r0dhd"&gt;here&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Cheers!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-5672606867952756099?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/5672606867952756099/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=5672606867952756099' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/5672606867952756099'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/5672606867952756099'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/11/windows-7-shortcuts.html' title='Windows 7 Shortcuts'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-5448622187205484791</id><published>2010-11-04T17:00:00.003-04:00</published><updated>2010-11-04T17:02:57.768-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='ASP.NET'/><title type='text'>Setting a Default Browser for Visual Studio</title><content type='html'>I came across an insightful post that details how you can have Firefox (or any other browser for that matter) set as default system browser while still use Internet Explorer with your Visual Studio development adventures. In short, here's how you can configure IE as your default Visual Studio browser: &lt;br /&gt;
&lt;ol&gt;&lt;li&gt;Open a WebForm file in Visual Studio.&lt;/li&gt;
&lt;li&gt;Right-click the form (or the file) and select the "Browse With..." option from the File menu.&lt;/li&gt;
&lt;li&gt;Select (or add) your preferred browser from the list and click the "Set as Default" button.&lt;/li&gt;
&lt;/ol&gt;Here's a snap of the dialog box.&lt;br /&gt;
&lt;br /&gt;
&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://stevenharman.net/images/stevenharman_net/blog/WindowsLiveWriter/SettingaDefaultBrowserforVisualStudio_A617/Browse%20With%20-%20Audit.aspx_1.png" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;&lt;img border="0" height="241" src="http://stevenharman.net/images/stevenharman_net/blog/WindowsLiveWriter/SettingaDefaultBrowserforVisualStudio_A617/Browse%20With%20-%20Audit.aspx_1.png" width="320" /&gt;&lt;/a&gt;&lt;/div&gt;&lt;br /&gt;
For details, follow the original post &lt;a href="http://stevenharman.net/blog/archive/2007/08/02/setting-a-default-browser-for-visual-studio.aspx"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-5448622187205484791?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/5448622187205484791/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=5448622187205484791' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/5448622187205484791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/5448622187205484791'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/11/setting-default-browser-for-visual.html' title='Setting a Default Browser for Visual Studio'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-1946130973531985761</id><published>2010-10-13T15:59:00.002-04:00</published><updated>2010-10-13T16:07:09.676-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><title type='text'>How to dynamically number rows in a SELECT Transact-SQL statement</title><content type='html'>&lt;div class="MsoNormal"&gt;In a Microsoft Support article available at &lt;a href="http://support.microsoft.com/kb/186133"&gt;http://support.microsoft.com/kb/186133&lt;/a&gt;, a technique is mentioned that enables a developer to dynamically number rows in a SELECT Transact-SQL statement. This technique is handy for paginated display of data.&amp;nbsp;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal"&gt;To achieve the same functionality, typically, developers resort to techniques like copying data (or primary keys) to a temporary table with an identity column and then selecting data for the requested page from the temporary table (or joining it to the source table if only primary keys were copied). Both of these (and other) approaches are tremendously slower compared to the technique outlined in the article mentioned above.&lt;/div&gt;&lt;div class="MsoNormal"&gt;As an example, consider the following query:&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: blue; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;select&lt;/span&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt; &lt;span style="color: magenta;"&gt;row_number&lt;/span&gt;&lt;span style="color: grey;"&gt;()&lt;/span&gt; &lt;span style="color: blue;"&gt;over &lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;order&lt;/span&gt; &lt;span style="color: blue;"&gt;by&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;au_id&lt;span style="color: grey;"&gt;)&lt;/span&gt; &lt;span style="color: blue;"&gt;as&lt;/span&gt; sequence&lt;span style="color: grey;"&gt;,&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;au_id&lt;span style="color: grey;"&gt;,&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;au_lname&lt;span style="color: grey;"&gt;,&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;au_fname&lt;span style="color: grey;"&gt;,&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;city&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;span style="color: blue; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;from&lt;/span&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt; pubs&lt;span style="color: grey;"&gt;.&lt;/span&gt;dbo&lt;span style="color: grey;"&gt;.&lt;/span&gt;authors a&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;sequence&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; au_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; city&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;-------------------- ----------- --------------------&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 172-32-1176 Menlo Park&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 213-46-8915 Oakland&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 238-95-7766 Berkeley&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 267-41-2394 San Jose&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 274-80-9391 Oakland&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 341-22-1782 Lawrence&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 409-56-7008 Berkeley&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 427-17-2319 Palo Alto&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 472-27-2349 Covelo&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;486-29-1786 San Francisco&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;11&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 527-72-3246 Nashville&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;12&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 648-92-1872 Corvallis&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;13&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 672-71-3249 Walnut Creek&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;14&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 712-45-1867 Ann Arbor&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;15&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 722-51-5454 Gary&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;16&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 724-08-9931 Oakland&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;17&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 724-80-9391 Oakland&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;18&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 756-30-7391 Oakland&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;19&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 807-91-6654 Rockville&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;20&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 846-92-7186 Palo Alto&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;21&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 893-72-1158 Vacaville&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;22&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;899-46-2035 Salt Lake City&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;23&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 998-72-3567 Salt Lake City&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;(23 row(s) affected)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;As you can see, there is now a dynamically generated sequence in the result set. The best thing is that this sequence number is generated by sorting on a specific column (or a set thereof) and, so, any given row is guaranteed to always have the same sequence number provided that it’s sorted on a primary key (typically a numeric, auto-incrementing one, though, any primary key incrementing in a natural sort order would work). &lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;Now imagine you want to paginate over this result set. To make the example simple, let’s just say that you want to select rows 5 through 10 (in a real world application, you’d calculate start and end sequence numbers based on the following information: total number of pages in result set, currently requested page, and rows per page). Here’s how you’d do that:&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: blue; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;select&lt;/span&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt; &lt;span style="color: grey;"&gt;*&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: blue; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;from &lt;/span&gt;&lt;span style="color: grey; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;(&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;select&lt;/span&gt; &lt;span style="color: magenta;"&gt;row_number&lt;/span&gt;&lt;span style="color: grey;"&gt;()&lt;/span&gt; &lt;span style="color: blue;"&gt;over &lt;/span&gt;&lt;span style="color: grey;"&gt;(&lt;/span&gt;&lt;span style="color: blue;"&gt;order&lt;/span&gt; &lt;span style="color: blue;"&gt;by&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;au_id&lt;span style="color: grey;"&gt;)&lt;/span&gt; &lt;span style="color: blue;"&gt;as&lt;/span&gt; sequence&lt;span style="color: grey;"&gt;,&lt;/span&gt; a&lt;span style="color: grey;"&gt;.&lt;/span&gt;au_id&lt;span style="color: grey;"&gt;,&lt;/span&gt; &lt;span style="color: grey;"&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;/span&gt;&lt;span style="color: grey;"&gt;&lt;/span&gt;a&lt;span style="color: grey;"&gt;.&lt;/span&gt;city&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span style="color: blue;"&gt;from&lt;/span&gt; pubs&lt;span style="color: grey;"&gt;.&lt;/span&gt;dbo&lt;span style="color: grey;"&gt;.&lt;/span&gt;authors a&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: grey; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;)&lt;/span&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt; &lt;span style="color: blue;"&gt;as&lt;/span&gt; ResultSet&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="color: blue; font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt;where&lt;/span&gt;&lt;span style="font-family: &amp;quot;Bitstream Vera Sans Mono&amp;quot;; font-size: 10pt;"&gt; sequence &lt;span style="color: grey;"&gt;&amp;gt;=&lt;/span&gt; 5 &lt;span style="color: grey;"&gt;and&lt;/span&gt; sequence &lt;span style="color: grey;"&gt;&amp;lt;=&lt;/span&gt; 10&lt;/span&gt;&lt;span style="font-size: 10pt;"&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;sequence&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; au_id&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; city&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;-------------------- ----------- --------------------&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;5&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 274-80-9391 Oakland&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;6&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 341-22-1782 Lawrence&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;7&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 409-56-7008 Berkeley&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;8&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 427-17-2319 Palo Alto&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;9&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 472-27-2349 Covelo&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;10&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 486-29-1786 San Francisco&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;; font-size: 8pt;"&gt;(6 row(s) affected)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;As these examples demonstrate, with 2005 and later versions of SQL Server, there is no need to use temporary tables or complex cursors for paginating through large sets of data.&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="margin-bottom: 0.0001pt;"&gt;Happy coding.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-1946130973531985761?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/1946130973531985761/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=1946130973531985761' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1946130973531985761'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1946130973531985761'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/10/how-to-dynamically-number-rows-in.html' title='How to dynamically number rows in a SELECT Transact-SQL statement'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-5227259183138169512</id><published>2010-09-10T15:05:00.001-04:00</published><updated>2010-09-10T15:06:27.583-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='LINQ'/><title type='text'>Deferred Execution of LINQ Query Expressions</title><content type='html'>&lt;span xmlns=""&gt;&lt;/span&gt;&lt;br /&gt;
An important feature of LINQ query expressions is deferred execution. What this means is that LINQ query expressions are not evaluated until you iterate over the (would be) resultset. This has a very important implication -- this enables you to apply the same LINQ query multiple times to a container by simply iterating over it and be sure that each time you do, you get the latest results. &lt;br /&gt;
&lt;br /&gt;
The following example demonstrates this feature:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;&lt;span style="color: blue;"&gt;static&lt;/span&gt;&amp;nbsp;&lt;span style="color: blue;"&gt;void&lt;/span&gt;&amp;nbsp;Main(&lt;span style="color: blue;"&gt;string&lt;/span&gt;[]&amp;nbsp;args)&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;//&amp;nbsp;Define&amp;nbsp;a&amp;nbsp;set&amp;nbsp;of&amp;nbsp;numbers;&amp;nbsp;query&amp;nbsp;to&amp;nbsp;select&amp;nbsp;even&amp;nbsp;numbers.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;int&lt;/span&gt;[]&amp;nbsp;numbers&amp;nbsp;=&amp;nbsp;{&amp;nbsp;1,&amp;nbsp;2,&amp;nbsp;3,&amp;nbsp;4,&amp;nbsp;5,&amp;nbsp;6,&amp;nbsp;7,&amp;nbsp;8,&amp;nbsp;9,&amp;nbsp;10&amp;nbsp;};&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;var&lt;/span&gt;&amp;nbsp;results&amp;nbsp;=&amp;nbsp;&lt;span style="color: blue;"&gt;from&lt;/span&gt;&amp;nbsp;i&amp;nbsp;&lt;span style="color: blue;"&gt;in&lt;/span&gt;&amp;nbsp;numbers&lt;br /&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;span style="color: blue;"&gt;where&lt;/span&gt;&amp;nbsp;i&amp;nbsp;%&amp;nbsp;2&amp;nbsp;==&amp;nbsp;0&lt;br /&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;span style="color: blue;"&gt;select&lt;/span&gt;&amp;nbsp;i;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;//&amp;nbsp;Display&amp;nbsp;results;&amp;nbsp;the&amp;nbsp;LINQ&amp;nbsp;query&amp;nbsp;is&amp;nbsp;evaluated&amp;nbsp;here!&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color: #a31515;"&gt;"Even&amp;nbsp;numbers&amp;nbsp;(original)..."&lt;/span&gt;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;foreach&lt;/span&gt;&amp;nbsp;(&lt;span style="color: blue;"&gt;var&lt;/span&gt;&amp;nbsp;i&amp;nbsp;&lt;span style="color: blue;"&gt;in&lt;/span&gt;&amp;nbsp;results)&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.WriteLine(i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;//&amp;nbsp;Modify&amp;nbsp;the&amp;nbsp;array&amp;nbsp;to&amp;nbsp;include&amp;nbsp;two&amp;nbsp;more&amp;nbsp;even&amp;nbsp;numbers.&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;numbers[6]&amp;nbsp;=&amp;nbsp;12;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;numbers[8]&amp;nbsp;=&amp;nbsp;14;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: green;"&gt;//&amp;nbsp;Display&amp;nbsp;results;&amp;nbsp;the&amp;nbsp;LINQ&amp;nbsp;query&amp;nbsp;is&amp;nbsp;AGAIN&amp;nbsp;evaluated&amp;nbsp;here!&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.WriteLine(&lt;span style="color: #a31515;"&gt;"\nEven&amp;nbsp;numbers&amp;nbsp;(modified)..."&lt;/span&gt;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: blue;"&gt;foreach&lt;/span&gt;&amp;nbsp;(&lt;span style="color: blue;"&gt;var&lt;/span&gt;&amp;nbsp;i&amp;nbsp;&lt;span style="color: blue;"&gt;in&lt;/span&gt;&amp;nbsp;results)&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.WriteLine(i);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;span style="color: #2b91af;"&gt;Console&lt;/span&gt;.ReadLine();&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: Consolas; font-size: 10pt;"&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Here's the output you get:&lt;br /&gt;
&lt;br /&gt;
Even numbers (original)...&lt;br /&gt;
2&lt;br /&gt;
4&lt;br /&gt;
6&lt;br /&gt;
8&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
Even numbers (modified)...&lt;br /&gt;
2&lt;br /&gt;
4&lt;br /&gt;
6&lt;br /&gt;
12&lt;br /&gt;
8&lt;br /&gt;
14&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
Happy coding!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-5227259183138169512?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/5227259183138169512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=5227259183138169512' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/5227259183138169512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/5227259183138169512'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/09/deferred-execution-of-linq-query.html' title='Deferred Execution of LINQ Query Expressions'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-3633619982599825984</id><published>2010-09-10T13:16:00.000-04:00</published><updated>2010-09-10T13:16:02.580-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Kindle'/><title type='text'>Free Transfer of Personal Documents to Kindle</title><content type='html'>If you've a 3G only Kindle (Kindle DX, for example) and you'd like to transfer your personal documents to your Kindle without incurring the associated fee,&amp;nbsp;you can send attachments to "name"@free.kindle.com (notice that it's FREE.kindle.com vs. kindle.com) to be converted and e-mailed to your computer at the e-mail address associated with your Amazon.com account log-in. You can then transfer the document to your Kindle using your USB connection.&lt;br /&gt;
&lt;br /&gt;
For example, if your Kindle email address is jdoe@kindle.com, send your attachments to jdoe@free.kindle.com.&lt;br /&gt;
&lt;br /&gt;
Happy saving money!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-3633619982599825984?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.amazon.com/gp/help/customer/display.html/ref=hp_navbox_kdxland_trans_pdocs?nodeId=200375640#email' title='Free Transfer of Personal Documents to Kindle'/><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/3633619982599825984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=3633619982599825984' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/3633619982599825984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/3633619982599825984'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/09/free-transfer-of-personal-documents-to.html' title='Free Transfer of Personal Documents to Kindle'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-1582978615346494405</id><published>2010-08-25T07:56:00.001-04:00</published><updated>2010-08-25T07:57:23.155-04:00</updated><title type='text'>Automatic Properties and the Serializable Attribute</title><content type='html'>&amp;nbsp;In order to make a type serializable, two of the available methods (in the context of the binary serialization engine) are:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Mark the type with the Serializable attribute&lt;/li&gt;
&lt;li&gt;Implement the ISerializable interface&lt;/li&gt;
&lt;/ul&gt;In most cases, simply marking a type with the Serializable attribute is sufficient.&lt;br /&gt;
&lt;br /&gt;
It's important to note that the binary serialization engine serializes fields (both public and private) but not properties. This has an important implication for [Serializable] types implementing automatic properties. With automatic properties, the engine serializes the underlying compiler-generated fields. The names of these fields, as you'd expect, can change when you modify the type (to include more properties, for example) and recompile it. This breaks compatbility with existing serialized data!&lt;br /&gt;
&lt;br /&gt;
The workaround is either to avoid automatic properties in types marked with the Serializable attribute or to implement the ISerializable interface.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-1582978615346494405?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/1582978615346494405/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=1582978615346494405' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1582978615346494405'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1582978615346494405'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/08/automatic-properties-and-serializable.html' title='Automatic Properties and the Serializable Attribute'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-7484799874935348402</id><published>2010-08-24T13:10:00.000-04:00</published><updated>2010-08-24T13:10:33.975-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Windows Services'/><category scheme='http://www.blogger.com/atom/ns#' term='Managed Services'/><title type='text'>How .NET Managed Services Interact with the SCM</title><content type='html'>I just came across this great post that details how .NET managed services interact with the Service Control Manager (a.k.a. SCM). Check it out on the &lt;a href="http://blogs.msdn.com/b/bclteam/archive/2009/02/19/in-depth-how-net-managed-services-interact-with-the-servicecontrolmanager-scm-kim-hamilton.aspx"&gt;BCL Team Blog&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-7484799874935348402?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://blogs.msdn.com/b/bclteam/archive/2009/02/19/in-depth-how-net-managed-services-interact-with-the-servicecontrolmanager-scm-kim-hamilton.aspx' title='How .NET Managed Services Interact with the SCM'/><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/7484799874935348402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=7484799874935348402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/7484799874935348402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/7484799874935348402'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/08/how-net-managed-services-interact-with.html' title='How .NET Managed Services Interact with the SCM'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-7998636110257671883</id><published>2010-08-12T21:57:00.000-04:00</published><updated>2010-08-12T21:57:04.687-04:00</updated><title type='text'>CNN: Opposition to New York mosque grows and ICNA's Response</title><content type='html'>&lt;object width="480" height="295"&gt;&lt;param name="movie" value="http://www.youtube.com/v/yDz2-MP_Xdo?fs=1&amp;amp;hl=en_US"&gt;&lt;param name="allowFullScreen" value="true"&gt;&lt;param name="allowscriptaccess" value="always"&gt;&lt;embed src="http://www.youtube.com/v/yDz2-MP_Xdo?fs=1&amp;amp;hl=en_US" width="480" height="295" allowscriptaccess="never" allowfullscreen="true" wmode="transparent" type="application/x-shockwave-flash"&gt;&lt;/embed&gt;&lt;/object&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-7998636110257671883?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/7998636110257671883/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=7998636110257671883' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/7998636110257671883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/7998636110257671883'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/08/cnn-opposition-to-new-york-mosque-grows.html' title='CNN: Opposition to New York mosque grows and ICNA&apos;s Response'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-1009073307035270923</id><published>2010-07-23T13:41:00.000-04:00</published><updated>2010-07-23T13:41:28.452-04:00</updated><title type='text'>Minimizing Skype and Windows Live Messenger to Notification Area</title><content type='html'>Windows 7 is a digital blessing&amp;nbsp;and even more so as Windows Vista proved to be such a pain in the neck. However, like most things in life, Windows 7 is also not perfect. One of the issues (some might say it's a feature) is that certain programs, which typically would run minimized in the Notification Area, like the Taskbar so much that they always remain there while running. Two such programs are Skype and Windows Live Messenger. &lt;br /&gt;
&lt;br /&gt;
Luckily, forcing these programs to stay where they belong -- the Notification Area -- is easy. Follow the following two links for two great short tutorials that show exactly how to achieve that:-&lt;br /&gt;
&lt;br /&gt;
1. &lt;a href="http://www.mydigitallife.info/2010/01/23/how-to-minimize-skype-to-windows-7-system-tray-notification-area/comment-page-2/"&gt;How to Minimize Skype to Windows 7 Notification Area&lt;/a&gt;&lt;br /&gt;
2. &lt;a href="http://www.mydigitallife.info/2009/01/15/workaround-to-hide-and-minimize-windows-live-messenger-iconbutton-to-notification-area-system-tray-in-windows-7/"&gt;How to Minimize Windows Live Messenger to Windows 7 Notification Area&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
I hope you'll enjoy the extra, valuable&amp;nbsp;Taskbar space after you send these two sticky programs to the Notification Area!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-1009073307035270923?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/1009073307035270923/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=1009073307035270923' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1009073307035270923'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1009073307035270923'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/07/minimizing-skype-and-windows-live.html' title='Minimizing Skype and Windows Live Messenger to Notification Area'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-4393889191726793732</id><published>2010-02-16T20:45:00.000-05:00</published><updated>2010-02-16T20:45:03.530-05:00</updated><title type='text'>Murphy's Laws of Programming</title><content type='html'>Here are some of Murphy's laws of programming that I am producing from an excellent software architecture book&amp;nbsp;-- &lt;a href="http://www.microsoft.com/learning/en/us/book.aspx?ID=12863&amp;amp;locale=en-us"&gt;Microsoft .NET: Architecting Applications for the Enterprise.&lt;/a&gt; Read and have fun! &lt;ul&gt;&lt;li&gt;Real programmers don't comment their code. If it was hard to write, it should be hard to understand.&lt;/li&gt;
&lt;li&gt;Ninety percent of a programmer's errors come from data from other programmers.&lt;/li&gt;
&lt;li&gt;Walking on water and developing software to specification are easy as long as both are frozen.&lt;/li&gt;
&lt;/ul&gt;Happy architecting software!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-4393889191726793732?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/4393889191726793732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=4393889191726793732' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/4393889191726793732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/4393889191726793732'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2010/02/murphys-laws-of-programming.html' title='Murphy&apos;s Laws of Programming'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-271641482377883803</id><published>2009-11-15T18:20:00.002-05:00</published><updated>2009-11-15T18:28:08.299-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ACM'/><title type='text'>ACM Membership Benefits</title><content type='html'>&lt;span xmlns=''&gt;&lt;p&gt;I've been a member of ACM (&lt;a href='http://www.acm.org'&gt;http://www.acm.org&lt;/a&gt;) for about a year now and it's almost renewal time. It's been arguably the best investment I made last year! As a member of ACM, I am entitled to a number of great benefits that help me excel in my career. My favorite ACM benefits are online books from Safari and Books24x7 and Element K-based online courses and virtual labs. Here's a complete list of what you get with an ACM membership:
&lt;/p&gt;&lt;ul style='margin-left: 38pt'&gt;&lt;li&gt;A full year 12-issue subscription to the newly redesigned and redefined "Communications of the ACM," ACM's flagship publication, the most trusted source for industry information for today's computing professionals.&lt;br/&gt;&lt;a href='http://www.cacm.acm.org/'&gt;http://www.cacm.acm.org&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;Access to 2,500 online courses in multiple languages and 1,000 virtual labs.&lt;br/&gt;&lt;a href='http://pd.acm.org/'&gt;http://pd.acm.org&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;Access to 1,100 online books on today's hottest IT topics including 600 selections from Safari® Books Online featuring leading publishers such as O'Reilly, and 500 titles from books24x7®.&lt;br/&gt;&lt;a href='http://pd.acm.org/'&gt;http://pd.acm.org&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;ACM Career &amp;amp; Job Center - Whether you are a seasoned professional, or a student studying computing, you will find valuable career resources and extensive job postings in the ACM Career &amp;amp; Job Center.&lt;br/&gt;&lt;a href='http://campus.acm.org/careercenter'&gt;http://campus.acm.org/careercenter&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;Full access to ACM's enormous bank of over two million bibliographic citations in the Online Guide to Computing Literature.&lt;br/&gt;&lt;a href='http://www.acm.org/guide'&gt;http://www.acm.org/guide&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;Full access to the new acmqueue website featuring Planet Queue blogs, case studies, CTO Roundtables, video and audio content, and much more.&lt;br/&gt;&lt;a href='http://queue.acm.org/'&gt;http://queue.acm.org&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;The option to subscribe to the powerful ACM Digital Library with 50+ years of archives and more than 40 publications.&lt;br/&gt;&lt;a href='http://www.acm.org/dl'&gt;http://www.acm.org/dl&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;The opportunity to become a mentor through ACM's partnership with MentorNet, the leading organization promoting e-mentoring relationships between students and professionals in the areas of engineering and science.&lt;br/&gt;&lt;a href='http://www.acm.org/mentornet'&gt;http://www.acm.org/mentornet&lt;/a&gt;
				&lt;/li&gt;&lt;li&gt;&lt;div&gt;ACM online publications that keep you current on the latest computing developments:-
&lt;/div&gt;&lt;ul&gt;&lt;li&gt;"TechNews" and "CareerNews" digests for professional and career trends
&lt;/li&gt;&lt;li&gt;"MemberNet" brings you the world of ACM…and beyond
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;&lt;a href='http://www.acm.org/publications'&gt;http://www.acm.org/publications&lt;/a&gt;
					&lt;/p&gt;&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;It's important to note that all members must subscribe to the purposes of ACM. To access the ACM Code of Ethics go to: &lt;a href='http://www.acm.org/about/code-of-ethics'&gt;http://www.acm.org/about/code-of-ethics&lt;/a&gt;. 
&lt;/p&gt;&lt;p&gt; &lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-271641482377883803?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/271641482377883803/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=271641482377883803' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/271641482377883803'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/271641482377883803'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2009/11/acm-membership-benefits.html' title='ACM Membership Benefits'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-3025983454853520402</id><published>2009-06-21T10:50:00.005-04:00</published><updated>2010-02-14T10:27:56.277-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='Transactions'/><title type='text'>System.Transactions Maximum Timeout</title><content type='html'>&lt;div class="MsoNormal"&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;I used System.Transactions for a recent project which has transactions running as long as nearly 30 minutes. So, I added the following to my app.config file:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;system.transactions&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: black; font-family: Georgia;"&gt;&lt;span style="color: blue;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;defaultSettings&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;timeout&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;00:40:00&lt;/span&gt;"&lt;span style="color: blue;"&gt;/&amp;gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: black; font-family: Georgia;"&gt;&lt;span style="color: #a31515;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;&lt;/span&gt;system.transactions&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="color: blue;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Georgia;"&gt;&lt;span style="color: blue;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Georgia;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
However, most of my transactions would err out apparently for stupid reasons, like violations of foreign keys. When this kept happening again and again and I noticed that all transactions failed approximately after 10 minutes, I thought to myself, "boy, it got to be something else."&lt;/div&gt;&lt;div class="MsoNormal"&gt;Research revealed that System.Transactions have a maximum timeout which, by default, is definable in the machine.config file only. It has precedence over any timeout values you specify in your app.config file or programmatically through one of the TransactionScope constructors. Effectively any value you define, if greater than the maching.config max timeout, will be scaled down to the max timeout value defined in the machine.config file. So, in my case I was defining 40 minutes for the transaction timeout but that was scaled down to 10 minutes; the reason why my transactions kept timing out after approximately 10 minutes.&lt;/div&gt;&lt;div class="MsoNormal"&gt;Luckily, this can be resolved simply -- all you have to do is hack the machine.config file. You need to add the following to &lt;configuration&gt;&lt;configuration&gt;your maching.conifg file:&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: blue;"&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;system.transactions&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: black; font-family: Georgia;"&gt;&lt;span style="color: blue;"&gt;&lt;span class="Apple-tab-span" style="white-space: pre;"&gt;&lt;/span&gt;&amp;lt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;machineSettings&lt;/span&gt;&lt;span style="color: blue;"&gt; &lt;/span&gt;&lt;span style="color: red;"&gt;maxTimeout&lt;/span&gt;&lt;span style="color: blue;"&gt;=&lt;/span&gt;"&lt;span style="color: blue;"&gt;01:00:00&lt;/span&gt;"&lt;span style="color: blue;"&gt; /&amp;gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: black; font-family: Georgia;"&gt;&lt;span style="color: blue;"&gt;&lt;/span&gt;&lt;span style="color: #a31515;"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&amp;lt;&lt;/span&gt;system.transactions&lt;/span&gt;&lt;span style="color: blue;"&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
This sets the maximum System.Transactions transaction timeout to 1 hour.&lt;/div&gt;&lt;div class="MsoNormal"&gt;&lt;br /&gt;
Cheers.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-3025983454853520402?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/3025983454853520402/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=3025983454853520402' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/3025983454853520402'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/3025983454853520402'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2009/06/systemtransactions-maximum-timeout_21.html' title='System.Transactions Maximum Timeout'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-3684400503500459562</id><published>2009-05-15T18:11:00.007-04:00</published><updated>2009-06-21T11:45:49.473-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>What's in a Codename?</title><content type='html'>It's often helpful to codename a project that a team is working on. This has many benefits including secrecy of the product being developed (hiding it from competitors), giving a common and, perhaps, interesting name to the project, and giving the company/team a lot of time to decide on a good product name while it's under development.

Here are some codenames Microsoft have used for their products:
&lt;ul&gt;&lt;li&gt;Whidbey&lt;/li&gt;&lt;li&gt;Orcas&lt;/li&gt;&lt;li&gt;Jakarta&lt;/li&gt;&lt;/ul&gt;And here are some used by Apple:
&lt;ul&gt;&lt;li&gt;Leopard&lt;/li&gt;&lt;li&gt;Jaguar&lt;/li&gt;&lt;li&gt;Puma&lt;/li&gt;&lt;/ul&gt;
Thinking of great project codenames may not be as easy as it seems. So help comes along. Here's a link to a Web Site that generates cool codenames in a military-oriented way but they can be used for any sort of project. Here's the link: &lt;a href="http://ubique.ch/codename/"&gt;http://ubique.ch/codename/&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-3684400503500459562?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/3684400503500459562/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=3684400503500459562' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/3684400503500459562'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/3684400503500459562'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2009/05/whats-in-codenames.html' title='What&apos;s in a Codename?'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-1146169824552633248</id><published>2009-04-25T14:49:00.003-04:00</published><updated>2009-04-25T20:49:04.657-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><category scheme='http://www.blogger.com/atom/ns#' term='Virtualization'/><category scheme='http://www.blogger.com/atom/ns#' term='VirtualBox'/><title type='text'>VirtualBox 2.2.0 Bug: HostKey Can't Be Changed</title><content type='html'>I recently upgraded my VirtualBox installation to the latest &amp;amp; greatest version 2.2.0, on my Vista Business notebook, just to find that NAT and bridged-networking wouldn't work in my Windows XP Professional guest.

Research revealed that this problem could be fixed simply by re-running the installation and choosing "Repair." That's precisely what I did and that fixed the issue, however, only partially. Now I could browse the Internet in my guest OS but I couldn't access any resources on my office's network (my host connects to the office via Cisco VPN).

So this time around, I uninstalled VirtualBox, restarted my notebook, and installed VirtualBox 2.2.0 afresh. This resolved all networking-related issues. However, now it wouldn't let me change the HostKey from Right Ctrl to Right Alt, or any other for that matter.

After a bit of Googling, I landed at a page describing this was a bug in the newest version (the bug's been fixed and the fix will be available in the upcoming release). Crap! Because I couldn't live with Right Ctrl as my HostKey, I had to figure out a way to change it to Right Alt. Here's how you do it without having to hand-edit any configuration files.

Perhaps an easy way of changing the HostKey until the fix is released is to use VBoxManage with the setextradata switch. So if you wanted to change the HostKey to the Right Alt key (numeric code 165), you would execute the following command:

&lt;span style="font-family:courier new;"&gt;VBoxManage.exe setextradata global GUI/Input/HostKey 165&lt;/span&gt;

I've posted this solution at the bug page also. You could see details on the bug and this work-around (and others) &lt;a href="http://www.virtualbox.org/ticket/3689"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-1146169824552633248?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='related' href='http://www.virtualbox.org/ticket/3689' title='VirtualBox 2.2.0 Bug: HostKey Can&apos;t Be Changed'/><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/1146169824552633248/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=1146169824552633248' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1146169824552633248'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1146169824552633248'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2009/04/virtualbox-220-bug-hostkey-cant-be.html' title='VirtualBox 2.2.0 Bug: HostKey Can&apos;t Be Changed'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-8997764525241538472</id><published>2008-07-27T20:03:00.004-04:00</published><updated>2009-06-21T11:46:23.003-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>DivX Web Player Permission Error in IE7 on Windows Vista</title><content type='html'>If you have "Protected Mode" on in IE7 and you are running Windows Vista (this setting is on by default), you'll get the following error when you try watching a movie off a Web Site (like stage6):

"The DivX Web Player could not write the video file to disk...."

The current stable version of DivX Web Player (1.4.0.233) doesn't support IE7's Potected Mode. No matter how you configure permissions for the DivX video cache folder (%USERPROFILE%\Videos\DivX Movies), you keep getting this error.

To resolve the issue, you have three choices which I list below in order of most secure to less secure:
&lt;ol&gt;&lt;li&gt;Download and install the latest version of DivX Web Player (currently in beta), which you can install on top of your current DivX installation package. Get the player at &lt;a href="http://labs.divx.com/node/6277#DownloadWinWebPlayer141b1"&gt;http://labs.divx.com/node/6277#DownloadWinWebPlayer141b1&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;Add your movie Web Site to the list of trusted sites in IE.&lt;/li&gt;&lt;li&gt;Turn Protected Mode off for Internt Zone.&lt;/li&gt;&lt;/ol&gt;&lt;p&gt;Enjoy!&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-8997764525241538472?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/8997764525241538472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=8997764525241538472' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/8997764525241538472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/8997764525241538472'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2008/07/divx-web-player-permission-error-in-ie7.html' title='DivX Web Player Permission Error in IE7 on Windows Vista'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-1646556898562726101</id><published>2008-04-27T13:42:00.002-04:00</published><updated>2008-04-27T13:44:38.280-04:00</updated><title type='text'>My Programmer Personality Type</title><content type='html'>I just took the &lt;a href="http://www.doolwind.com/index.php?page=11"&gt;programmer personality test&lt;/a&gt; and here's my programmer personality type:

&lt;b&gt;&lt;span style="font-size:180%;"&gt;PHTB&lt;/span&gt;&lt;/b&gt;

&lt;b&gt;You're a &lt;span style="font-size:180%;"&gt;P&lt;/span&gt;lanner.&lt;/b&gt;
          You may be slow, but you'll usually find the best solution. If something's worth            doing, it's worth doing right.


&lt;b&gt;You like coding at a &lt;span style="font-size:180%;"&gt;H&lt;/span&gt;igh level.&lt;/b&gt;
          The world is made up of objects and components, you should create your programs            in the same way.


&lt;b&gt;You work best in a &lt;span style="font-size:180%;"&gt;T&lt;/span&gt;eam.&lt;/b&gt;
          A good group is better than the sum of it's parts. The only thing better than a            genius programmer is a cohesive group of genius programmers.


&lt;b&gt;You are a li&lt;span style="font-size:180%;"&gt;B&lt;/span&gt;eral programmer.&lt;/b&gt;
          Programming is a complex task and you should use white space and comments as            freely as possible to help simplify the task. We're not writing on paper anymore            so we can take up as much room as we need.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-1646556898562726101?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/1646556898562726101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=1646556898562726101' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1646556898562726101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/1646556898562726101'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2008/04/my-programmer-personality-type.html' title='My Programmer Personality Type'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-4522504630536553998</id><published>2008-04-26T01:40:00.002-04:00</published><updated>2009-06-21T10:00:55.269-04:00</updated><title type='text'>A Day Out</title><content type='html'>&lt;span style="font-style: italic;"&gt;Note: This is an old post that I moved in here from another blog of mine. The original date of the post is &lt;/span&gt;&lt;span&gt;12/8/07&lt;/span&gt;&lt;span style="font-style: italic;"&gt;.&lt;/span&gt;

&lt;a href="http://www.macrosoftinc.com/"&gt;Macrosoft&lt;/a&gt;'s team working at &lt;a href="http://autoweb.net/web2006/index.shtml"&gt;Autoweb&lt;/a&gt;, which I am a key member of, went out on an all day event a week back. We ate lunch at Tawa Restaurant in Dearborn. After that we went to Henry Ford Museum. However, because we got so late, the museum was closed. So we went to Fairlane Shopping Mall where we did a bit of shopping. Then we watched the movie Beowulf in Star Theater. Finally, we had our dinner at China Town Restaurant.

That day it snowed very heavily; so much that on the way back to home I had to drive no more than 40 MPH while usually I do no less than 75 MPH!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-4522504630536553998?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/4522504630536553998/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=4522504630536553998' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/4522504630536553998'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/4522504630536553998'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2008/04/day-out.html' title='A Day Out'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-6932908965819794810</id><published>2008-04-26T01:39:00.001-04:00</published><updated>2008-04-26T01:42:23.983-04:00</updated><title type='text'>Working Out of a Client Location in MI</title><content type='html'>&lt;span style="font-style: italic;"&gt;Note: This is an old post that I moved in here from another blog of mine. The original date of the post is &lt;/span&gt;&lt;span&gt;8/24/07&lt;/span&gt;&lt;span style="font-style: italic;"&gt;.

&lt;/span&gt;This post is in fact a little bit late. It's been a month since I have relocated to Rochester Hills, MI. But now is a good time to share with you a little bit of info about what I am doing here.

After three weeks of stay in NJ, and enjoying a very calm and cool work environment at &lt;a href="http://www.macrosoftinc.com/"&gt;Macrosoft&lt;/a&gt;, I got placed at a client's (&lt;a href="http://www.autoweb.net/"&gt;Autoweb&lt;/a&gt;) site in Rochester Hills, MI. They are developing the new generation of a well-known product for the automotive industry. The main function of this product is providing a platform for sharing intellectual property data and collaboration among first tier automotive vendors like &lt;a href="http://www.gm.com/"&gt;General Motors&lt;/a&gt; and &lt;a href="http://www.ford.com/en/default.htm"&gt;Ford&lt;/a&gt;, and their suppliers.

My role in the development of this project is v. critical. In a nutshell, I am developing a component that would enable the old product and its new incarnation to work together seamlessly. This component's ultimate goal is to gradually migrate all clients from the old product to the new one and to enable vendors and suppliers to continue IP collaboration in the mean time regardless of which product they are using.

As you can see, this component which I am developing for my client is v. important for the success of the new product. And because we have almost run out of time-to-deadline, we're working not only long hours but weekends as well. And it's been like this for a month, non-stop. Man, this tough schedule! I didn't have to work like that even in Pakistan.

This is for you Pakis who always complaint that we have but unorganized software development industry where every other project is a chaos. Trust me, it's no better here either. In fact, software development is such a challenging and complex task that if it's not exercised with due caution and expertise, you're almost guaranteed to end up with a project that is a nightmare to develop, maintain, and evolve.

Stay tuned for more updates.
Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-6932908965819794810?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/6932908965819794810/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=6932908965819794810' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/6932908965819794810'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/6932908965819794810'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2008/04/working-out-of-client-location-in-mi.html' title='Working Out of a Client Location in MI'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-2267450288835543862</id><published>2008-04-26T01:36:00.002-04:00</published><updated>2008-04-26T01:39:01.449-04:00</updated><title type='text'>Relocation to USA</title><content type='html'>&lt;span style="font-style: italic;"&gt;Note: This is an old post that I moved in here from another blog of mine. The original date of the post is 6/26/07.&lt;/span&gt;

On Wednesday, 20 June, 2007 I relocated to the USA to work for &lt;a href="http://www.macrosoftinc.com/"&gt;Macrosoft Inc.&lt;/a&gt;, a US-based software development and consulting company with operations in many countries including Pakistan. I flew to the US via &lt;a href="http://www.piac.com.pk/"&gt;PIA&lt;/a&gt;. Their service was good and I would like to travel with them in future as well.

New Jersey is a very green and calm state. It's really an ideal place to live in. It's been a week since I'm living and working in NJ and I'm really lovin' it!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-2267450288835543862?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/2267450288835543862/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=2267450288835543862' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/2267450288835543862'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/2267450288835543862'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2008/04/relocation-to-usa.html' title='Relocation to USA'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-8995864504213719879</id><published>2008-04-22T00:11:00.001-04:00</published><updated>2008-04-22T00:11:19.709-04:00</updated><title type='text'>Back to the Future, arghhh, Windows!</title><content type='html'>Yes! I am back, back to Windows!! And I love it as ever before!!!

The past one year has been very difficult for me trying to learn Linux and Linux programming (which often, but not always, means mastery in C and C++) while working as a .NET developer in Team Lead position. I've learned a lot. As of this writing I can:
&lt;ul&gt;&lt;li&gt;Install most flavors of Linux,&lt;/li&gt;&lt;li&gt;Configure it for everyday operations like Internet, multimedia, etc.,&lt;/li&gt;&lt;li&gt;Configure and work with Samba, SSH, FTP, and MySQL,&lt;/li&gt;&lt;li&gt;Configure PHP and a PHP development environment,&lt;/li&gt;&lt;li&gt;Develop moderately complex PHP Web applications,
&lt;/li&gt;&lt;li&gt;Develop moderately complex C/C++ programs on the Linux platform, and
&lt;/li&gt;&lt;li&gt;Comfortably use and configure Linux using the shell
&lt;/li&gt;&lt;/ul&gt;That's a lot if you consider I've learned all this by myself -- no coaching, no classes, no nothing -- and while working full time as a .NET developer in Team Lead position!

There are several important reasons why I decided to turn my complete attention back to Windows and .NET once again:
&lt;ul&gt;&lt;li&gt;I've now over five years of solid, professional .NET development experience,&lt;/li&gt;&lt;li&gt;I've moved to the USA based on my expertise with Microsoft technologies,&lt;/li&gt;&lt;li&gt;I'm now in a senior position and can see a very bright career ahead of me,&lt;/li&gt;&lt;li&gt;Starting with a Linux-based C/C++ job would mean starting from scratch, perhaps accepting a low pay job as a junior&lt;/li&gt;&lt;/ul&gt;Trying to learn and then switching to the Linux world &lt;span style="font-style: italic;"&gt;was&lt;/span&gt; my decision. Now, sticking to just Windows &lt;span style="font-style: italic;"&gt;is&lt;/span&gt; my decision. I am happy to be through this because today I am good as ever in Microsoft technologies. In addition to that I also know a lot about Linux and can use it as easily as Windows, both from the GUI and the shell.

Now that I am back, this blog is going to see frequent posts. So, stay tuned!

Cheers!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-8995864504213719879?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/8995864504213719879/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=8995864504213719879' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/8995864504213719879'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/8995864504213719879'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2008/04/back-to-future-arghhh-windows.html' title='Back to the Future, arghhh, Windows!'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116691385189789197</id><published>2006-12-23T17:29:00.001-05:00</published><updated>2008-04-26T01:49:10.824-04:00</updated><title type='text'>Access Memory</title><content type='html'>Big mistake. Yes I made a big mistake today. I have 384 MB of RAM in my PIII computer with 855 MHz processor installed on Intel D815e board. I planned to upgrade my system by adding more memory to it. So I went and bought a 512 MB memory stick for Rs.3,100. But when I installed the memory module in my system, guess what, it displayed a message on startup that "216: Memory exceeds the maximum limit".

Terrible! Isn't it? Man, I should have given it a bit of thought. But no, I went straight to the market and bought myself an extra 512 MB of RAM. Gosh.

Well, so what now? Hmmm. I've installed the new 512 MB module into my system and the other two modules (128 MB and 256 MB) are lying in front of me. No use for them currently. May be I might go for selling them or something. But for that I don't want to rush as I did for buying RAM.

So whenever planning to upgrade your PC, be sure to checkout if it is upgradeable to the extent you're planning.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116691385189789197?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116691385189789197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116691385189789197' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116691385189789197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116691385189789197'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/12/access-memory.html' title='Access Memory'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116409111473189497</id><published>2006-11-21T01:33:00.001-05:00</published><updated>2009-06-21T11:46:47.343-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thunderbird'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>Accessing Hotmail from Thunderbird</title><content type='html'>Nope. Not possible yet. This is the one thing that I would categorize as a &lt;span style="font-style: italic;"&gt;missing feature&lt;/span&gt;. Since I can connect to Hotmail using Microsoft Outlook Express or Microsoft Office Outlook, I would expect to be able to do the same using Thunderbird as well. But Thunderbird can connect using POP or IMAP protocols. HTTP is none of the options.

I wish the Mozilla people add this feature to Thunderbird in their future release.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116409111473189497?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116409111473189497/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116409111473189497' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116409111473189497'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116409111473189497'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/11/accessing-hotmail-from-thunderbird.html' title='Accessing Hotmail from Thunderbird'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116409076665042194</id><published>2006-11-21T01:21:00.001-05:00</published><updated>2009-06-21T11:47:08.956-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Thunderbird'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>Thunderbird Gmail Configuration</title><content type='html'>Configuring Thunderbird 1.5.0.8 to receive emails from my Gmail account proved to be challenging for me. I configured my account exactly as outlined by the Gmail Help Center http://mail.google.com/support/bin/answer.py?answer=38343. It didn't work for me, however. I was continuously receiving error "Failed to connect to email server gmail.google.com".

It turned out that I had configured Thunderbird to use my proxy server.  In order for the configuration as outlined in Gmail Help Center, you'll need to select Direct Connection to the Internet option (Go to Tools &gt; Options... On General tab click Connection Settings...). After you do this, you should be able to send and receive email thru your gmail account. And, yes, I am behind an ISA firewall.

Cheers!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116409076665042194?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116409076665042194/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116409076665042194' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116409076665042194'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116409076665042194'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/11/thunderbird-gmail-configuration.html' title='Thunderbird Gmail Configuration'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116402376036625778</id><published>2006-11-20T06:47:00.001-05:00</published><updated>2009-06-21T11:47:26.100-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>Digital Signatures Simplified</title><content type='html'>For simplified information on how digital signatures work, please follow this link: http://www.youdzone.com/signature.html.

I've not seen information on digital signatures that is more easy to follow and comprehensive than found on the above link.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116402376036625778?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116402376036625778/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116402376036625778' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116402376036625778'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116402376036625778'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/11/digital-signatures-simplified.html' title='Digital Signatures Simplified'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116239591778078987</id><published>2006-11-01T10:18:00.000-05:00</published><updated>2006-11-01T10:45:17.946-05:00</updated><title type='text'>My Mobile Phone Gets Snatched!</title><content type='html'>Yesterday night around 2115 hrs, when I reached near my home,  getting back from office, two robbers, riding a bike, approached me suddenly. One of them, aiming at me with a loaded pistol, demanded that I surrender my mobile phone and wallet. I, surprised in shock, obeyed (what else could I do in front of a loaded gun; after all it was real life not a movie). I requested them to give me back my purse after getting the money. The robbers took my mobile phone, got money out of my purse (about Rs.300), thrown the purse on the field, and went off on their bike.

God! With my mobile I've lost hundreds of very, very important phone numbers. This is where you understand how important it's to back-up your important data. Unfortunately, I have no backup of the phone numbers :( Anyways I lodged complaint of the incident soon afterwards. It was a really bad experience.

According to a news I read couple of days back, around 3,000 mobile phones are snatched daily across Pakistan!

Since I am all okay, thanks God, I'll end this blog with cheers :)

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116239591778078987?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116239591778078987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116239591778078987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116239591778078987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116239591778078987'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/11/my-mobile-phone-gets-snatched.html' title='My Mobile Phone Gets Snatched!'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116209740043348036</id><published>2006-10-29T00:27:00.000-04:00</published><updated>2006-10-29T00:54:03.790-04:00</updated><title type='text'>Moving to Linux</title><content type='html'>This Eid, taking advantage of lot of holidays, I decided to tryout Linux. So I downloaded Mandriva Linux 2007 and installed it on my P3 machine. It was a breeze to install and even easier to use. Honestly, I've found it to be easier than Windows even though this is the first time that I've used Linux.

I've been planning to shift to the Linux World for quite a while now for several reasons. I won't be detailing why (everybody knows that Microsoft monopoly and similiar stuff, right). Since I am a .NET developer, I've installed Mono on my Linux box. It's great! However, currently it lakes capability of developing things like Windows Forms (it supports GUI development using Gtk#) and Windows Services (well they are called &lt;span style="font-style: italic;"&gt;daemons&lt;/span&gt; on Linux). But it's pretty good at creating Console Applications, Class Libraries, Web Forms (ASP.NET), and GUIs using Gtk#.

Until now it's been really interesting. But I know there is a long journey ahead.  I've on my to-do-list such things as mastering the Linux Shell Commands, Command-Line management &amp;amp; configuration of Linux, Learning Java, Learning Java Server Pages, and Learning  MySql. If things go as I've planned, I believe I'll have completed this list witihin six months.

If you are a Windows user and have been thinking to move to Linux but afraid, don't be so anymore. Believe me Linux is no longer that dreaded, command-prompt driven, gurus-only operating system. If you've basic Windows skills, I am sure you'll have no trouble adapting to Linux. Don't believe me, give it a try.

--
* Mandriva Linux -&gt; http://www.mono-project.com/
* The Mono Project - &gt; http://www.mandriva.com/
* Gtk# Home -&gt; http://gtk-sharp.sourceforge.net/
--

Happy Linux :)&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116209740043348036?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116209740043348036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116209740043348036' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116209740043348036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116209740043348036'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/moving-to-linux.html' title='Moving to Linux'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116209598234769501</id><published>2006-10-29T00:19:00.000-04:00</published><updated>2006-10-29T00:56:40.636-04:00</updated><title type='text'>Eid Saga</title><content type='html'>This Eid was really joyous for me. I stayed at home on first day of Eid meeting the coming relatives and friends. Second day of Eid I went to see my friends Zahid and Imtiaz. We then went to Pizza Hut for dinner and really enjoyed it. Third day of Eid was also great. I met many of my relatives and friends.

Yestrday I recieved my Bank Alfalah Credit Card. I am also a Citibank Credit Card holder but somewhat dissatisfied with their service. So I plan to stop using CitiCard in favor of Alfalah Credit Card.

My office will be on from Monday, i.e., tomorrow. Now I am going to have breakfast. In an hour or so I'll be leaving for Waqas's (my friend) house.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116209598234769501?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116209598234769501/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116209598234769501' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116209598234769501'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116209598234769501'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/eid-saga.html' title='Eid Saga'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116140501061964860</id><published>2006-10-21T00:24:00.000-04:00</published><updated>2006-10-21T00:59:25.300-04:00</updated><title type='text'>Windows Vista On Time - This Time</title><content type='html'>Windows Vista is on time - this time :) Microsoft said it is on track to deliver the new Windows Vista operating system to its volume license customers around the world in November, and to the general public in January.

Below are some Vista-related links I think you'd like:

* Windows Vista is on time - this time -&gt;  http://mcpmag.com/news/article.asp?EditorialsID=1076.

* Windows Vista is better than the older Windows -&gt; http://mcpmag.com/news/article.asp?EditorialsID=1081.

* &lt;span class="a26b"&gt;Microsoft Working With Security Vendors&lt;/span&gt; -&gt; http://mcpmag.com/news/article.asp?EditorialsID=1079

* &lt;span class="a20"&gt;McAfee Claims Foul on Vista Security Code&lt;/span&gt; -&gt; http://entmag.com/news/article.asp?EditorialsID=7891

Cheers!&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116140501061964860?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116140501061964860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116140501061964860' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116140501061964860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116140501061964860'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/windows-vista-on-time-this-time.html' title='Windows Vista On Time - This Time'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116140243481306143</id><published>2006-10-20T23:32:00.000-04:00</published><updated>2006-10-20T23:47:14.820-04:00</updated><title type='text'>Iftar @ Pizza Hut and Holidays on Eid-ul-Fitar</title><content type='html'>Holdays for Eid-ul-Fitar have been announced by the govt. of Pakistan from Monday 23 Oct. to Wednesday 25 Oct. Since Saturday and Sunday is my official off, the vacation is going to be five days for me! Kool.

I plan to utilize this time by studying, playing around, visiting my relatives, and having fun with friends and family. I also have plan to write on at least one technical (.NET-related) issue for this blog. So stay tuned!

Yesterday I was out with coleagues to have Iftaar at Pizza Hut. In Ramadan they are offering an "All You Can Eat for just 299+ST" deal as does KFC. I've noted that quality of pizzaz was not as good as it is in normal days. Anyways if you're a big eater, I'd suggest you go have this deal at Iftar. By the way, this deal is available for Sehri as well.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116140243481306143?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116140243481306143/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116140243481306143' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116140243481306143'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116140243481306143'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/iftar-pizza-hut-and-holidays-on-eid-ul.html' title='Iftar @ Pizza Hut and Holidays on Eid-ul-Fitar'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116104835644309436</id><published>2006-10-16T21:20:00.000-04:00</published><updated>2006-10-16T21:25:56.443-04:00</updated><title type='text'>Microsoft Jobsblog</title><content type='html'>For those of you who are interested in landing a job @ Microsoft, one of the best places to start your quest is their careers website at http://www.microsoft.com/careers/. They also have an excellent *jobsblog* which I suggest you visit . Their jobsblog is available at &lt;a href="http://blogs.msdn.com/jobsblog/"&gt;http://blogs.msdn.com/jobsblog/&lt;/a&gt;.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116104835644309436?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116104835644309436/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116104835644309436' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116104835644309436'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116104835644309436'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/microsoft-jobsblog.html' title='Microsoft Jobsblog'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116080415641550456</id><published>2006-10-14T01:28:00.000-04:00</published><updated>2006-10-14T03:17:34.046-04:00</updated><title type='text'>Imagine Cup 2006</title><content type='html'>Registrations for Microsoft Imagine Cup 2006 are open. Please go to &lt;a href="http://www.imaginecup.com/"&gt;http://www.imaginecup.com/&lt;/a&gt; for more infromation.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116080415641550456?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116080415641550456/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116080415641550456' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116080415641550456'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116080415641550456'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/imagine-cup-2006.html' title='Imagine Cup 2006'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-116080369907442944</id><published>2006-10-14T01:20:00.000-04:00</published><updated>2006-10-16T21:19:37.206-04:00</updated><title type='text'>Blogspot is Back!</title><content type='html'>So blogspot is back! You might be wondering when did it go off anyway. The thing is blogspot was one of the sites banned in Pakistan for at least three+ months. That's one reason that I was not writing any posts. But since it's available once again in Pakistan, I plan to be writing regularly. So stay tuned!

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-116080369907442944?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/116080369907442944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=116080369907442944' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116080369907442944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/116080369907442944'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/10/blogspot-is-back.html' title='Blogspot is Back!'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-115013255545499527</id><published>2006-06-12T12:26:00.001-04:00</published><updated>2009-06-21T11:47:57.073-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='VS.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Programming'/><category scheme='http://www.blogger.com/atom/ns#' term='.NET'/><category scheme='http://www.blogger.com/atom/ns#' term='Technical'/><title type='text'>VS.NET Removes Controls From Inherited Forms!</title><content type='html'>Today I would like to be a little bit technical and talk about how VS.NET 2003 sometimes removes controls from inherited forms and what can we do about it. So, let's get started.

I've seen quite often that Microsoft Visual Studio .NET 2003 removes controls from forms that are inherited from other forms thru Visual Inheritance. This usually happens when you've the inherited form open in design mode and you run your application.

Regardless of how much I've tried, I've been unable to find the exact steps to reproduce the problem. However, if your inheritance hierarchy goes down a few levels, this problem occurs more than often. And yes, I've seen this problem happening only with Visual C# .NET 2003.

So, what now? You've esthetically layed out your form in a few hours and everything, or most of it, has gone. You're left with desperation and repetition of your hard work.

Worry not! Fortunately, when this happens, VS.NET doesn't delete code in the C# source file. What it does, however, is remove lines of code that add controls to their container controls from the designer-generated InitializeComponent() method. So, all you've to do is close the designer, get to the InitializeComponent() method, locate definition of each control that VS.NET has removed from the designer, and add a line of code to add this control to its container control (be it a GroupBox, for example, or the form itself).

For example, the following lines of code adds a TextBox control to its container GroupBox control and then adds the GroupBox to the Form.

private void InitializeComponent()
{
   .
   .
   .
   // Definition of streetTextBox control (auto-generated by VS.NET)
   addressGroupBox.Controls.Add(streetTextBox);
   .
   .
   .
   // Definition of addressGroupBox control (auto-generated by VS.NET)
   employeeForm.Controls.Add(addressGroupBox);
   .
   .
   .
}

I hope you find this information useful. Please feel free to comment on this information.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-115013255545499527?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/115013255545499527/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=115013255545499527' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/115013255545499527'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/115013255545499527'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/06/vsnet-removes-controls-from-inherited.html' title='VS.NET Removes Controls From Inherited Forms!'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-115004223321364496</id><published>2006-06-11T12:06:00.000-04:00</published><updated>2006-10-14T00:40:40.616-04:00</updated><title type='text'>Trip to Urdu Bazar</title><content type='html'>Yesterday I went to Urdu Bazar with a friend of mine, Nisar Ahmad, and purchased several books: Database Systems A Practical Approach to Design, Implementation, and Management, Exam Cram 70-229 (for myself), Professional C# 2005, and Professional ASP.NET 2.0 (for office). Nisar purchased a bag for himself. After getting done with shopping, we ate Nehari, my favourite dish, in lunch at Sabiri Restaurant. Getting back to home was painful, however. We're stuck in traffic for about an hour in that hot season! I hate traffic jams!!

I searched the web for a free file sharing web site and found one (well, many but liked one :)). I need such a web site because I want to share some code, that is having hard time serializing data from client to the server even though it works fine the other way around, with members of the MSDN and Wrox forums. By the way, the file sharing web site I've subscribed to is esnips (&lt;a href="http://www.esnips.com/"&gt;http://www.esnips.com/&lt;/a&gt;). It offers 1 GB of free space free of charge. You might want to visit this site if you wish to share some of your stuff with others without spending money. By the way, if you know of a better file sharing service that is also free, don't hesitate to let me know of it.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-115004223321364496?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/115004223321364496/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=115004223321364496' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/115004223321364496'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/115004223321364496'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/06/trip-to-urdu-bazar.html' title='Trip to Urdu Bazar'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-114987915997715283</id><published>2006-06-09T14:11:00.000-04:00</published><updated>2006-10-14T00:46:21.486-04:00</updated><title type='text'>.NET Devlopers Required</title><content type='html'>After a very busy week, got here finally. I wish to update my blog on daily basis but, you know what, it seems that updating it weekly would be more than acceptable, keeping in view a very busy schedule of mine. Anyways, when there is a will, there is a way.

This week I interviewed three candidates for the post of Software Engineer with expertise on .NET (C#, ASP.NET, Web Services, Remoting, SQL Server). If you're a software engineer with the mentioned expertise and an year of experience, live in Karachi, Pakistan, and willing to join a dynamic, challenging and professional organization, please feel free to send me your updated resume. (See my profile for my email address.) Please note that we're an US-based ISV and Microsoft Gold Certified Partner.

Well, right now I am listening to music and surfing the internet. Football World Cup has started. I planned to watch the match but was too tired for that. Nevertheless, hopeful for the matches that are to come.

Keeping in view many of the tasks I've got to do tomorrow, I am going to have to go to the bed now. I'll be here tomorrow with activities of tomorrow.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-114987915997715283?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/114987915997715283/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=114987915997715283' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/114987915997715283'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/114987915997715283'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/06/net-devlopers-required.html' title='.NET Devlopers Required'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-114949924961382472</id><published>2006-06-05T05:09:00.000-04:00</published><updated>2006-06-12T13:20:13.560-04:00</updated><title type='text'>Saturday Night</title><content type='html'>Saturday night I watched Fana of Aamir Khan. In the beginning, it's sort of boring. However, as the movie progresses, things get to be interesting. Overall the movie is cool, specially its music.

Yesterday night, I also worked on a web site (won't tell u the url :)) to fix some bugs. Phew, whenever I work with code written by someone else, I appreciate it more and more that code be properly commented. This, however, is the most overlooked part of most of software developers', or engineers' as they like to be called, work.

After weekend, first day of the office seems pretty boring. Anyways, if anything goes interesting at all, I'll be sharing it with you.

Cheers&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-114949924961382472?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/114949924961382472/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=114949924961382472' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/114949924961382472'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/114949924961382472'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/06/saturday-night.html' title='Saturday Night'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-13334167.post-114935980475842041</id><published>2006-06-03T14:27:00.001-04:00</published><updated>2006-06-03T14:36:44.770-04:00</updated><title type='text'>Aamir's Fana and Cultures in .NET :)</title><content type='html'>Finally, I've decided to be writing a blog on my (daily) life and putting in information on .NET development that developers would find interesting, knowledge-enhancing, and what not. This is the very first blog I've ever written. So, I am excited but also kinda confused.

Since Saturday is off from office, I spent all the day with my best friend, my PC! I studied Globalization in .NET 2.0. Also finished reading two articles from MSDN Magazine on new features of ADO.NET 2.0. I'm impressed by what ADO.NET 2.0 has to offer, honestly. By the way, if you too want to be impressed, go read the articles:

1) Data Points: DataSet and DataTable in ADO.NET 2.0 &lt;a href="http://msdn.microsoft.com/msdnmag/issues/05/11/DataPoints/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/05/11/DataPoints/default.aspx&lt;/a&gt;

2) Data Points: SqlConnectionStringBuilder, DataView, and More &lt;a href="http://msdn.microsoft.com/msdnmag/issues/06/01/DataPoints/default.aspx"&gt;http://msdn.microsoft.com/msdnmag/issues/06/01/DataPoints/default.aspx&lt;/a&gt;

While I am writing this post, I've written a sample application in C# that enumerates all cultures and displays information on the culture that the user selects. I plan to be sharing this sample app with you.

Now it's 23.30 hrs. I am now going to watch Aamir Khan's movie "Fana". By the way, Aamir Khan is my favourite actor.

Cheers.&lt;div class="blogger-post-footer"&gt;&lt;script type="text/javascript"&gt;&lt;!--
google_ad_client = "pub-4607807704405854";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_type = "text_image";
google_ad_channel ="";
//--&gt;&lt;/script&gt;
&lt;script type="text/javascript"
  src="http://pagead2.googlesyndication.com/pagead/show_ads.js"&gt;
&lt;/script&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/13334167-114935980475842041?l=sooperwiz.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sooperwiz.blogspot.com/feeds/114935980475842041/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=13334167&amp;postID=114935980475842041' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/114935980475842041'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/13334167/posts/default/114935980475842041'/><link rel='alternate' type='text/html' href='http://sooperwiz.blogspot.com/2006/06/aamirs-fana-and-cultures-in-net.html' title='Aamir&apos;s Fana and Cultures in .NET :)'/><author><name>ejan</name><uri>http://www.blogger.com/profile/00361871662478159108</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='http://2.bp.blogspot.com/_BxHFwr6JQh4/Sj0HAlDw7XI/AAAAAAAAAM8/1mOLOWPa5j8/S220/usertile5.bmp'/></author><thr:total>0</thr:total></entry></feed>
