Showing results for June 2004 - Page 5 of 5 - The Old New Thing

Jun 4, 2004
0
0

An easy way to determine whether you have a particular file permission

Raymond Chen
Raymond Chen

Sometimes you might want to determine whether you can do something without actually doing it. For example, you might want to know whether you have a particular permission in a directory, say permission to delete files from it. One way is to retrieve the ACL and then check whether the current user has the desired permission. The AccessCheck functio...

Code
Jun 3, 2004
0
1

My first death threat

Raymond Chen
Raymond Chen

Actual feedback submitted to the microsoft.com web site many years ago. id: 13726 Date: 1996-07-29 17:27:41.997 Name: *********** Email: ************* Area: Windows 95 Comments: PLEASE read this entire email as it is quite serious. I just discovered today that in the Windows 95 operating system, there are no switches, command line opti...

History
Jun 3, 2004
0
0

Need to add 1.5kg and 350g?

Raymond Chen
Raymond Chen

Need to add 1.5kg and 350g? Don't take any chances. Go to a Certified Metrication Specialist.

Non-Computer
Jun 2, 2004
0
0

Letter carriers rebel

Raymond Chen
Raymond Chen

Letter carriers in both Sweden and Scotland have taken to refusing to deliver political advertisements from parties they personally find offensive. This isn't quite the stunning synchronicity as it may appear at first glance: Europe is gearing up for a continent-wide election.

Non-Computer
Jun 1, 2004
0
0

What does SHGFI_USEFILEATTRIBUTES mean?

Raymond Chen
Raymond Chen

One of the flags you can pass to the SHGetFileInfo function is SHGFI_USEFILEATTRIBUTES. What does this flag mean? It means, "Do not access the disk. Pretend that the file/directory exists, and that its file attributes are what I passed as the dwFileAttributes parameter. Do this regardless of whether it actually exists or not." You can ...

Code
Jun 1, 2004
0
0

French schoolchildren invited to draw their impressions of the United States

Raymond Chen
Raymond Chen

They choose fast food, fat people, and Bush in a tank. In January, a cartoon festival was held in the town of Carquefou, just outside of Nantes in the northwest corner of France. Students of all ages competed in a contest to illustrate their vision of the United States. They drew obese Americans devouring Coca-Cola and McDonald's hamburgers...

Non-Computer