Reference a XAML From Another Project

When you create a WPF application, the start-up window is by default one from the same project (by default called Window1.xaml).

But what if you want to use a window from another project (class library)? The pack URI scheme, used by WPF, allows you to identify and load files from: the current assembly a…

Microsoft can’t Sell MS Word in USA

This Tuesday a Texas court ruled that Microsoft can no longer sell Microsoft Word in USA because of a patent infringement (U.S. Patent No. 5,787,449). Canadian based company i4i accused Microsoft of willingly violating this patent on a method for reading XML. Microsoft was found guilty and ruled to pay $240 millions, plus other fines…

Cum se construieste in Romania

Arad. Pod peste soseaua de centura. Doua benzi pe sens. Momentan in reparatii. S-a inchis un sens (stanga in imaginile de mai jos), si s-a circulat pe cealalta parte in ambele sensuri. Acum nici doua luni s-a inversat traficul, circulandu-se pe partea reparata. Iata cum arata podul recent renovat. In aceasta tara numai se fura,…

File Dialog with Custom Controls

Sometimes you want to customize a file dialog, maybe to provide a preview for images or files in general. Fortunately, the common file dialog can be easily extended to achieve this. I will explain in this post how to do that. There are several things one needs to do to extend the file dialog. First…

Concepts are out of C++0x

Concepts were supposed to be an important new feature in C++0x. They were meant to allow programmers to specify properties (like constraints) for templates, allow compilers to do some optimization and tools to do some formal checking on the code. After years of debate, the standard committee found them “untried, risky and controversial” and ruled…

Windows 7 and Server 2008 R2 RTM available on MSDN

Windows 7 RTM and Windows Server 2008 R2 RTM are now available for download on MSDN for MSDN and TechNet subscribers. Currently, the only available bits are in English. The other languages will become available on October 1st. Volume License customers with an existing Software Assurance license will be able to download the bits starting…

Circle Crop Pictures

I run across this site featuring hundreds of amazing circle crop pictures, taken by Lucy Pringle, one of world’s leading crop circles photographers. For the record, I don’t believe they have anything to do with things from outer space. They are all man made. But I must admit, lots of them are amazing. Here are…