Archive for July, 2008

Create custom UI appearance for WinForms Form with Shadow - part 6

In my previous post I presented a how to use Win32 API functions and structures in order to create a Layered Form using a custom png image file.
(All posts in this series: Post 1, Post 2, Post 3, Post 4, Post 5, Post 6, Source Code)
Today, I plan to explain how to use LayeredForm class [...]

Create custom UI appearance for WinForms Layered Form - part 5

In my previous posts in the series I described how to create custom CheckBox, RadioButton and Button controls. They are completely customizable during design time in Visual Studio WinForms designer.
(All posts in this series: Post 1, Post 2, Post 3, Post 4, Post 5, Post 6, Source Code)
This post presents a creation of a layered [...]

Run msi installation package on Vista as Administrator

Today, I ran into a problem with an application which I tried to install on my Vista. I had only msi file and I started it but during the installation I received a warning message that installation directory cannot be accessed. It was connected with installation package rights. The msi required an Administration rights in [...]

Funny situation with UpdateLayeredWindow in managed C++

Few days ago, I was reviewed a old code on managed C++ where UpdateLayeredWindow function is used. I post a problem importing the function using DllImportAttribute in my old post which I cannot understand why happened. Today I started to translate this code into C# in order to use it and to write a blog [...]

How to create a WinForms MDI application? - part 4

It is my last post of the series. The post before this focused on the custom classes developed to support Presentation Layer of the sample application. A group of classes of input data validation has been presented. Another two classes for managing forms and central managing of exceptions were provided.
(All posts in this series: Post [...]

PowerCommands for VS 2008

I have a new development machine since three weeks. I thought that I have all configured but It wasn’t. Today, I need to collapse all projects in the solution and I realized that I’ve not installed PowerCommands for VS2008. It adds a lot of nice commands to Visual Studio I may say that it makes [...]