Customize autoexp.dat for own types in VS2005

Suppose you have a class foo like this:

And you have a variable f(1, 2, 3) what you watch in your Watch window. The window looks like this: The field Value shows a default expansion of the object, {X=1 Y=2 Z=3}. However, this can be changed by modifying a file called autpexp.dat, located in…

Creators Admit C, Unix Were Hoax

A collegue of mine pointed to me today a chapter from a book called “The UNIX-HATERS Handbook”, published by IDG Books Worldwide Inc. in 1994 (ISBN 1-56884-203-1). One of the latest chapters is called “Creators Admit C, Unix Were Hoax”. In this chapter the authors say that Ken Thompson, Dennis Ritchie and Brian Kernighan addmited…

MFC in Orcas: support for Vista’s command button

MFC in Orcas comes with several important changes, such as support for Vista specific command button and split button. I have put together a small demo application displaying a command button with the tex Say “Hello Vista” and the note “Click on this button to show a “Hello Vista” message!”. The command button is still…

What’s new in Orcas for VC++

Channel9 has posted recently an interview with Sarita Bafna, a Program Manager on the VC++ Libraries team, about the new features available in Orcas (in March CTP also) for VC++. The interview is focused on 2 things: marshaling library and MFC updates. The marshaling library consists on one single API, marshal_as, for marshaling between managed…

Microsoft’s Plans for ‘Orcas’ and ‘Rosario’

Prashant Sridharan, Microsoft group product manager for Visual Studio, announced Monday, March 26, 2007, that Microsoft plans to release Visual Studio code-named ‘Orcas’ by the end of the year, and it also plans to release Visual Studio code-named ‘Rosario’ (the next version after ‘Orcas’) within an year timeframe after that. A CTP for ‘Rosario’ might…

LINQ example: listing directories

LINQ is a valuable feature for database and XML programming, but not only. Basically, you can use LINQ with everything that returns an IEnumerable. Here is an example, when I want to list the directories of a parent directory, in alfabetical order, and grouped by the file attributes (first all that have only the flag…

Guidelines for Installing Visual Studio 2005 under Vista

This is a simple guideline from my own experience for installing Visual Studio 2005 with SP1 and SP update for Vista. Installation of Visual Studio 2005 is pretty straight-forward. It does not take more than one hour. For the rest you should consider these: download Microsoft Visual Studio 2005 Team Suite Service Pack 1 (it…

Interview with Titans

Channel 9 forums has posted in January a video interview with Anders Hejlsberg (chief architect of C#), Herb Sutter (architect of C++), Erik Meijer (architect of VB.NET and C#) and Brian Beckman (physicist and architect of VB.NET). For one hour they talked about new trends in programming, the new issues and dificulties faced, and what…

Installing Orcas March CTP

This week I decided to test the March CTP of Visual Studio code-named ‘Orcas’. So I started with a google search for the the download page, I found two: Microsoft Pre-release Software Visual Studio Code Name “Orcas” – March Community Technology Preview (CTP) (Self-extracting Install): contains 7 archives totalling¬†4.5GB Microsoft Pre-release Software Visual Studio Code…

Customize Places Bar in Common File Dialog

Recently, CodeGuru has published my article about customizing the Places Bar of the common file dialog. In this article I have explained how to twick the registry to display your own list of shortcuts in the places bar. The folders are specified in registry under HKEY_CURRENT_USER in Software\Microsoft\Windows\CurrentVersion\Policies\ComDlg32\PlacesBar in two ways: either by IDs for…