<?xml version="1.0" encoding="us-ascii" ?>
<!-- generator="b2/0.6pre3" -->
<rss version="2.0" xmlns:dc='http://purl.org/dc/elements/1.1/' xmlns:content='http://purl.org/rss/1.0/modules/content/'>
	<channel>
		<title>Sanjay's Coding Tips</title>
		<link>http://sastools.com/b2/index.php</link>
		<description>This is where I keep track of little programming tips and cool tools I come across on the web. The occasional political rants are also thrown in.</description>
		<language>en-us</language>
		<copyright>Copyright 2003, Sanjay Sheth</copyright>		<dc:creator>Sanjay Sheth</dc:creator>		<pubDate>Thu, 07 Jun 2007 19:17:31 GMT</pubDate>
		<lastBuildDate>Thu, 07 Jun 2007 19:17:31 GMT</lastBuildDate>
		<docs>http://backend.userland.com/rss092</docs>
		<webMaster>sanjay@sastools.com</webMaster>
		<generator>b2</generator>
		<item>
			<title>Firefox Tip: Paste multiple lines to input boxes </title>
			<pubDate>Thu, 07 Jun 2007 19:14:05 GMT</pubDate>
			<description>&lt;a href=&quot;http://www.lifehacker.com/software/firefox-tip/paste-multiple-lines-to-input-boxes-266870.php&quot;&gt;Firefox Tip: Paste multiple lines to input boxes&lt;/a&gt;.
&lt;br /&gt;&lt;br /&gt;
I've had this exact problem for years and it always annoyed me.. who knew there was a simple Firefox config fix for it?
&lt;blockquote&gt;If you've ever tried copying and pasting a multi-line address into Google Maps just to realize that an input box will only take one line at a time &quot;meaning that you have to copy and paste each line individually&quot;, there's a simple Firefox tweak that will solve this problem:
&lt;br /&gt;&lt;br /&gt;
Type &quot;about:config&quot; in the location bar. In the &quot;Filter&quot; field type &quot;singleline.&quot; You can set the value to 2 for editor.singleLine.pasteNewlines, which will allow pasting of multiple lines to input boxes.&lt;/blockquote&gt;
&lt;br /&gt;via &lt;a href='http://www.lifehacker.com/software/firefox-tip/paste-multiple-lines-to-input-boxes-266870.php'&gt;Lifehacker&lt;/a&gt;&lt;br /&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394319' /&gt;</description>
			<link>http://sastools.com/b2/post/79394319</link>
			<category>Cool Tools</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394319</guid>
		</item>
		<item>
			<title>SqlDMO.Net -- .Net wrapper library of SQL-DMO for managing MS-SQL databases</title>
			<pubDate>Tue, 20 Feb 2007 21:47:38 GMT</pubDate>
			<description>
&lt;a href=''&gt;SQLDMO.NET&lt;/a&gt; is a very handy little (free, open-source) wrapper library that I ran across recently that makes it much simpler to interop with the SQL-DMO COM object. DMO (or Database Management Object) is a very handy object which lets you directly manage a Microsoft SQL server (7.0 or 2000) to do actions like what are listed below. 
&lt;br /&gt;&lt;br /&gt;
I use it primarily for database versioning my .NET program. When the program starts up, it queries the database to check the version and based on that, it will create or adjust all the various tables and columns that may have changed between the program's db version and the current version. This makes it very easy to rollout updates without having to worry about the database not being in sync with the program. Also, you have to use DMO to effectively backup and restore a database from within a program.

