• Recent Comments

    Modifying Deltek Vision’s Standard Reports

    With Vision 6 we can finally use Microsoft SQL Reporting Services to create our own custom reports or even change existing ones. But modifying existing standard reports is not that easy as it seems in the first place.

    Read the rest of this entry »

    New Book "Windows Developer Power Tools" Out Now

    I'm proud to anounce that the XP Common Controls are part of the newly released book "Windows Developer Power Tool" by James Avery and Jim Holmes. This book contains references to over 170 free and open source tools, components and frameworks, all of them coming with a mini user's guide.
    Please check out their homepage at http://www.windevpowertools.com or buy the book here: http://www.amazon.com/exec/obidos/ASIN/0596527543/infozerk-20 – it will save you a lot of time and money when creating your next .net project.
    My thanks to Jim and James for asking me to contribute to this book.

    Copying Your Database Documentation From One Database To Another

    We are using Red Gates SQLDoc (http://www.red-gate.com) tool to document our databases and it works just fine. But as a matter of fact we do our documentations on the test server not the real server. And then a problem arises.

    SQLDoc has no tool to copy the documentation from one DB to another.

    And that’s the problem because SQLDoc (and other tools including SQL Management Console itself) put the documentation text into the extended properties of SQL Server 2000 and SQL Server 2005, so you cannot simply copy the documented tables, procedures or functions within the help file. And documenting on the master DB did not prove usefull for us. Read the rest of this entry »

    XPCC / XP Common Controls

    When I was starting to develop in VS.net I wanted that nice XP-Look for all of my programs. The problem is, that Visual Studio shipped without most of them. The most missed controls where the Taskbox/Taskbar control and the Grouped ListView Contol.
    I ran into implementations of some of the controls on the internet (namely vbAccelerator and the TaskVision Sample on http://www.windowsforms.net) and into a document provided by Microsoft named “Windows XP Design Guidelines”. This document provides detailed information on some of the new controls and I started to recreate some of these controls for VS.net (with hints and help from the sites mentioned above – thank you again!) Read the rest of this entry »

    Synchronizing UI Elements With A Command Class

    Synchronizing UI Elements

    When designing common Windows Forms Application, it always turns out to be a bit of a hassle to synchronize different UI elements like a MenuItem and a Toolbar Item that execute (or should execute) the same code or should be activated and deactivated at the same time. Read the rest of this entry »

    Generic Server-Side Paging with MS SQL Server

    Paging through a resultset seems to be a common problem with Winforms and Webforms. While you could do it all clientside with loading your complete resultset into a Dataset and then page through it, this will only be reasonable with a small amount of data. If you try to do this with resultsets of more than 1000 rows, the dataset will soon be consuming all of your memory or bandwith when transfering the data from the SQL Server to the Dataset on the client. Read the rest of this entry »

    Owner Drawing Your Textboxes

    To give your textboxes a distinctive look has always been a hassle. In the old VB6 days it was almost not possible. The only thing you could do, was to incorporate the textbox into a ActiveX-control and set the looks of the ActiveX-Control.

    With the advent of VB.net there seem to be 3 distinctive ways to accomplish this task. With the XPTextbox-control I tried them all and will explain them shortly and point out the advantages and disadvantages.

    Read the rest of this entry »

    Implementing Renderers Into Your Custom Controls

    When I first played around with the new .net 2.0 controls, I was fascinated by the ToolStrip-Control and its endless possibilities to render it to your will by using the new Renderer property.

    Having this kind of approach on any user-defined control would give the developer a powerful way of designing his application without forcing him to play around in the inner workings of the source. Read the rest of this entry »