Showing archive results for 2012

Aug 23, 2012
Post comments count0
Post likes count1

Wait, you never said that I had to initialize the object before I used it!

Raymond Chen

A customer reported that they were having trouble creating slim reader/writer locks at runtime. They simplified the issue to a short program: "What is the correct way of creating an via the operator?" It wasn't long before somebody noted that nowhere in the code is the function called. "Oh, yeah, thanks for catching that. It looks like ...

Code
Aug 22, 2012
Post comments count0
Post likes count1

The shifting sands of "Run as different user"

Raymond Chen

A customer liaison asked the following question on behalf of his customer. When I do a shift-right-click on a shortcut to a program, I see the following: The option to run a program as another user (other than Administrator) was present in Windows XP, but it was lost in Windows Vista. It appears that we responded to those complaints...

Tips/Support
Aug 21, 2012
Post comments count0
Post likes count1

Sorry we got cut off, my phone just auto-rebooted

Raymond Chen

Some time ago, I was on the phone when the connection suddenly cut out. I looked at the my phone display and it said, Auto-restart in 7 seconds. The seconds counted down, and then the phone rebooted, and after about ten more seconds, it was back in business, acting like nothing was wrong. (Except that it just terminated a phone call without warning...

Non-Computer
Aug 20, 2012
Post comments count0
Post likes count1

How do I customize how my application windows are grouped in the Taskbar?

Raymond Chen

Benjamin Smedberg wants to know how to customize the icon used in the Taskbar for applications that are grouped, when the application is a runtime for multiple applications. (This is the other scenario I hinted at last time.) Actually, customizing the icon is only part of what you want to happen when your application is a runtime. In that case...

Code
Aug 17, 2012
Post comments count0
Post likes count0

My colleague picked a good day to go out and catch a baseball game

Raymond Chen

I ran into one of my colleagues at the coffee stand and asked him how things were going. He said that Wednesday was his wife's birthday, and he asked her if she wanted to do anything special. "Let's catch a baseball game," she suggested. So off they went to watch a baseball game. Turns out they chose a good game to watch: Seattle Mariners pitcher...

Non-Computer
Aug 17, 2012
Post comments count0
Post likes count1

What if my application is really two applications bundled into a single file, and I want them collected into two groups on the taskbar in Windows 7?

Raymond Chen

A customer wanted to prevent multiple copies of their program from being grouped on the taskbar. They didn't give an explanation why, but let's assume that they are doing this for honorable purposes rather than as a way to annoy the user. For example, maybe their program is really multiple applications bundled inside a single EXE file for convenie...

Code
Aug 16, 2012
Post comments count0
Post likes count0

Charles Petzold's Programming Windows Sixth Edition has reached Release Preview

Raymond Chen

We interrupt this program for a word from Microsoft Press. A few months ago, I noted that Charles Petzold is coming back with another edition of Programming Windows, and you could have gotten in on the ground floor and ordered your copy for only $10 which included access to all prerelease versions. Well, the book has reached Release Preview, wh...

Other
Aug 16, 2012
Post comments count0
Post likes count1

What happened to the Windows 2000 "Set default language setting for the system" button?

Raymond Chen

Last time, we looked at the evolution of the control panel settings which control the language groups for which Windows will install fonts, code page information, and other support collateral. This was in the context of a customer who was trying to migrate from Windows 2000 to Windows XP, and the customer wanted to convert their workflow to t...

Tips/Support
Aug 15, 2012
Post comments count0
Post likes count1

What happened to the Windows 2000 "Language settings for the system" control panel?

Raymond Chen

In 2011, a customer had a question about migrating from Windows 2000 to Windows XP. (That's right, this customer was still using Windows 2000 in the year 2011.) Specifically, they noted that in Windows 2000, they can select multiple languages in the "Language settings for the system" portion of the Regional Options control panel...

Tips/Support
Aug 14, 2012
Post comments count0
Post likes count1

How long does it take for a notification icon to stop appearing in the Notification Area Icons control panel?

Raymond Chen

A customer reported that even after uninstalling their application, the notification icon entry remains in the Notification Area Icons control panel. Yup, that's right. Explorer remembers the icon, even after the underlying program has been uninstalled, because you might have uninstalled it with the intention of immediately reinstalling it, so Exp...

Tips/Support