<?xml version="1.0" encoding="UTF-8"?> <rss version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Fundamental Provocation &#187; Microsoft</title> <atom:link href="http://www.ajaymatharu.com/tag/microsoft/feed/" rel="self" type="application/rss+xml" /><link>http://www.ajaymatharu.com</link> <description>Blog by Ajay Matharu</description> <lastBuildDate>Sun, 06 Nov 2011 15:09:39 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" /> <item><title>Add another application as child of BlogEngine.net</title><link>http://www.ajaymatharu.com/add-another-application-as-child-of-blogengine-net/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-another-application-as-child-of-blogengine-net</link> <comments>http://www.ajaymatharu.com/add-another-application-as-child-of-blogengine-net/#comments</comments> <pubDate>Fri, 28 Aug 2009 17:48:52 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[ASP.Net]]></category> <category><![CDATA[Development]]></category> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[BE]]></category> <category><![CDATA[Blog]]></category> <category><![CDATA[Blog Engine]]></category> <category><![CDATA[blogengine]]></category> <category><![CDATA[blogengine.net]]></category> <category><![CDATA[Code]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[VS]]></category> <category><![CDATA[vs.net]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1632</guid> <description><![CDATA[I have been getting good response for my post Integrating blog engine into existing site. One of the guy asked me this question on how can we do the opposite? He had a BlogEngine as parent site and needed some other site to be child of BlogEngine. So He posted on that and this is [...]]]></description> <content:encoded><![CDATA[<p>I have been getting good response for my post <a href="http://www.ajaymatharu.com/integrating-blogengine-into-an-existing-site/" target="_blank">Integrating blog engine into existing site</a>. One of the guy asked me this question on how can we do the opposite? He had a BlogEngine as parent site and needed some other site to be child of BlogEngine. So He posted on that and this is the answer he got for his question.</p><p>You need to make this change in your web.config file. If you want to have a website as child of BlogEngine</p><pre name="code" class="xml"><strong>&lt;location path="." inheritInChildApplications="false"&gt;</strong>
 &lt;system.web&gt;
 ..... existing content .....
 &lt;/system.web&gt;
<strong>&lt;/location&gt;</strong>

<strong>&lt;location path="." inheritInChildApplications="false"&gt;</strong>
 &lt;system.webServer&gt;
 ..... existing content .....
 &lt;/system.webServer&gt;