&lt;blockquote&gt;
&lt;a href=''&gt;SQLDMO.NET&lt;/a&gt; is a light weight .NET wrapper of the (COM) SQLDMO object and allows .NET developers the ability to manage SQL Server 7.0/2000 databases. This library provides an alternative to using the full strength of SQL SMO (e.g. to avoid installing SQL SMO and/or its prerequisites such as SP2 on Windows XP), or dealing with SQLDMO directly via interop. SQLDMO.NET is characterized by a limited set of extremely practical services, such as:
&lt;ul&gt;
&lt;li&gt;Finding all SQL Servers on a local network node&lt;/li&gt;
&lt;li&gt;Enumerating registered SQL Server groups and servers&lt;/li&gt;
&lt;li&gt;Creating a database via a SQL script&lt;/li&gt;
&lt;li&gt;Generating a SQL script of DDL for an existing database&lt;/li&gt;
&lt;li&gt;Creating a new user login&lt;/li&gt;
&lt;li&gt;Rebuilding a database with a modified SQL script&lt;/li&gt;
&lt;/ul&gt;
&lt;/blockquote&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394318' /&gt;</description>
			<link>http://sastools.com/b2/post/79394318</link>
			<category>Databases</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394318</guid>
		</item>
		<item>
			<title>Windows Desktop Search 3.0 &#38; Network Drives</title>
			<pubDate>Wed, 25 Oct 2006 21:31:11 GMT</pubDate>
			<description>I've been using &lt;a href='http://www.microsoft.com/windows/desktopsearch/downloads/default.mspx#A1'&gt;WDS 2.6 &amp;#38; MSN searchbar&lt;/a&gt; for several months now. It was working fairly well and indexed all my outlook files, local files, and network files very well. I saw on &lt;a href='http://www.larkware.com/dg6/TheDailyGrind999.aspx'&gt;Mike Gunderloy's weblog&lt;/a&gt; that Microsoft had released a &lt;a href='http://www.microsoft.com/downloads/details.aspx?familyid=4982072F-7660-492F-B96C-E42B4F5AB4AA&amp;#38;displaylang=en'&gt;new version of WDS 3.0&lt;/a&gt; and went out to install it. After I got it all installed, I realized that the features to enable network searching had disappeared. Looking in the WDS help, it said mapped network drives should be accessible but there's no place that I could see in the settings to start searching them again.
&lt;br /&gt;
&lt;br /&gt;
Looking around on the Net, I didn't really see this issue addressed anywhere. I was about to give up and go back to the old MSN search when I stumbled across Dan Appleman's new Google search engine for Microsoft stuff: &lt;a href='http://searchdotnet.com/'&gt;SearchDotNet.com&lt;/a&gt;. I tried looking for WDS info on this new filtered search engine and that led me to the &lt;a href='http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=127&amp;#38;SiteID=1'&gt;MSDN forum for WDS&lt;/a&gt;. The forum has an &lt;a href='http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=660506&amp;#38;SiteID=1'&gt;old post&lt;/a&gt; discussing &lt;a href='http://www.microsoft.com/downloads/details.aspx?FamilyID=f7e981d9-5a3b-4872-a07e-220761e27283&amp;#38;displaylang=en'&gt;an addin&lt;/a&gt; that you can install that gives you back the UNC searching feature (this was when WDS was still in beta stage...). 
&lt;br /&gt;
&lt;br /&gt;
 I think it was silly for Microsoft to release the final version of WDS without integrating this in to start with but for anyone else who gets stuck in this same situation (WDS 3.0 without network file searches), hopefully, this post will show them how to make WDS 3.0 work like the prior one. Just install the &lt;a href='http://www.microsoft.com/downloads/details.aspx?FamilyID=f7e981d9-5a3b-4872-a07e-220761e27283&amp;#38;displaylang=en'&gt;Windows Desktop Search: Add-in for UNC/FAT&lt;/a&gt; and reboot... you should see a new tab in the Advanced Options to add a UNC path to your search locations list.
&lt;br /&gt;
&lt;br /&gt;
Now I just need to figure out how to get rid of the annoying &quot;magnifying glass&quot; icon from the search deskbar... I prefer the clean look of just the textbox. (&lt;b&gt;Update&lt;/b&gt;: I figured this out too.. set the registry key HKCU\Software\Microsoft\Windows Desktop\Search\DB\EnableGoButton = 0).
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Update&lt;/b&gt;: Here's a &lt;a href='http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=256113&amp;#38;SiteID=1'&gt;list of other useful WDS related links&lt;/a&gt;.
&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394317' /&gt;</description>
			<link>http://sastools.com/b2/post/79394317</link>
			<category>Cool Tools</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394317</guid>
		</item>
		<item>
			<title>VistaDB :- Handy Embedded SQL Database for .NET</title>
			<pubDate>Mon, 31 Oct 2005 21:35:40 GMT</pubDate>
			<description>VistaDB is offering a free copy of their &lt;a href=&quot;http://www.vistadb.net/blogoffer.asp?ref=blogger&quot;&gt;VistaDB 2.1 &lt;/a&gt; edition to any .NET blogger that posts a bit about their product on their blog .. A free trial is also available for download. One of the best features is that the database is XCopy-deployable and that it scales easily to massive sizes.

