Showing archive results for 2010

May 24, 2010
Post comments count0
Post likes count1

What's the deal with What's This??

Raymond Chen

Via the suggestion box, Matthew Douglass-Riley wonders about the history and fate of the What's This? button. (The same question was repeated by an anonymous coward.) The What's This? button (more formally known as the contextual help caption button) is turned on by the extended style and takes the form of a question mark. When the user clicks ...

Other
May 21, 2010
Post comments count0
Post likes count1

SHAutoComplete giveth, and SHAutoComplete taketh away

Raymond Chen

The function lets you attach autocomplete functionality to an edit control, and there are flags that describe what sources you want the autocomplete to draw from. If you call a second time, the second set of flags replace the original flags. The flags do not accumulate. For example, if you first call , and then you later call , the result is tha...

Code
May 20, 2010
Post comments count0
Post likes count1

We've traced the call and it's coming from inside the house: Operating system names

Raymond Chen

As the Windows Server 2003 project wound down, somebody reported a serious bug that went something like this: Subject: Windows Server 2003 still refers to itself as Windows .NET Server Previous versions of Windows report the product name correctly, but Windows Server 2003 still calls itself "Windows .NET Server" instead of Windows Server 2003...

Code
May 19, 2010
Post comments count0
Post likes count1

If you can detect the difference between an emulator and the real thing, then the emulator has failed

Raymond Chen

Recall that a corrupted program sometimes results in a "Program too big to fit in memory" error. In response, Dog complained that while that may have been a reasonable response back in the 1980's, in today's world, there's plenty of memory around for the MS-DOS emulator to add that extra check and return a better error code. Well yeah, but if yo...

History
May 18, 2010
Post comments count0
Post likes count1

No good deed goes unpunished, part 2, redux

Raymond Chen

I noted some time ago that I have taken to "blaming" Exchange when someone assumes that my reply to a thread on a distribution list implies that I have taken responsibility for resolving their problem. One of my colleagues in another group is in a similar situation with respect to a different product, and he has taken to using the same basic form...

Non-ComputerNo good deed goes unpunished
May 18, 2010
Post comments count0
Post likes count1

An insight into the balance between forgiveness and permission

Raymond Chen

One of my colleagues shared this valuable insight into the balance between forgiveness and permission, which he in turn learned from a high-level manager in his organization: The statement that it is better to ask for forgiveness than to obtain permission is true 90% of the time. The key to success is knowing where the other 10% is.

Non-Computer
May 14, 2010
Post comments count0
Post likes count0

Maxing out the upsell-o-meter

Raymond Chen

Many grocery stores in the United States have a printer next to the cash register which prints out coupons customized to your purchases. If you buy the house brand of spaghetti, it might print out a coupon for a slightly more expensive brand of spaghetti. The goal with these coupons is to get you to try a fancier (and therefore more profitable) ver...

Non-Computer
May 14, 2010
Post comments count0
Post likes count1

How do I prevent users from dragging and dropping files in Explorer?

Raymond Chen

More than once, I've had a customer ask, "How do I prevent users from dragging and dropping files in Explorer?" Actually, three of them in the past year phrased it in an even more provocative way: "I want to write a program that hooks Explorer and displays a prompt before every drag/drop operation." This is one of those cases where you have to fig...

Tips/Support
May 13, 2010
Post comments count0
Post likes count0

Things the locals know: How to have lunch at El Brillante

Raymond Chen

One of my colleagues moved to Granada last year, and he kindly provided me some recommendations for places to eat in Madrid. We found El Brillante easily, positioned across the street from the Atoche train station, with its back door and terrace facing the Museo Nacional Centro de Arte Reina Sofia (which mercifully goes by the nickname Museo Rein...

Non-Computer