<strong>&lt;/location&gt;</strong></pre>]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/add-another-application-as-child-of-blogengine-net/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Windows 7 VS Mac OSX Snow Leopard Battle Begins</title><link>http://www.ajaymatharu.com/windows-7-vs-mac-osx-snow-leopard-battle-begins/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=windows-7-vs-mac-osx-snow-leopard-battle-begins</link> <comments>http://www.ajaymatharu.com/windows-7-vs-mac-osx-snow-leopard-battle-begins/#comments</comments> <pubDate>Tue, 25 Aug 2009 16:43:38 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Technology]]></category> <category><![CDATA[Apple]]></category> <category><![CDATA[MAC]]></category> <category><![CDATA[MAC OSX]]></category> <category><![CDATA[Mac Snow Leopard]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Microsoft Vs Apple]]></category> <category><![CDATA[Snow Leopard]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Windows 7]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1601</guid> <description><![CDATA[Apple&#8217;s latest operating system update, Mac OSX Snow Leopard, should be ready to roll on August 28, it&#8217;ll become the de facto competitor to Microsoft Windows 7 come October. Mac OSX Snow Leopard: Exposé Interactivity: The feature that shows all windows together is no longer a simple means for switching among them. It will be [...]]]></description> <content:encoded><![CDATA[<p>Apple&#8217;s latest operating system update, Mac OSX Snow Leopard, should be ready to roll on August 28, it&#8217;ll become the de facto competitor to Microsoft Windows 7 come October.</p><h2>Mac OSX Snow Leopard:</h2><p><strong>Exposé Interactivity:</strong> The feature that shows all windows together is no longer a simple means for switching among them. It will be possible to drag content from one previewed window to the other. Exposé will also work for individual applications by clicking and holding their icons in the dock. As a workaround for the miniscule preview windows in the dock, these improvements aren&#8217;t bad.</p><p><strong>Smart Services:</strong> Control-clickers will delight in new context-sensitive menus that appear when you perform the Windows-equivalent of a right click. For instance, highlighting and control-clicking text in a Web browser lets you send the text to an e-mail or import it to iTunes as a spoken word track.</p><p><strong>Smaller Install:</strong> Pony up the $29 to upgrade to Snow Leopard, and you&#8217;ll get 7 GB of your hard drive back. That&#8217;s not a feature, per se, but it&#8217;s certainly an innovation. The last thing we want is an operating system that&#8217;s continually gaining weight.</p><p><strong>VoiceOver:</strong> Though it won&#8217;t be used by the majority of Mac owners, VoiceOver is arguably the most expansive addition to OSX. This tool for visually-impaired users essentially turns the trackpad into a screen reader, supporting special gestures to switch between windows and audio feedback when clicking.</p><p><strong>Chinese Character Input:</strong> Okay, most of us won&#8217;t use this feature either, but it&#8217;s still pretty cool. After opening an input window, users can draw sketch Chinese characters on their trackpads and then select from a list of possibilities. It&#8217;s as good a reason as any to start learning.</p><h2>Windows 7:</h2><p><strong>Invisible Windows:</strong> The answer, of sorts, to OSX&#8217;s Exposé lets users turn all open windows into bare outlines by moving the mouse to the screen&#8217;s bottom right corner. From there, shaking a window makes all others minimize, and shaking it again brings them back up. A related window-management feature lets you quickly size windows to half the screen, allowing for side-by-side comparisons.</p><p><strong>Jump Lists:</strong> It&#8217;s no longer necessary to hunt through a folder of recent documents to pick up work where you left off. By right-clicking icons Windows 7&#8242;s new dock (a feature cribbed from OSX), users can jump to recent documents or perform common tasks, such as resuming an old playlist in Windows Media Player.</p><p><strong>Internet Access to Home Media:</strong> Got two computers, or a friend who wants to look at photos from your last get-together? Clicking a button within Windows Media Player opens up photos, videos, and music for streaming to other PCs. No party will ever be safe again from your weird musical tastes.</p><p><strong>Touch Friendly:</strong> Should the touchscreen craze finally take off, Windows 7 will be ready with a mode that&#8217;s tailor made for tablets. Start menu and taskbar icons are larger, and Web browsing can be done with a finger. Multitouch is also supported, with pinch and twist gestures for zooming and rotating.</p><p><strong>HomeGroup: </strong>Sharing content between networked computers is nothing new, but Windows 7 makes it easier with HomeGroup. The feature lets any new computer joining your home network link up to existing ones, allowing for file transfers. Printers are also shared automatically, so no one has to be kicked off the master computer to print a document</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/windows-7-vs-mac-osx-snow-leopard-battle-begins/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Download and Test Windows7</title><link>http://www.ajaymatharu.com/download-and-test-windows7/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=download-and-test-windows7</link> <comments>http://www.ajaymatharu.com/download-and-test-windows7/#comments</comments> <pubDate>Fri, 24 Jul 2009 03:34:41 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Technology]]></category> <category><![CDATA[Launch]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Windows 7]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=765</guid> <description><![CDATA[As anticipated, Microsoft used CES to launch the beta of Windows 7, posting the preview of the company&#8217;s next operating system to its developer download services. Microsoft made it clear that the beta will be available for a &#8220;limited time,&#8221; and said it will cap the beta after the first 2.5 million downloads. IT professionals [...]]]></description> <content:encoded><![CDATA[<p>As anticipated, Microsoft  used CES to launch the beta of Windows 7, posting the preview of the company&#8217;s next operating system to its developer download services.</p><p>Microsoft made it clear that the beta will be available for a &#8220;limited time,&#8221; and said it will cap the beta after the first 2.5 million downloads.</p><p>IT professionals and developers who subscribe to the Microsoft Developer Network (MSDN) or TechNet services, however, get a jump on the public at large; they can grab the beta right away.</p><p>The beta, which Microsoft called &#8220;feature complete,&#8221; requires a PC with a 1GHz processor, 1GB of memory, 16GB of available hard disk space and support for DX9 graphics with 128MB of memory, according to Microsoft, which also warned that the recommendations could change for the final version. The beta only supports an upgrade from Windows Vista Service Pack 1 (SP1).</p><p>Microsoft declined to get specific about upgrade paths for the final version of Windows 7, or to spell out how many editions it would produce and what it would charge for each. The beta is &#8220;roughly equivalent&#8221; to the Ultimate version of Vista , it added.</p><p>Both 32- and 64-bit versions of the beta will be available for downloading, but only English, German, Japanese, Arabic and Hindi editions will be posted Friday. Other language versions are expected at the product&#8217;s launch.</p><p>To install the beta, users must have a DVD drive able to burn disk images to a blank disc. The beta, said Microsoft in a follow-up blog it published Wednesday, will be available as an .iso file. It did not spell out the size of the download.</p><p>The beta expires on Aug. 1, 2009.</p><p>The <a href="http://www.microsoft.com/windows/windows-7/" target="_blank">Windows 7 download</a> will be posted to Microsoft&#8217;s site on Friday, Jan. 9.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/download-and-test-windows7/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Add drop down list to Excel</title><link>http://www.ajaymatharu.com/add-drop-down-list-to-excel/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=add-drop-down-list-to-excel</link> <comments>http://www.ajaymatharu.com/add-drop-down-list-to-excel/#comments</comments> <pubDate>Mon, 13 Jul 2009 15:27:38 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[data entry]]></category> <category><![CDATA[drop down list]]></category> <category><![CDATA[excel sheet]]></category> <category><![CDATA[highlight]]></category> <category><![CDATA[Microsoft Excel]]></category> <category><![CDATA[Microsoft Office]]></category> <category><![CDATA[office applications]]></category><guid isPermaLink="false">http://ajaymatharu.wordpress.com/?p=719</guid> <description><![CDATA[In Access, you can limit user entries by forcing users to choose a value from a list control. Office applications use the same functionality in built-in drop-down lists. For instance, the Highlight and Font Color controls on most Formatting toolbars use this flexible tool. Simply click the small triangle to the right of the icon [...]]]></description> <content:encoded><![CDATA[<div class="entry"><p>In Access, you can limit user entries by forcing users to choose a value from a list control. Office applications use the same functionality in built-in drop-down lists. For instance, the Highlight and Font Color controls on most Formatting toolbars use this flexible tool. Simply click the small triangle to the right of the icon to display a list of choices.</p><p>You can create the same type of control for your users in an Excel sheet, but the process isn’t intuitive. The option is in the Data Validation feature. Fortunately, once you know the feature exists, it’s easy to implement. You need only two things: a list and a data entry cell. The following sheet shows a simple drop-down list in an Excel sheet.</p><p><img class="aligncenter size-full wp-image-720" title="excel" src="http://ajaymatharu.files.wordpress.com/2008/12/excel.jpg" alt="excel" width="320" height="115" /></p><p>Users click the drop-down arrow to display a list of items from A1:A4. If a user tries to enter something that isn’t in the list, Excel rejects the entry. To add this drop-down list to a sheet, do the following:</p><ol><li>Create the list in cells A1:A4. Similarly, you can enter the items in a single row, such as A1:D4.</li><li>Select cell E3. (You can position the drop-down list in most any cell or even multiple cells.)</li><li>Choose Validation from the Data menu.</li><li>Choose List from the Allow option’s drop-down list. (See, they’re everywhere.)</li><li>Click the Source control and drag to highlight the cells A1:A4. Alternately, simply enter the reference (=$A$1:$A$4).</li><li>Make sure the In-Cell Dropdown option is checked. If you uncheck this option, Excel still forces users to enter only list values (A1:A4), but it won’t present a drop-down list.</li><li>Click OK.</li></ol><p>You can add the drop-down list to multiple cells. Select the range of data input cells (step 2) instead of a single cell. It even works for noncontiguous cells. Hold down the Shift key while you click the appropriate cells.</p><p>It’s worth noting that the drop-down arrow is visible only when the cell is active.</p></div><p></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/add-drop-down-list-to-excel/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>GOOGLE Chrome OS &#8211; Can it kill MICROSOFT?</title><link>http://www.ajaymatharu.com/google-chrome-os-can-it-kill-microsoft/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-chrome-os-can-it-kill-microsoft</link> <comments>http://www.ajaymatharu.com/google-chrome-os-can-it-kill-microsoft/#comments</comments> <pubDate>Thu, 09 Jul 2009 07:56:29 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Chrome]]></category> <category><![CDATA[Google]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Chrome OS]]></category> <category><![CDATA[Chrome vs Windows]]></category> <category><![CDATA[Google Chrome]]></category> <category><![CDATA[Google Operating System]]></category> <category><![CDATA[Google OS]]></category> <category><![CDATA[Google vs Microsoft]]></category> <category><![CDATA[Microsoft Windows]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[operating system]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1483</guid> <description><![CDATA[Google has announced a new operating system project: Google Chrome OS. This is separate from Android, Google&#8217;s mobile phone OS. Chrome OS is a &#8220;open source, lightweight operating system&#8221;. It won&#8217;t be available until the second half of 2010, but the source code will be made available later this year. At the heart of the [...]]]></description> <content:encoded><![CDATA[<p>Google has announced a new operating system project: Google Chrome OS. This is separate from Android, Google&#8217;s mobile phone OS.</p><p>Chrome OS is a &#8220;open source, lightweight operating system&#8221;. It won&#8217;t be available until the second half of 2010, but the source code will be made available later this year.</p><p>At the heart of the OS is Google&#8217;s Chrome browser. In fact, the operating system appears to be little more than a secure platform for the browser to run upon. Google says the following: &#8220;Speed, simplicity and security are the key aspects of Google Chrome OS. We&#8217;re designing the OS to be fast and lightweight, to start up and get you onto the web in a few seconds.&#8221;</p><p>Some reasons Google Chrome OS will do wonders,</p><p>- It is OPEN SOURCE</p><p>Chrome OS appears to be based on a Linux kernel with a custom windowing system. It&#8217;s worth remembering that windowing/desktop interfaces matter less when you consider this is simply a browser-based operating system designed to get you online and push you towards online applications.</p><p>- GOOGLE is taking on MICROSOFT</p><p>Google is producing a product that directly competes with Windows. To add insult to injury, it&#8217;s open source &#8212; the one thing that Microsoft really hates.</p><p>By using open source, Google is positioning itself diametrically opposite Microsoft. In some ways, Google had no choice but to embrace open source.</p><p>- Chrome OS is just another sign that open source is going for an all-out attack on the netbook arena.</p><p>With Microsoft allegedly limiting the power and size of discount Windows XP-licensed netbooks, the door is open for Chrome OS to back better machines.</p><p>Some challenges for Google Chrome OS,</p><p>- Netbooks aren&#8217;t the world</p><p>Netbooks may be important, but they remain a tiny part of the world&#8217;s PC sales. Google&#8217;s bet is predicated on strong demand for weak computers. It also takes advantage of a kink in Microsoft&#8217;s armor: MS actually needs to sell its operating systems while Google can, for now, afford to just give Chrome away.</p><p>Google is counting on users of small computers not being tied to specific applications and being willing to accept low cost and, perhaps, ease of use over a more familiar and more powerful environment.</p><p>- Microsoft can shoot to kill</p><p>I&#8217;m Steve Ballmer and here&#8217;s what I say: Windows 7 NB (for netbooks) will be free through all of 2010. Starting right now. Anything Google can do, Microsoft can&#8211;at least theoretically&#8211;do better. Google wants to give away a netbook operating system? So can Microsoft.</p><p>It will be hard for regulators to complain as Microsoft is now reacting to a powerful competitor&#8217;s frontal assault on Windows. And placing and end date on the freebie&#8211;which can always be extended&#8211;allows MS to charge once Chrome is vanquished.</p><p>- Google Docs is the best they can do</p><p>Google&#8217;s cloud computing strategy so far is &#8220;applications lite,&#8221; which may be fine for occasional use, just like a netbook, but don&#8217;t meet enough needs to be a real solution.</p><p>- Compatibility</p><p>Compatibility, both hardware and software was the major reason why the world anointed Microsoft its King of Computing.</p><p>Compatibility really matters and while Chrome&#8217;s world may be complete as far as it reaches, there is always more. That&#8217;s why Windows, frustrating as it may be, will prevail. The &#8220;20&#8243; in the 80/20 Rule matters a lot more than proponents of &#8220;80 is good enough&#8221; like to think.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/google-chrome-os-can-it-kill-microsoft/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Bing beats Google to launch twitter search</title><link>http://www.ajaymatharu.com/bing-beats-google-to-launch-twitter-search/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=bing-beats-google-to-launch-twitter-search</link> <comments>http://www.ajaymatharu.com/bing-beats-google-to-launch-twitter-search/#comments</comments> <pubDate>Sun, 05 Jul 2009 16:15:12 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Search Engine]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[Bing]]></category> <category><![CDATA[Bing Vs Google]]></category> <category><![CDATA[Microsoft Bing]]></category> <category><![CDATA[Microsoft Bing Vs Google]]></category> <category><![CDATA[Microsoft vs Google]]></category> <category><![CDATA[Search]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1415</guid> <description><![CDATA[Day before I posted about Bing Vs Google, this is certainly one area where Microsoft Bing has outdone Google. Microsoft Corp.&#8217;s Bing has beaten Google Inc. to the punch. Google has been rumored to be casting an eye toward creating a tool for searching social networking sites, like Twitter. But today, Bing came out and [...]]]></description> <content:encoded><![CDATA[<p>Day before I posted about <a href="http://www.ajaymatharu.com/2009/07/03/google-vs-bing-has-google-lost/" target="_blank">Bing Vs Google</a>, this is certainly one area where Microsoft Bing has outdone Google.</p><p>Microsoft Corp.&#8217;s Bing has beaten Google Inc. to the punch.</p><p>Google has been rumored to be casting an eye toward creating a tool for searching social networking sites, like Twitter. But today, Bing came out and did it.</p><p>When someone does a search on Bing for Al Gore in association with Twitter, for instance, the user should see Gore&#8217;s latest tweets come up among the search results.</p><p>If online chatter succeeds, Bing won&#8217;t be alone for long in offering this Twitter-search feature.</p><p>A possible Google microblogging search service that would focus on finding Twitter posts has been the subject of online chatter in recent weeks.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/bing-beats-google-to-launch-twitter-search/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Google Vs Bing &#8211; Has Google Lost?</title><link>http://www.ajaymatharu.com/google-vs-bing-has-google-lost/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=google-vs-bing-has-google-lost</link> <comments>http://www.ajaymatharu.com/google-vs-bing-has-google-lost/#comments</comments> <pubDate>Sat, 04 Jul 2009 03:54:22 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Google]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Search Engine]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Web]]></category> <category><![CDATA[Bing]]></category> <category><![CDATA[Google Vs Bing]]></category> <category><![CDATA[Search]]></category> <category><![CDATA[Search Engines]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1413</guid> <description><![CDATA[Have you heard the news? Microsoft&#8217;s Bing is taking a bite out of Google, boasting first-month market share gains while the competition&#8217;s stronghold slips away! At least, that&#8217;s what some headlines around the Web might lead you to believe this week. The truth, though, is that the change is not nearly as dramatic as it [...]]]></description> <content:encoded><![CDATA[<p>Have you heard the news? Microsoft&#8217;s Bing is taking a bite out of Google, boasting first-month market share gains while the competition&#8217;s stronghold slips away! At least, that&#8217;s what some headlines around the Web might lead you to believe this week.</p><p>The truth, though, is that the change is not nearly as dramatic as it appears at a glance. While Bing has, according to certain data, minimally increased Microsoft&#8217;s search market share, Google&#8217;s position has not significantly shifted.</p><p><strong>Bing vs. Google: The Buzz</strong></p><p>All the buzz comes from a new search market analysis by Web stats company StatCounter. Bing, the researchers say, secured 8.23 percent of all U.S.-based searches for the month of June. (Bing officially launched on June 3.) The previous month, StatCounter shows Microsoft sitting at 7.81 percent of U.S. searches. That amounts to a month-to-month increase of just under half a percentage point following Bing&#8217;s debut.</p><p>Google, during that same time span, dropped from 78.72 percent to 78.48 of U.S. searches &#8212; a decrease of 0.24 percent, according to StatCounter&#8217;s data. Looking back to April, the difference becomes slightly less apt to be obliterated by a sneeze: Google&#8217;s two-month drop amounts to 0.59 percent, while Microsoft&#8217;s April-to-June gain comes out to 1.02 percent.</p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/google-vs-bing-has-google-lost/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>Find out Nth highest value in SQL</title><link>http://www.ajaymatharu.com/find-out-nth-highest-value-in-sql/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=find-out-nth-highest-value-in-sql</link> <comments>http://www.ajaymatharu.com/find-out-nth-highest-value-in-sql/#comments</comments> <pubDate>Sun, 21 Jun 2009 07:51:52 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Development]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[SQL]]></category> <category><![CDATA[Nth highest]]></category> <category><![CDATA[Query]]></category> <category><![CDATA[SQL 2005]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1367</guid> <description><![CDATA[Since I am looking for a job change and this is the question I&#8217;m being asked in all of my interviews, I am sharing this with everyone hoping this will help you guys. The most common type of question is find out the 5th highest value, find out the 2nd highest value, and so on. [...]]]></description> <content:encoded><![CDATA[<p>Since I am looking for a job change and this is the question I&#8217;m being asked in all of my interviews, I am sharing this with everyone hoping this will help you guys.</p><p>The most common type of question is find out the 5th highest value, find out the 2nd highest value, and so on.</p><p>The solution for this question goes like this, I am going to fetch 5th highest salary for an employee.</p><pre name="code" class="sql">
Select top 1 FirstName, Salary From Employees Where Salary Not In (Select Distinct Top 4 Salary From Employees order by Salary desc) order by Salary desc
</pre><p>Enjoy and have fun <img src='http://www.ajaymatharu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/find-out-nth-highest-value-in-sql/feed/</wfw:commentRss> <slash:comments>3</slash:comments> </item> <item><title>Impersonation in Sharepoint &#8211; MOSS/WSS</title><link>http://www.ajaymatharu.com/impersonation-in-sharepoint-mosswss/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=impersonation-in-sharepoint-mosswss</link> <comments>http://www.ajaymatharu.com/impersonation-in-sharepoint-mosswss/#comments</comments> <pubDate>Wed, 10 Jun 2009 04:42:12 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[.Net]]></category> <category><![CDATA[ASP.Net]]></category> <category><![CDATA[Sharepoint]]></category> <category><![CDATA[C#.Net]]></category> <category><![CDATA[Impersonation]]></category> <category><![CDATA[Microsoft]]></category> <category><![CDATA[MOSS]]></category> <category><![CDATA[Visual Studio]]></category> <category><![CDATA[vs.net]]></category> <category><![CDATA[WSS]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1349</guid> <description><![CDATA[Here is the little code that you can use to impersonate any user in sharepoint. This will code will pretend that you are logged in as the user who is impersonated and will be allowed access to all the features and inherits all the rights for that person. This is mainly used to do something [...]]]></description> <content:encoded><![CDATA[<p>Here is the little code that you can use to impersonate any user in sharepoint. This will code will pretend that you are logged in as the user who is impersonated and will be allowed access to all the features and inherits all the rights for that person. This is mainly used to do something for which the impersonating person has rights and you other user do not have rights.</p><pre name="code" class="c-sharp">
SPWeb web = SPContext.Current.Web.Site.OpenWeb();
SPUser user = web.AllUsers[username];
SPUserToken userToken = user.UserToken;
SPSite site = new SPSite(SPContext.Current.Web.Site.Url.ToString(), userToken);
web = site.OpenWeb();
</pre><p>Here username is the name username of the user who you want to impersonate as.</p><p>Hope this helps <img src='http://www.ajaymatharu.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /></p> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/impersonation-in-sharepoint-mosswss/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>To add an unknown extension in IIS</title><link>http://www.ajaymatharu.com/to-add-an-unknown-extension-in-iis/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=to-add-an-unknown-extension-in-iis</link> <comments>http://www.ajaymatharu.com/to-add-an-unknown-extension-in-iis/#comments</comments> <pubDate>Mon, 20 Apr 2009 13:54:18 +0000</pubDate> <dc:creator>Ajay Matharu</dc:creator> <category><![CDATA[Microsoft]]></category> <category><![CDATA[Technical]]></category> <category><![CDATA[Technology]]></category> <category><![CDATA[Extensions]]></category> <category><![CDATA[IIS]]></category> <category><![CDATA[Management]]></category><guid isPermaLink="false">http://www.ajaymatharu.com/?p=1143</guid> <description><![CDATA[To add an unknown extension in IIS for your IIS to detect that extension perform the following steps. To define a MIME type for a specific extension, follow these steps: Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click Properties. Click MIME Types. Click New. In the Extension box, [...]]]></description> <content:encoded><![CDATA[<p>To add an unknown extension in IIS for your IIS to detect that extension perform the following steps.</p><p>To define a MIME type for a specific extension, follow these steps:</p><ol><li>Open the IIS Microsoft Management Console (MMC), right-click the local computer name, and then click <strong>Properties</strong>.</li><li>Click <strong>MIME Types</strong>.</li><li>Click <strong>New</strong>.</li><li>In the <strong>Extension</strong> box, type the file name extension that you want (for example, <span class="userInput">.pdb</span>).</li><li>In the <strong>MIME Type</strong> box, type <span class="userInput">application/octet-stream</span>.</li><li>Apply the new settings. Note that you must restart the World Wide Web Publishing Service or wait for the worker process to recycle for the changes to take effect. In this example, IIS now serves files with the .pdb extension.</li></ol> ]]></content:encoded> <wfw:commentRss>http://www.ajaymatharu.com/to-add-an-unknown-extension-in-iis/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
