<?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'><id>tag:blogger.com,1999:blog-9637628</id><updated>2009-11-07T00:46:18.631+05:00</updated><title type='text'>My blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>25</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-9637628.post-719255087848266960</id><published>2008-11-13T12:39:00.003+05:00</published><updated>2008-11-13T12:42:16.952+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='wordpress'/><title type='text'>Blog moved to WordPress</title><content type='html'>My blog has been moved to WordPress so please kindly visit &lt;a href="http://smehrozalam.wordpress.com/"&gt;http://smehrozalam.wordpress.com/&lt;/a&gt; for further posts.&lt;br /&gt;&lt;br /&gt;Have a nice day.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-719255087848266960?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/719255087848266960/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=719255087848266960' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/719255087848266960'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/719255087848266960'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/11/blog-moved-to-wordpress.html' title='Blog moved to WordPress'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-7222383091956652978</id><published>2008-11-06T11:41:00.006+05:00</published><updated>2008-11-06T11:53:31.895+05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SSIS'/><category scheme='http://www.blogger.com/atom/ns#' term='T-SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Table variables'/><title type='text'>SSIS: How to use a query containing table variables for an OLE DB Source</title><content type='html'>This one consumed a lot of my brain energies yesterday. I was working on some Sql Server Integration Services task and needed  to create a complex query containing table variables. The query was working fine  in SQL Management Studio and the SSIS designer was even previewing the data  correctly. But when the task was actually executed, the query did not return any  rows. I posted a question on TechNet forums and got an answer from Charles Talleyrand &lt;a href="http://forums.microsoft.com/TechNet/ShowPost.aspx?PostID=4090433&amp;amp;SiteID=17"&gt;here&lt;/a&gt;. Actually, I needed a &lt;code&gt;SET NOCOUNT ON&lt;/code&gt; statement. Let me explain  using an example:&lt;br /&gt;&lt;br /&gt;Say, I want to create a table  variable (not a temp table), populate it and then use the result set as an input  for an OLE DB Source. Here's a sample query for this:&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;declare  @mytable table&lt;br /&gt;(&lt;br /&gt;  &lt;wbr&gt;col1 int,&lt;br /&gt;  &lt;wbr&gt;col2  varchar(20)&lt;br /&gt;)&lt;br /&gt;&lt;br /&gt;insert @mytable values (1, 'one')&lt;br /&gt;insert @mytable  values (2, 'two')&lt;br /&gt;insert @mytable values (3, 'three')&lt;br /&gt;&lt;br /&gt;select * from  @mytable&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;The SSIS designer will correctly  identify the column names from the above query and even display the data if you  click on the Preview button. But when the task is executed, no rows will be  returned. I think the output of insert statements: i.e. 1 row(s) affected was  the source of problem and so a &lt;code&gt;SET NOCOUNT ON&lt;/code&gt; prevented such interferences.  Hooray!! So if you are ever working  on some SSIS Data Transfer Task and want to use table variables inside your query,  make sure you do not forget the &lt;code&gt;SET NOCOUNT ON&lt;/code&gt; statement.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-7222383091956652978?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/7222383091956652978/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=7222383091956652978' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/7222383091956652978'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/7222383091956652978'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/11/ssis-how-to-use-query-containing-table.html' title='SSIS: How to use a query containing table variables for an OLE DB Source'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-1810583117928271503</id><published>2008-10-29T10:20:00.002+06:00</published><updated>2008-10-29T10:28:05.958+06:00</updated><title type='text'>More controls for Silverlight: Silverlight Toolkit Released</title><content type='html'>Microsoft has released some new controls for Silverlight 2 with full source codes. These new controls include:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;AutoCompleteBox&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Chart&lt;br /&gt;&lt;/li&gt;&lt;li&gt;DockPanel&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Label&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Expander&lt;br /&gt;&lt;/li&gt;&lt;li&gt;TreeView&lt;br /&gt;&lt;/li&gt;&lt;li&gt;UpDown&lt;br /&gt;&lt;/li&gt;&lt;li&gt;ViewBox&lt;br /&gt;&lt;/li&gt;&lt;li&gt;WrapPanel&lt;br /&gt;&lt;/li&gt;&lt;li&gt;ImplicitStyleManager&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Themes&lt;/li&gt;&lt;br /&gt;&lt;/ul&gt;Check out: &lt;a href="http://www.codeplex.com/Silverlight"&gt;http://www.codeplex.com/Silverlight&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-1810583117928271503?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/1810583117928271503/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=1810583117928271503' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/1810583117928271503'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/1810583117928271503'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/10/more-controls-for-silverlight.html' title='More controls for Silverlight: Silverlight Toolkit Released'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-1654917604983384249</id><published>2008-10-08T12:13:00.003+06:00</published><updated>2008-10-08T12:18:54.165+06:00</updated><title type='text'>Command Prompt Here option</title><content type='html'>Developers typically need a quick shortcut to opening command prompt in any folder they want. Here's what I personally use:&lt;br /&gt;&lt;br /&gt;Create a new file AnyName.reg and edit it to enter the following text:&lt;br /&gt;&lt;code&gt;Windows Registry Editor Version 5.00&lt;br /&gt;[HKEY_CLASSES_ROOT\Directory\shell\OpenNew]&lt;br /&gt;@="Command Prompt Here"&lt;br /&gt;[HKEY_CLASSES_ROOT\Directory\shell\OpenNew\Command]&lt;br /&gt;@="cmd.exe /k cd %1"&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Run the file to update the registry. Now, you will get a "Command Prompt Here" option whenever you right click on any folder.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-1654917604983384249?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/1654917604983384249/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=1654917604983384249' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/1654917604983384249'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/1654917604983384249'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/10/command-prompt-here-option.html' title='Command Prompt Here option'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-40379509910435890</id><published>2008-09-29T14:05:00.003+06:00</published><updated>2008-09-29T14:15:11.517+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='.net 3.5 sp1'/><category scheme='http://www.blogger.com/atom/ns#' term='mscorsvw.exe'/><category scheme='http://www.blogger.com/atom/ns#' term='vs2008 sp1'/><title type='text'>mscorsvw.exe taking up 100% cpu after VS2008 SP1</title><content type='html'>Today, when I installed VS2008 SP1 on my office PC, I noticed that one of my cores are totally captured by mscorsvw.exe. A quick google search reveled that this service is used to precompile .NET assemblies. If you ever encounter this, then run &lt;code&gt;ngen.exe executequeueditems&lt;/code&gt;, this will compile all the queued assemblies, followed by a restart. After reboot, your CPU will return to normal. Hoooray.&lt;br /&gt;&lt;br /&gt;Reference: &lt;a href="http://blogs.msdn.com/davidnotario/archive/2005/04/27/412838.aspx"&gt;David Natario's WebLog&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-40379509910435890?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/40379509910435890/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=40379509910435890' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/40379509910435890'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/40379509910435890'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/09/mscorsvwexe-taking-up-100-cpu-after.html' title='mscorsvw.exe taking up 100% cpu after VS2008 SP1'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-5066213288692780999</id><published>2008-09-26T13:00:00.003+06:00</published><updated>2008-09-26T13:05:58.871+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='rc0'/><category scheme='http://www.blogger.com/atom/ns#' term='silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='release'/><title type='text'>Silverlight 2 RC0 Released</title><content type='html'>Finally, the first public release candidate version has been released. InshaAllah, I will have more posts on this after Ramadhan.&lt;br /&gt;&lt;br /&gt;A few links:&lt;br /&gt;Official site: &lt;a href="http://silverlight.net/GetStarted/sl2rc0.aspx"&gt;http://silverlight.net/GetStarted/sl2rc0.aspx&lt;/a&gt;&lt;br /&gt;ScottGu's blog: &lt;a href="http://weblogs.asp.net/scottgu/archive/2008/09/25/silverlight-2-release-candidate-now-available.aspx"&gt;http://weblogs.asp.net/scottgu/archive/2008/09/25/silverlight-2-release-candidate-now-available.aspx&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-5066213288692780999?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/5066213288692780999/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=5066213288692780999' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/5066213288692780999'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/5066213288692780999'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/09/silverlight-2-rc0-released.html' title='Silverlight 2 RC0 Released'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-7632318859397456654</id><published>2008-08-12T11:13:00.005+06:00</published><updated>2008-08-25T16:07:15.807+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='data application'/><category scheme='http://www.blogger.com/atom/ns#' term='silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='listbox'/><category scheme='http://www.blogger.com/atom/ns#' term='datagrid'/><category scheme='http://www.blogger.com/atom/ns#' term='linq'/><category scheme='http://www.blogger.com/atom/ns#' term='beginners'/><category scheme='http://www.blogger.com/atom/ns#' term='databinding'/><category scheme='http://www.blogger.com/atom/ns#' term='master-detail'/><category scheme='http://www.blogger.com/atom/ns#' term='data templates'/><category scheme='http://www.blogger.com/atom/ns#' term='articles'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf service'/><title type='text'>Silverlight article posted at CodeProject</title><content type='html'>At last, I was able to complete and post my article: "My First Data Application in Silverlight" at CodeProject here: &lt;a href="http://www.codeproject.com/KB/silverlight/MySilverlightDataApp.aspx"&gt;http://www.codeproject.com/KB/silverlight/MySilverlightDataApp.aspx&lt;/a&gt;&lt;br /&gt;This one is a detailed article intended for beginners starting Silverlight. It discusses how data from a database can be retrieved and displayed in a silverlight application. It discusses how LINQ objects are returned using a WCF service and consumed in a silverlight application. On the layout side, it looks at the ListBox and DataGrid and provides an introduction to the data templates too. I think that most of the silverlight programmers have past experience of ASP.NET so I also discussed the similarities between ASP.NET and Silverlight. I hope people will find this article beneficial.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-7632318859397456654?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/7632318859397456654/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=7632318859397456654' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/7632318859397456654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/7632318859397456654'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/08/silverlight-article-posted-at.html' title='Silverlight article posted at CodeProject'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-8526658576533781030</id><published>2008-08-07T11:26:00.007+06:00</published><updated>2008-08-25T16:06:26.733+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Silverlight-enabled WCF Service'/><category scheme='http://www.blogger.com/atom/ns#' term='silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='wcf service'/><title type='text'>Silverlight-enabled WCF Service template</title><content type='html'>Before Beta 2 of silverlight 2, we needed some tweaks with the standard WCF service template to use it in our silverlight application. But luckily, the new Silverlight-enabled WCF Service template does the job lot easier for us. Now we just need to define our methods(marked with OperationContract atribute) in the service.svc.cs file and we are ready to consume it. No need to change the binding configuration to basicHttpBinding, no need to add ASP.NET compatibility support in special cases, no need to define method signatures in a separate contract file. Just use the new template and use the service in your silverlight application without any worries.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/__SUEiV9fR0A/SJqK_l1meeI/AAAAAAAAABQ/LsgOaEeznB0/s1600-h/image6.jpg"&gt;&lt;img style="cursor: pointer;" src="http://1.bp.blogspot.com/__SUEiV9fR0A/SJqK_l1meeI/AAAAAAAAABQ/LsgOaEeznB0/s320/image6.jpg" alt="" id="BLOGGER_PHOTO_ID_5231646742237575650" border="0" /&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-8526658576533781030?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/8526658576533781030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=8526658576533781030' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/8526658576533781030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/8526658576533781030'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/08/silverlight-enabled-wcf-service.html' title='Silverlight-enabled WCF Service template'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/__SUEiV9fR0A/SJqK_l1meeI/AAAAAAAAABQ/LsgOaEeznB0/s72-c/image6.jpg' height='72' width='72'/><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-6622503097998686226</id><published>2008-08-04T11:57:00.005+06:00</published><updated>2008-08-05T16:45:10.147+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='competition'/><category scheme='http://www.blogger.com/atom/ns#' term='silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='shopping cart'/><category scheme='http://www.blogger.com/atom/ns#' term='custom control'/><title type='text'>I won a Silverlight competition</title><content type='html'>I am very glad to announce that yesterday, 4th of August, I stood first in a silverlight competition held at Sir Syed University of Engineering and Technology. In the 8 hour competition, the participants were asked to make a custom control "Drag and Drop Shopping Cart" in Silverlight 2 Beta 2. Here were the prizes I got:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;MSDN Premium Subscription for 1 Year (Total Market Value: $10, 939)&lt;/li&gt;&lt;li&gt;10,000 Rupees cash&lt;/li&gt;&lt;/ul&gt;It was a very wonderful experience. I will soon post my code here.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-6622503097998686226?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/6622503097998686226/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=6622503097998686226' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/6622503097998686226'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/6622503097998686226'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/08/i-won-silverlight-competition.html' title='I won a Silverlight competition'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-3876565950077709853</id><published>2008-07-24T18:17:00.005+06:00</published><updated>2008-08-18T23:18:11.669+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='silverlight'/><category scheme='http://www.blogger.com/atom/ns#' term='layout'/><category scheme='http://www.blogger.com/atom/ns#' term='width'/><category scheme='http://www.blogger.com/atom/ns#' term='height'/><category scheme='http://www.blogger.com/atom/ns#' term='percentage'/><category scheme='http://www.blogger.com/atom/ns#' term='grid'/><category scheme='http://www.blogger.com/atom/ns#' term='size'/><title type='text'>Assign percentage width to a column in silverlight grid</title><content type='html'>I was wondering how can I define the column widths for a silverlight/WPF grid with percentages like we use to define in html tables. &lt;a href="http://msdn.microsoft.com/en-us/library/system.windows.controls.columndefinition.width%28VS.95%29.aspx"&gt;This&lt;/a&gt;  msdn document was quite helpful. Let me paste the  important part here. The width attribute can take three type of values:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;doubleValue&lt;/span&gt;: The column's width, expressed as a floating-point value for a pixel count. Typically this is given as an integer, although interpolation of floating-point values is supported by grid layout.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;starSizing&lt;/span&gt;: A convention by which you can size rows or columns to take remaining available space in the Grid. A starSizing always includes the literal character *, and optionally precedes the * with an integer value that specifies what share of available space should be given as a weighted factor versus other possible star sizings (for example, 3*).&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Auto&lt;/span&gt;: The column's width, described by the literal Auto.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;So this is how we can define a grid with two equally divided rows and three columns divided in the ratio 1:2:3:&lt;br /&gt;&lt;br /&gt;&amp;lt;Grid&amp;gt;&lt;br /&gt;  &amp;lt;Grid.RowDefinitions&amp;gt;&lt;br /&gt;    &amp;lt;RowDefinition Height=".5*"&amp;gt;&amp;lt;/RowDefinition&amp;gt;&lt;br /&gt;    &amp;lt;RowDefinition Height=".5*"&amp;gt;&amp;lt;/RowDefinition&amp;gt;&lt;br /&gt;  &amp;lt;/Grid.RowDefinitions&amp;gt;&lt;br /&gt;  &amp;lt;Grid.ColumnDefinitions&amp;gt;&lt;br /&gt;    &amp;lt;ColumnDefinition Width="1*"&amp;gt;&amp;lt;/ColumnDefinition&amp;gt;&lt;br /&gt;    &amp;lt;ColumnDefinition Width="2*"&amp;gt;&amp;lt;/ColumnDefinition&amp;gt;&lt;br /&gt;    &amp;lt;ColumnDefinition Width="3*"&amp;gt;&amp;lt;/ColumnDefinition&amp;gt;&lt;br /&gt;  &amp;lt;/Grid.ColumnDefinitions&amp;gt;&lt;br /&gt;&amp;lt;/Grid&amp;gt; &lt;br /&gt;&lt;br /&gt;The .5* in the row height can be changed to any value but both values must be same to make sure the rows are divided evenly.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-3876565950077709853?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/3876565950077709853/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=3876565950077709853' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/3876565950077709853'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/3876565950077709853'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/07/assign-percentage-width-to-column-in.html' title='Assign percentage width to a column in silverlight grid'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-9009349339185230910</id><published>2008-07-10T17:24:00.001+06:00</published><updated>2008-08-25T16:04:56.587+06:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='transpose'/><category scheme='http://www.blogger.com/atom/ns#' term='filters'/><category scheme='http://www.blogger.com/atom/ns#' term='excel'/><category scheme='http://www.blogger.com/atom/ns#' term='worksheet'/><title type='text'>Transposing an excel sheet</title><content type='html'>Today, I came across a problem where I needed to transpose data inside an excel sheet. After some Google search, I was able to achieve it like this:&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Select the data you wish to transform&lt;/li&gt;&lt;li&gt;Copy it to clipboard&lt;/li&gt;&lt;li&gt;In a new worksheet (or file), right click and select "Paste Special"&lt;/li&gt;&lt;li&gt;Check the "Transpose" checkbox and hit Ok.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Thats all......Now you use "Filters" on the columns (that were previously rows).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-9009349339185230910?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/9009349339185230910/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=9009349339185230910' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/9009349339185230910'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/9009349339185230910'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/07/transposing-excel-sheet.html' title='Transposing an excel sheet'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-9020399470938037083</id><published>2008-07-09T16:31:00.000+06:00</published><updated>2008-07-09T16:33:37.161+06:00</updated><title type='text'>Coming soon</title><content type='html'>My blog will be re-active soon. Stay tuned for new posts.&lt;br /&gt;&lt;br /&gt;Thank you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-9020399470938037083?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/9020399470938037083/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=9020399470938037083' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/9020399470938037083'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/9020399470938037083'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2008/07/coming-soon.html' title='Coming soon'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-113609134575175944</id><published>2006-01-01T09:49:00.001+05:00</published><updated>2008-07-10T22:59:51.114+06:00</updated><title type='text'>I am now a Microsoft Certified Professional</title><content type='html'>Its a long since I last updated by blog. Reasons were my exams and ofcourse, my usual laziness. But now I have come with a thrilling news.&lt;br /&gt;Oh...I cant believe it.. I have cleared the Microsoft certification, "Developing and Implementing Windows-Based Applications with Microsoft Visual C# .NET and Microsoft Visual Studio .NET" (Exam 70-316), by securing 940/1000 marks on 29 December 2005.&lt;br /&gt;The questions were much hard but thanks God, I was able to do that.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-113609134575175944?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/113609134575175944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=113609134575175944' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/113609134575175944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/113609134575175944'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/12/i-am-now-microsoft-certified.html' title='I am now a Microsoft Certified Professional'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-111086722891718173</id><published>2005-03-15T11:08:00.000+05:00</published><updated>2005-03-15T11:13:48.916+05:00</updated><title type='text'>Victory in Softec 2005</title><content type='html'>We got 3rd position in All Asia Dynamic Programming Competition. My other two team members were Faisal and Usman. We were first upset to know that C# was not allowed, then we starting coding in VC++ and yeah, we were able to beat 50+ teams in a tough competition of 5 hours.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-111086722891718173?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/111086722891718173/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=111086722891718173' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086722891718173'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086722891718173'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/03/victory-in-softec-2005.html' title='Victory in Softec 2005'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-111086680904413833</id><published>2005-03-03T11:02:00.000+05:00</published><updated>2005-03-15T11:06:49.046+05:00</updated><title type='text'>Article Update: Maze Solver in C#</title><content type='html'>Check out &lt;a href="http://www.codeproject.com/csharp/MazeSolver.asp"&gt;http://www.codeproject.com/csharp/MazeSolver.asp&lt;/a&gt; for an updated version of my MazeSolver article. The article now describes the internal working of my class. I hope this version will help you to understand my logic.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-111086680904413833?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/111086680904413833/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=111086680904413833' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086680904413833'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086680904413833'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/03/article-update-maze-solver-in-c_02.html' title='Article Update: Maze Solver in C#'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-111086653619520428</id><published>2005-02-25T10:58:00.000+05:00</published><updated>2005-03-15T11:02:16.196+05:00</updated><title type='text'>New article: Analog clock control in C#</title><content type='html'>Visit &lt;a href="http://www.codeproject.com/cs/miscctrl/AnalogClockControl.asp"&gt;http://www.codeproject.com/cs/miscctrl/AnalogClockControl.asp&lt;/a&gt; for my new article. It is a step-by-step guide on how to make a clock control in C#. The article contains much description and pictures. I hope you will like this.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-111086653619520428?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/111086653619520428/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=111086653619520428' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086653619520428'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086653619520428'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/02/new-article-analog-clock-control-in-c.html' title='New article: Analog clock control in C#'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-111086631676743771</id><published>2005-02-22T10:54:00.000+05:00</published><updated>2005-03-15T10:58:36.770+05:00</updated><title type='text'>VB Graph Plotter Updated</title><content type='html'>I have updated the VB version of Graph Plotter. Now it is a nice application with many new features e.g. Selecting a range for a Graph, Copying a graph to clipboard, Printing it, Saving it as bitmap file, and much more. I highly recomment to take a look at &lt;a href="http://www.geocities.com/smehrozalam/files/graphvb.zip"&gt;http://www.geocities.com/smehrozalam/files/graphvb.zip&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-111086631676743771?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/111086631676743771/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=111086631676743771' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086631676743771'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/111086631676743771'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/02/vb-graph-plotter-updated.html' title='VB Graph Plotter Updated'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110797339711492711</id><published>2005-02-09T23:21:00.000+05:00</published><updated>2005-02-09T23:23:17.113+05:00</updated><title type='text'>PROCOM 2005</title><content type='html'>I went for PROCOM with two of my fellows, Usman and Faisal. On the first day, there were two trial sessions. We stood 8th in the very first session but then we gathered our distributed skills and yeah, we stood 1st in the 2nd trial session. On the second day, there was only one session of 3 hours. All the participating teams including us could solve only 3 problems out of given 6. We were the first one to solve those 3 problems but Ah.... Some penalty points kept us far from first 3 rankings. We were not much upset and InshaAllah we’ll make a remarkable victory in the upcoming Softec Competition in Lahore.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110797339711492711?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110797339711492711/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110797339711492711' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110797339711492711'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110797339711492711'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/02/procom-2005.html' title='PROCOM 2005'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110645515229939156</id><published>2005-01-23T09:33:00.000+05:00</published><updated>2005-01-23T09:39:12.300+05:00</updated><title type='text'>Participation in Procom 2005</title><content type='html'>I have registered to participate in the Software and Programmming competetion organized by "Fast". I registered myself with Faisal and Usman for Programming competetion while with Sajjad, Asad, Tanveer and Zeeshan for Software competetion. Lets see how well we do there.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110645515229939156?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110645515229939156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110645515229939156' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110645515229939156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110645515229939156'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2005/01/participation-in-procom-2005.html' title='Participation in Procom 2005'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110386544599173929</id><published>2004-12-24T10:17:00.001+05:00</published><updated>2004-12-24T10:17:25.990+05:00</updated><title type='text'>MazeSolver </title><content type='html'>It was a difficult problem to find a shortest path in a 2D Maze. During my second year exams, I got a mail in which I was asked to write a program for this. I started to think but first no solution could come into my mind, but soon I thought that this could be done using graphs. The maze is similar to a graph, with every element of the maze (node) adjacent to its left, right, top and bottom nodes. After this I applied simple breadth first search to find the shortest path.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110386544599173929?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110386544599173929/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110386544599173929' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386544599173929'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386544599173929'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2004/12/mazesolver.html' title='MazeSolver '/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110386524182386895</id><published>2004-12-24T10:13:00.000+05:00</published><updated>2004-12-24T10:14:01.823+05:00</updated><title type='text'>Matrix and Fraction classes</title><content type='html'>I always get confused when performing row operations in a Matrix. But matrices were a great portion of our Maths-III course, as well as our Economics’ Linear programming section. Hence I needed a program which could tell me at when I was doing mistakes. The solution was simple, just to download any matrix application. But the problem was that all matrix programs I got, worked on floating point numbers and in our class problems we have to consider the exact values using fractions. I therefore needed a matrix application which could show results in a fraction format, but I didn’t found any. At that time we learned how to represent real world objects in a programming language and we did the example of a fraction class in our OOP course. I further enhanced that idea and was able to develop a fraction class and later on, a matrix using the fraction class. I incorporated all my needs and it worked fine. Then I uploaded the classes on GotDotNet&lt;&lt;a href="http://www.gotdotnet.com/"&gt;www.gotdotnet.com&lt;/a&gt;&gt; and other similar sites and yes, I was able to further improve my classes with the help of user responses. I finally posted two articles on CodeProject&lt;&lt;a href="http://www.codeproject.com/"&gt;www.codeproject.com&lt;/a&gt;&gt; and user responses were wonderful. I finally thank all of those who were helpful starting from Sir Saqib Ilyas to Jeffrey, Marc and other fellows.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110386524182386895?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110386524182386895/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110386524182386895' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386524182386895'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386524182386895'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2004/12/matrix-and-fraction-classes.html' title='Matrix and Fraction classes'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110386514443471180</id><published>2004-12-24T10:04:00.000+05:00</published><updated>2004-12-24T10:12:24.433+05:00</updated><title type='text'>Second year in the university</title><content type='html'>There were two subjects related to programming in Second year: Data Structures and Object Oriented Programming using C#. Object oriented programming was taught by Sir Saqib Ilyas. He was a skilled teacher and told us the ups and downs of .Net framework and C#, from inheritance to polymorphism, from delegates to events, from Abstract classes to interfaces, from persistence(FileIO) to serialization, from Exception throwing to Exception handling, and many more. As a practice, I wrote my Fraction and Matrix classes to aid in mathematics problems. My final project was to develop an Address Book in C# which I did along with other group members.Data Structures was taught by Sir Zaffar Qasim. He was an experienced teacher and taught us useful stuff to enhance our programming skills, from Arrays to linked lists, from stacks to queues, from trees to graphs, from searching to sorting, and much more. I, after my exams, put Data Structures in practice by making a MazeSolver which finds the shortest path between two nodes in a 2D Maze.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110386514443471180?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110386514443471180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110386514443471180' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386514443471180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386514443471180'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2004/12/second-year-in-university.html' title='Second year in the university'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110386388251973512</id><published>2004-12-24T09:45:00.000+05:00</published><updated>2004-12-24T09:51:22.520+05:00</updated><title type='text'>First year in the university</title><content type='html'>In the first year of engineering, we were taught C by Madam Humera Noor. She was a nice teacher and introduced us about every element of C, from basics to advanced, from Text mode to Graphics, from structures to unions, from File IO to port addressing, from Pointers to variables to pointers to functions, and many more. I was able to make some logic games in C. As the final project of C, I made a Graph Plotter which was very appreciated by teachers and class fellows. The program inputs an expression from user and plots its graph in rectangular as well as polar mode. I further transformed the same program in VB also.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110386388251973512?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110386388251973512/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110386388251973512' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386388251973512'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386388251973512'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2004/12/first-year-in-university.html' title='First year in the university'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110386046257338288</id><published>2004-12-24T08:52:00.000+05:00</published><updated>2004-12-24T08:54:22.573+05:00</updated><title type='text'>Some words about my programming in early stages</title><content type='html'>I started to do programming when I was 12. At that time, I used to program in BASIC. Then, I learned some COBOL by seeing my brother programming in COBOL and a little VB as well. When I was 16, I participated in the National Software Competition held by CSP(Computer Society of Pakistan) in collaboration with Phillips. Alhamdulillah, I got 1st prize in it. Then I was sent to Singapore by CSP along with two other fellows, Zeeshan Zia and Ashar Akhtar. We participated in the ISSC(International Schools Software Competition). That was a nice trip, although we could not get any good ranking there.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110386046257338288?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110386046257338288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110386046257338288' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386046257338288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110386046257338288'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2004/12/some-words-about-my-programming-in.html' title='Some words about my programming in early stages'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-9637628.post-110317140514143995</id><published>2004-12-16T10:26:00.000+05:00</published><updated>2004-12-16T09:30:05.140+05:00</updated><title type='text'>My first message</title><content type='html'>Welcome to my blog. Here I will be posting my activities related to programming. Please check back soon.&lt;br /&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/9637628-110317140514143995?l=mehroz.blogspot.com'/&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://mehroz.blogspot.com/feeds/110317140514143995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='https://www.blogger.com/comment.g?blogID=9637628&amp;postID=110317140514143995' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110317140514143995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/9637628/posts/default/110317140514143995'/><link rel='alternate' type='text/html' href='http://mehroz.blogspot.com/2004/12/my-first-message.html' title='My first message'/><author><name>Syed Mehroz Alam</name><uri>http://www.blogger.com/profile/17198347155403197968</uri><email>noreply@blogger.com</email><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='OpenSocialUserId' value='04985064610482721099'/></author><thr:total xmlns:thr='http://purl.org/syndication/thread/1.0'>1</thr:total></entry></feed>