Developer Tools

When did Open Source Software become so friendly?
I've just finished installing MediaWiki 1.8.2 (the same wiki engine that powers Wikipedia) on my machine at work. MediaWiki requires three things to be present on the machine prior to installing: A web server, A database server and the PHP engine. In my case that meant that I had to install Apache Http Server 2.2.3, MySQL 5.0.27 Community Server and PHP 5.2.0 - all from scratch. The point of this post is that I was surprised at how easy it was to obtain and install these 4 (counting MediaWiki) pieces...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, December 14, 2006 3:20 PM | Feedback (0)

Workaround: How to set an ASP.Net Image's NavigateUrl property without having it HTMLEncoded.
Just bumped into another one of ASP.Net's annoying quirks. When setting the NavigateUrl property of an <asp:image>, ASP.Net automatically "HTMLEncodes" the value assigned. So if you'd try to pass a query string in the url, like so: <asp:image id="imgExample" runat="server" navigateurl = "example.jpg?foo=bar&a... /> you'll end up with something like this on the client side: <img id="imgExample" src="example.jpg?foo=b...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, September 19, 2006 4:30 PM | Feedback (0)

CustomValidator will validate empty controls - but only in ASP.Net 2.0.
A while back I ranted about ASP.Net's CustomValidator behaving badly - When the control it is set to validate is empty, CustomValidator will (surprisingly) perform no validation. Now I've learned that the good people at Microsoft have resolved this issue, but only in ASP.Net 2.0. The CustomValidator now has a new property called ValidateEmptyText. As the name implies, when this property is set to true empty controls will be validated by the CustomValidator. Too bad this solution is only implemented...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, September 19, 2006 1:27 PM | Feedback (0)

ASP.Net CustomValidator is useless for empty controls
For years I've been living with the unsettling feeling that there's something mysteriously wrong with ASP.Net's CustomValidator control. Every time I made the courageous decision to tackle this elusive control and try to harness it for my use, something would go wrong. Something I couldn't quite put my finger on until now. I've just discovered the terrible secret behind the CustomValidator control: it doesn't fire if the control to be validated has an empty value. Here it is, in black on white, from...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Thursday, July 27, 2006 3:17 PM | Feedback (23)

Force Explorer to Start With the Folder You Want
How many times a day do you click the Windows Explorer shortcut in your Quick Launch toolbar and then navigate to the folder where you do most of your work? Here's a tip from the wonderful Windows Annoyances website that saves me the trouble of navigating the same path over and over again - I "Force Explorer to Start With the Folder You Want". Make me mad to think why Microsoft fail to provide easy documentation of explore.exe's command line options...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Wednesday, July 19, 2006 8:18 AM | Feedback (3)

The neatest Notepad trick ever.
Who knew the old Notepad.exe still had secrets hiding among its modest codebase? Try this: Open a new text file with Notepad. On the first line type .LOG (in capital letters). Save the file and exit Notepad. Now, every time you open the file in Notepad, it will be opened on the last line and a time stamp will appended to it just before that. The file is effectively a poor man's journal. How neat is that? :) via Gadgetopia...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Monday, July 10, 2006 3:09 PM | Feedback (8)

Gliffy - Free online graphs and diagrams editor
With Gliffy around, who needs Microsoft Visio anyhow? Credit to digg
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Wednesday, June 28, 2006 11:56 AM | Feedback (0)

SQL Prompt - Free (!) IntelliSense for Microsoft SQL Server Management Studio
...and for the old Enterprise Manager and Query Analyzer and for Visual Studio 2003 and 2005 and for UltraEdit and EditPlus (!) SQL Prompt is a freeware from Red Gate Software. It's a stand-alone app that sniffs the text you type into your IDE and beautifies and auto-completes it as you go. I've tried it and I recommened it. It's a memory hog though. It's taking up over 30MB of RAM on my machine even though it only has to store 4 DB schemas right now. Thanks go to Shahar for the referral. His blog...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, May 23, 2006 9:43 AM | Feedback (3)

.Net 2.0 SqlParameter rounds DateTime values (?)
Just ran into a bit of nastiness with the SqlParameter class in .Net 2.0. The scenario: I have a DateTime with a value of '05/30/2006 23:59:59.999' (that's 999 milliseconds). When I save it to a (Microsoft SQL Server 2005) DB using a stored procedure invoked by SqlHelper.ExecuteNonQuery(), the value surprisingly changes to '05/31/2006 00:00:00.000'. A bit of step-by-step debugging led me to the culprit. When the DateTime is stored in a SqlParameter to be passed to SqlHelper.ExecuteNonQuery(), the...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Sunday, May 21, 2006 3:52 PM | Feedback (0)

Error in VS2005 Documentation: FinishNavigationTemplate CommandName for "Finish" button
I've been messing around with an ASP.Net 2.0 Wizard Server Control, trying to customize a FinishNavigationTemplate. I followed the instructions in the the Microsoft Visual Studio 2005 Documentation page for FinishNavigationTemplate (ms-help link here) which said: The FinishNavigationTemplate object that is contained in the FinishNavigationTemplate property must contain two IButtonControl controls, one with its CommandName property set to "MoveFinish" and the other with its CommandName property set...
  • Share This Post:
  • Share on Twitter
  • Share on Facebook
  • Share on Technorati

Posted On Tuesday, May 16, 2006 2:18 PM | Feedback (7)

Full Developer Tools Archive