Tag - Trick

Entries feed - Comments feed

Saturday, May 16 2009

How to use a MacBook in closed clamshell with an external display

It is very simple; just follow the instructions of this article: But there is a gotcha: if you don't connect your MacBook to the power outlet, you will never be able to use the external display.

Thursday, February 1 2007

Add Link to a file in Visual Studio 2005

Maybe you have already seen that in some Visual Studio 2005 projects : a item that represents a link to a file (see image below). It is very handy to reference through a link a file : for example, if you have three projects that uses the same file, just put a link. But when I add item to my project,  […]

Continue reading

Friday, December 8 2006

Dependent Files under Visual Studio 2005

A nice feature of Visual Studio 2005 is the ability to group source files by dependencies. This is what Visual Studio 2005 does when it creates a Form class or a visual control : a dependent file named from the class name is created and linked to the primary source file (as shown in the picture  […]

Continue reading

Tuesday, November 28 2006

Using Microsoft RTC API under Windows Vista

If you are developping an application base on the Microsoft RTC API, a big surprise is awaiting you with Windows Vista. The installation of the RTC API miserably failed, because of lack of privileges. The result is that the RTC side-by-side assemblies are not available, thus the application does not  […]

Continue reading

Saturday, November 18 2006

VMWare Server as a replacement for VMWare Player

If you already have used VMWare Player, you must have noticed that it is perfect to play existing virtual machine. But if you want to create a new virtual machine from scratch, you have to dig in the vmx file, create a blank virtual hard disk (using QEMU for example) and do various things. But, an  […]

Continue reading

Thursday, October 5 2006

Designing generic controls in Visual Studio 2005

Maybe you have just spotted the following problem with Visual Studio 2005 : you can create an abstract form, which inherits System.Windows.Forms.Form, and modify it in the visual designer. But if you inherit it, you cannot modify it in the visual designer. You think it is kind of strange, but the  […]

Continue reading

Wednesday, October 4 2006

Installing software from ISO images without burning them

More and more software are distributed on ISO images and to install them, you must burn CDs, and launch the installation. While it is great if you like to store tons of CDs, or even if you are using a rewritable medium, it is a bit clumsy and totally avoidable. Here is how. For illustration purpose,  […]

Continue reading

Friday, March 24 2006

Easy search with Javamail

When dealing with message folder, the temptation is strong to re-invent the wheel when it comes to make a search through its messages. One evident solution is to grab all the messages, test against the criteria, and if the message matches, store it for further need. Since JavaMail 1.1, a search  […]

Continue reading

Friday, January 27 2006

NotifyIcon with Balloon Tip

While coding Windows Forms application with .NET framework 1.1, I wanted to have an icon in the Windows systray. While it seems easy as there is a NotifyIcon class in the framework, it doesn't support the ballon tips. The support was only introduced in the .NET framework 2.0 but if you are stucked  […]

Continue reading