&lt;blockquote&gt;
VistaDB is a small-footprint, embedded SQL database alternative to Jet/Access, MSDE and SQL Server Express 2005 that enables developers to build .NET 1.1 and .NET 2.0 applications. Features SQL-92 support, small 500KB embedded footprint, free 2-User VistaDB Server for remote TCP/IP data access, royalty free distribution for both embedded and server, Copy 'n Go! deployment, managed ADO.NET Provider, data management and data migration tools. 
&lt;/blockquote&gt;
&lt;br /&gt;(via Cory's &lt;a href=&quot;http://addressof.com/blog/archive/2005/10/27/8817.aspx&quot;&gt;AddressOf.com&lt;/a&gt;)&lt;br /&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394315' /&gt;</description>
			<link>http://sastools.com/b2/post/79394315</link>
			<category>Databases</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394315</guid>
		</item>
		<item>
			<title>Fix for 'hibernation kills my USB' issue....</title>
			<pubDate>Mon, 03 Oct 2005 03:33:09 GMT</pubDate>
			<description>Here's a problem that I've been seeing on my laptop for the past few months ... USB devices would never reconnect after I came out of hibernation. I tried everything that I could think of to fix it (reinstall drivers, install all XP patches, search web forums, with no success) .. until I just ran across the following little nugget on Steve Bass' PCWorld column:&lt;a href=&quot;http://www.pcworld.com/howto/article/0,aid,122476,00.asp&quot;&gt;Smart, Free Fixes for Your USB Hassles&lt;/a&gt; column.

&lt;blockquote&gt;
&lt;b&gt;Hibernation Blues&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
The Hassle: When my system comes back from hibernation or standby mode, some of my USB devices just keep on dozing.&lt;br /&gt;
&lt;br /&gt;
The Fix: That happens because Windows XP wants to conserve power, so it turns off the USB root hubs. You can change the default setting: Open Control Panel, Performance and Maintenance (if in Category view), System, Hardware, Device Manager, and click Universal Serial Bus controllers. Double-click USB Root Hub, choose the Power Management tab, and then &lt;b&gt;uncheck 'Allow the computer to turn off this device to save power'&lt;/b&gt;. Repeat this procedure with each occurrence of a USB root hub. 
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Note: On a notebook, this trick will cost you some battery life.&lt;/b&gt;
&lt;/blockquote&gt;
&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394314' /&gt;</description>
			<link>http://sastools.com/b2/post/79394314</link>
			<category>Other Coding</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394314</guid>
		</item>
		<item>
			<title>Microsoft Developer Toolbar for IE announced at PDC</title>
			<pubDate>Tue, 20 Sep 2005 02:54:54 GMT</pubDate>
			<description>Microsoft has created its own HTML Developer Toolbar (similar to Fiddler and other similar toolbars on Firefox): &lt;a href=&quot;http://www.microsoft.com/downloads/details.aspx?FamilyID=e59c3964-672d-4511-bb3e-2d5e1db91038&amp;#38;displaylang=en&quot;&gt;Developer Toolbar for IE&lt;/a&gt; and released it during the recent PDC.
&lt;blockquote&gt;
With the IE Dev Toolbar, you have several features at your fingertips to go deep into existing pages or pages that you are currently creating. You will be able to explore the DOM tree and find elements on the page, disable IE settings, view information, outline elements, control images, resize pages to common screen resolutions and have a powerful ruler that lets you measure pixel perfect content on your page. It also will help you to validate against existing standards and provides pointers to W3C specs.
&lt;/blockquote&gt;
&lt;br /&gt;via Microsoft's &lt;a href=&quot;http://blogs.msdn.com/ie/archive/2005/09/16/469686.aspx&quot;&gt;IEBlog&lt;/a&gt;&lt;br /&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394311' /&gt;</description>
			<link>http://sastools.com/b2/post/79394311</link>
			<category>DHTML / DOM</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394311</guid>
		</item>
		<item>
			<title>Patriotism is not the same as Piety</title>
			<pubDate>Sun, 03 Jul 2005 19:01:43 GMT</pubDate>
			<description>&lt;a href=&quot;http://www.washingtonpost.com/wp-srv/opinion/2005/pledge/altpledge_main.html#variations&quot;&gt;19 Variations on Pledge of Allegiance&lt;/a&gt; :: WashingtonPost.com
&lt;blockquote&gt;
I love our imperfect country, and I love it partly for the ideal of respect for differences, the dignity of the unique individual. No communal incantation can embody that ideal. I don't believe that I got much from chanting sentences of allegiance in school each morning. Patriotism is not the same as piety. My classmates and I would have been better off, and it would be more in the best American spirit, if the teacher had read a different passage from &quot;Leaves of Grass&quot; each morning. 
&lt;br /&gt;&lt;br /&gt;
- &lt;a href=&quot;http://www.washingtonpost.com/wp-srv/opinion/2005/pledge/altpledge_pinsky.html&quot;&gt;Robert Pinsky&lt;/a&gt;, former poet laureate
&lt;/blockquote&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394310' /&gt;</description>
			<link>http://sastools.com/b2/post/79394310</link>
			<category>Current Events</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394310</guid>
		</item>
		<item>
			<title>Internet Explorer Fitted-Width Printing </title>
			<pubDate>Sun, 12 Jun 2005 06:45:01 GMT</pubDate>
			<description>&lt;a href=&quot;http://www.visiontech.ltd.uk/software/#IEPrint&quot;&gt;Internet Explorer Fitted-Width Printing (@ VisionTech)&lt;/a&gt;
&lt;blockquote&gt;
Have you ever printed a web page only to find that the right-hand edge is missing? This is for you. First, this download page will install the control. After installation, close the browser window and reopen a new one. You should have a new printer icon with a small 'W' next to it on the toolbar. Press this to bring up a print dialog which will then print the page fitted to the width of your paper. Alternatively, hold down the Control key while pressing the button and you will get a print preview instead. 
&lt;/blockquote&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394309' /&gt;</description>
			<link>http://sastools.com/b2/post/79394309</link>
			<category>Cool Tools</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394309</guid>
		</item>
		<item>
			<title>AutoStitch -- Free program to create a panorama from multiple images</title>
			<pubDate>Sun, 01 May 2005 21:25:06 GMT</pubDate>
			<description>&lt;a href=&quot;http://www.cs.ubc.ca/~mbrown/autostitch/autostitch.html&quot;&gt;AutoStitch&lt;/a&gt; is a free program which will take a multiple digital photos of an area and blend them together smoothly to create a panoramic photo automatically.
&lt;blockquote&gt;
AutoStich is the world's first fully automatic 2D image stitcher. Capable of stitching full view panoramas without any user input whatsoever, AutoStitch is a breakthrough technology for panoramic photography, VR and visualisation applications.
&lt;/blockquote&gt;
&lt;br /&gt;from &lt;a href=&quot;http://www.lifehacker.com/software/digital-photos/download-of-the-day-autostitch-101666.php&quot;&gt;Lifehacker&lt;/a&gt;&lt;br /&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394308' /&gt;</description>
			<link>http://sastools.com/b2/post/79394308</link>
			<category>Cool Tools</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394308</guid>
		</item>
		<item>
			<title>PDFCreator -- freeware replacement for Adobe Acrobat?</title>
			<pubDate>Thu, 10 Mar 2005 07:05:38 GMT</pubDate>
			<description>&lt;a href=&quot;http://sector7g.wurzel6.de/pdfcreator/index_en.htm&quot;&gt;PDFCreator&lt;/a&gt; is a freeware tool that can replace Adobe Acrobat in many cases...

&lt;blockquote&gt;
PDFCreator is a free tool to create PDFs easily from nearly any application. With the PDFCreator Printer driver you turn any program into a PDF-machine.
&lt;br /&gt;&lt;br /&gt;
PDFCreator is released under the term of th GPL (GNU General Public License).
&lt;/blockquote&gt;
&lt;br /&gt;(via &lt;a href='http://www.mallim.per.sg/archives/2005/03/09/pdf-creator/'&gt;Mallim&lt;/a&gt; and &lt;a href='http://www.thauvin.net/linkblog/?date=2005-03-09#Beat:796'&gt;Erik's Linkblog&lt;/a&gt;)&lt;br /&gt;&lt;img src='http://sastools.com/b2/aggbug.gif?post=79394307' /&gt;</description>
			<link>http://sastools.com/b2/post/79394307</link>
			<category>Cool Tools</category>
			<guid isPermaLink='true'>http://sastools.com/b2/post/79394307</guid>
		</item>
	</channel>
</rss>