Showing results for March 2008 - Page 3 of 4 - The Old New Thing

Mar 11, 2008
0
0

Exercise doesn't have any effect unless you know you're doing it

Raymond Chen
Raymond Chen

Hotel maids began losing weight once they were informed that their normal job activities counted as exercise. I can't want for somebody to test whether this placebo effect works in reverse; that is, whether you will lose weight if you aren't actually exercising but believe that you are. If it works, then sign me up! (Oh rats, they addressed this ...

Non-Computer
Mar 10, 2008
0
0

Why isn't there a GetDlgItemFloat function?

Raymond Chen
Raymond Chen

Jonathan Wilson asks, "Do you know why there is a GetDlgItemInt and a SetDlgItemInt but not a GetDlgItemFloat and a SetDlgItemFloat?" Give people five dollars and they'll ask why you didn't give them ten. Let's start with the first question. Why is there a function? After all, doesn't do anything you couldn't already do with and . Well, read...

Code
Mar 7, 2008
0
0

The art of losing things: Keep moving them around

Raymond Chen
Raymond Chen

The worst thing about losing things is that when you eventually find them, they're always where you left them. (This assumes you live alone or otherwise can control who touches your stuff.) I have a mental place for most things, and I keep them there, which is great, because when I need, say, my passport, I know where to go. Except that I undermin...

Non-Computer
Mar 7, 2008
0
0

Why can't I convert a time zone abbreviation into a time zone?

Raymond Chen
Raymond Chen

Suppose you have a string of the form . How can you parse this into something your program can manipulate, like say a or a ? Basically, you can't in the general case. The time zone abbreviation CST is ambiguous. It could mean U.S./Canada Central Standard Time, Australian Central Standard Time, China Standard Time, or Cuba Summer Time. There ma...

HistoryTime
Mar 6, 2008
0
0

How do I log on using a dial-up connection on Windows Vista?

Raymond Chen
Raymond Chen

Mike Stephens from the Group Policy Team Blog explains how to get "Log on using dial-up connections" working on Windows Vista. But I'm posting to respond to a comment on that page, since that falls under the category of "When people ask for security holes as features." The only problem is all users need to have access to an account with local ad...

Tips/SupportWhen people ask for security holes as features
Mar 5, 2008
0
0

Not my finest hour: Using the wrong mouse

Raymond Chen
Raymond Chen

I used the wrong mouse for nearly an entire day. There are a good number of computers in my office, but they all funnel through to two sets of mice, keyboards, and monitors. One set is connected to the machine I use for day-to-day activities; the other set is connected through a switch box to a collection of machines which I used for testing and a...

Other