Wednesday, May 20, 2009

To support long file name (>260 char), get a wider (>260 columns across) monitor

Though Windows Explorer has gotten flasher with each version of Windows, it still stumbles on the long file name that NTFS supports…

Sunday, May 17, 2009

WinForms cue/prompt/watermark/placeholder TextBox and other controls

I thought writing the placeholder text box was much easier in WPF than WinForms, since WPF allows graphical elements to be overlaid easily. I was wrong! For WinForms, a P/Invoke can achieve that function since XP and Vista had it built-in. Thanks to Aaron for the source.

Aaron Lerch » Blog Archive » Watermarked edit controls

Sunday, May 03, 2009

The “Coolest” DHTML Calendar

Searching for a JavaScript calendar returned a lot of results. However, most calendar implementations out there are buggy. They are also written in the old JavaScript ways without all the prototyping stuff, causing conflicts with my own variables and functions.

After trying out some of the calendars, I found this calendar to be the best—stable, prototyped and has few side-effects. Only worry is that it uses browser detection rather than feature detection, potentially breaking in future versions of browsers. If you know of an even better calendar, please tell me =). Thanks.