Click here to Skip to main content
14,604,819 members

Articles by Christian Graus (Articles: 51)

Articles: 51

RSS Feed

Average article rating: 4.53

Dialogs and Windows
Screensavers
Posted: 17 Apr 2002   Updated: 16 May 2002   Views: 367,901   Rating: 4.41/5    Votes: 16   Popularity: 5.06
Licence: Custom License      Bookmarked: 62   Downloaded: 845
Our attempt at a screen saver with a Code Project theme, written in C#
Static & Panel Controls
General
Posted: 12 Mar 2001   Updated: 12 Mar 2001   Views: 100,860   Rating: 4.94/5    Votes: 18   Popularity: 5.95
Licence: Not specified      Bookmarked: 28   Downloaded: 1,783
A Static derived class which provides a check box to enable/disable items inside it
Toolbars & Docking windows
Toolbars
Posted: 20 Feb 2001   Updated: 20 Feb 2001   Views: 109,210   Rating: 3.86/5    Votes: 8   Popularity: 3.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 2,509
A flexible extension to the CToolBar class
Palm and WebOS
General
Posted: 4 Nov 2002   Updated: 5 Nov 2002   Views: 126,620   Rating: 4.50/5    Votes: 5   Popularity: 3.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 201
Building on previous articles, we develop a simple application and discuss some of the components available for Palm GUI.
Posted: 6 Nov 2002   Updated: 6 Nov 2002   Views: 123,880   Rating: 4.17/5    Votes: 8   Popularity: 3.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 106
Continuing our series of articles, we discuss how to create databases, and create, modify and delete records
Posted: 7 Nov 2002   Updated: 7 Nov 2002   Views: 116,080   Rating: 4.83/5    Votes: 9   Popularity: 4.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 0
An overview of the Palm world, including a list of C functions which have preferred equivalents in PalmOS
Azure
General
Posted: 15 Apr 2019   Updated: 15 Apr 2019   Views: 15,520   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 521
First in a series on using Azure AD with Angular applications
Posted: 16 Apr 2019   Updated: 16 Apr 2019   Views: 4,500   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
In part two, we start protecting our back end APIs with Azure AD
Posted: 17 Apr 2019   Updated: 17 Apr 2019   Views: 5,840   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 92
Adding role based security to our Azure AD/Angular website
Database
General
Posted: 3 Jan 2014   Updated: 6 Jan 2014   Views: 15,760   Rating: 4.86/5    Votes: 9   Popularity: 4.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 185
Just a quick explanation of why it's not always a good idea to use DISTINCT
Posted: 21 Dec 2013   Updated: 23 Jan 2014   Views: 76,490   Rating: 4.81/5    Votes: 42   Popularity: 7.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 73   Downloaded: 681
The first in a series of articles seeking to explain the intermediate to advanced features of T-SQL
Posted: 24 Dec 2013   Updated: 12 Mar 2014   Views: 28,530   Rating: 4.83/5    Votes: 16   Popularity: 5.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 334
The second in my series digs in to some of the different things you can do within a select statement.
SQL
Posted: 12 Mar 2014   Updated: 14 Mar 2014   Views: 39,830   Rating: 4.56/5    Votes: 19   Popularity: 5.83
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 325
In this installment, I talk about working with dates and date functions in SQL Server
SQL Server
Posted: 3 Jan 2014   Updated: 12 Jan 2014   Views: 25,661   Rating: 4.74/5    Votes: 19   Popularity: 5.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 291
In which we talk of ways to pass an arbitrary list of values to SQL Server
Posted: 26 Dec 2013   Updated: 12 Jan 2014   Views: 22,930   Rating: 4.99/5    Votes: 19   Popularity: 6.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 256
In this third installment, we look at how Common Table Expressions can simplify your SQL and help you perform complex tasks
Posted: 12 Jan 2014   Updated: 13 Jan 2014   Views: 22,890   Rating: 4.70/5    Votes: 9   Popularity: 4.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 193
A discussion of windowing functions, from sum to row_number(), to the new functions in SS2012
Posted: 16 Jan 2014   Updated: 16 Jan 2014   Views: 19,510   Rating: 4.98/5    Votes: 13   Popularity: 5.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 188
Discussion on pivot and other ways to turn columns of data in to rows in SQL Server
Posted: 19 Jan 2014   Updated: 21 Jan 2014   Views: 28,231   Rating: 4.96/5    Votes: 20   Popularity: 6.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 211
A description of the best way to create tally tables, and how to use them
Posted: 23 Jan 2014   Updated: 23 Jan 2014   Views: 25,640   Rating: 4.80/5    Votes: 2   Popularity: 1.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 172
A discussion of ways to create random number sequences in SQL Server
Posted: 24 Mar 2014   Updated: 24 Mar 2014   Views: 14,760   Rating: 3.67/5    Votes: 3   Popularity: 1.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 70
Covering how to use the new Distribution functions in SQL Server 2012
Utilities
Posted: 18 Nov 2002   Updated: 27 Nov 2002   Views: 336,940   Rating: 4.79/5    Votes: 29   Popularity: 6.77
Licence: Not specified      Bookmarked: 128   Downloaded: 7,787
This tool uses ADO.NET to offer browsing of databases and tables, editing values and an SQL window to test queries.
Audio and Video
Video
Posted: 26 Jan 2007   Updated: 18 May 2007   Views: 750,243   Rating: 4.94/5    Votes: 31   Popularity: 7.23
Licence: Not specified      Bookmarked: 84   Downloaded: 4,348
A wrapper to allow remote capture of images with Canon cameras in C#
DirectX
Games
Posted: 7 Apr 2002   Updated: 7 Apr 2002   Views: 203,611   Rating: 4.95/5    Votes: 22   Popularity: 6.33
Licence: Not specified      Bookmarked: 39   Downloaded: 4,808
An Asteroid's clone which needs some work but will illustrate some points about writing games.
General
Posted: 13 Sep 2004   Updated: 13 Sep 2004   Views: 232,191   Rating: 4.68/5    Votes: 38   Popularity: 7.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 1,988
A guided tour of the many reasons NOT to use DirectX9 for your audio/video playback needs
GDI+
General
Posted: 12 May 2001   Updated: 30 May 2001   Views: 343,521   Rating: 4.72/5    Votes: 9   Popularity: 4.51
Licence: Not specified      Bookmarked: 41   Downloaded: 2,067
Using GDI+ to draw solid/gradient filled and textured shapes
Posted: 3 Jun 2001   Updated: 3 Jun 2001   Views: 379,344   Rating: 4.93/5    Votes: 13   Popularity: 5.32
Licence: Custom License      Bookmarked: 66   Downloaded: 3,066
Using GDI+ to create a paint program with soft brushes and loading/saving images
Posted: 15 Feb 2002   Updated: 15 Feb 2002   Views: 96,530   Rating: 3.80/5    Votes: 9   Popularity: 3.63
Licence: Not specified      Bookmarked: 32   Downloaded: 1,402
Providing a RoundedRect function for GDI+
Posted: 20 Mar 2002   Updated: 20 Mar 2002   Views: 2,236,199   Rating: 4.91/5    Votes: 200   Popularity: 11.23
Licence: Not specified      Bookmarked: 577   Downloaded: 20,399
The first in a series of articles which will build an image processing library in C# and GDI+
Posted: 31 Mar 2002   Updated: 31 Mar 2002   Views: 592,112   Rating: 4.92/5    Votes: 71   Popularity: 9.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 242   Downloaded: 14,429
The third in a series of articles which will build an image processing library in C# and GDI+
Posted: 14 Apr 2002   Updated: 14 Apr 2002   Views: 481,190   Rating: 4.80/5    Votes: 49   Popularity: 7.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 178   Downloaded: 5,604
The fourth installment covers how to write a filter that resizes an image, and uses bilinear filtering
Posted: 23 Dec 2002   Updated: 25 Dec 2002   Views: 855,032   Rating: 4.90/5    Votes: 146   Popularity: 10.54
Licence: Not specified      Bookmarked: 284   Downloaded: 9,609
In the fifth installment, we build a framework for generating filters that work by changing a pixel's location, rather than colour.
Posted: 12 May 2001   Updated: 12 Mar 2003   Views: 1,749,411   Rating: 4.80/5    Votes: 70   Popularity: 8.67
Licence: Not specified      Bookmarked: 215   Downloaded: 10,973
Getting started with the new Microsoft Graphics Libraries
Posted: 22 May 2004   Updated: 28 Jun 2004   Views: 380,811   Rating: 4.84/5    Votes: 56   Popularity: 8.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 199   Downloaded: 7,271
A discussion of the HSL color space, including code for a color picker and image filters
Posted: 23 Mar 2002   Updated: 7 Nov 2005   Views: 1,443,862   Rating: 4.91/5    Votes: 119   Popularity: 10.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 329   Downloaded: 14,555
The second in a series of articles which will build an image processing library in C# and GDI+.
C / C++ Language
General
Posted: 15 Dec 2002   Updated: 15 Dec 2002   Views: 158,960   Rating: 4.34/5    Votes: 37   Popularity: 6.54
Licence: Not specified      Bookmarked: 26   Downloaded: 0
A discussion of Koenig namespace lookup, for those with VS.NET 2003
C#
Samples
Posted: 14 May 2002   Updated: 14 May 2002   Views: 87,420   Rating: 3.56/5    Votes: 11   Popularity: 3.70
Licence: Not specified      Bookmarked: 30   Downloaded: 1,416
A simple tool that can be used to time how long different parts of your code take to execute, and where bottlenecks occur
.NET Framework
General
Posted: 11 Apr 2008   Updated: 11 Apr 2008   Views: 37,190   Rating: 4.38/5    Votes: 9   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 311
A .NET wrapper for Authorize
STL
Beginners
Posted: 20 Feb 2002   Updated: 20 Feb 2002   Views: 230,900   Rating: 3.31/5    Votes: 23   Popularity: 4.51
Licence: Not specified      Bookmarked: 37   Downloaded: 6
The first in a series of articles on STL, this one covers vector and some common algorithms
Posted: 24 Feb 2002   Updated: 24 Feb 2002   Views: 345,211   Rating: 4.20/5    Votes: 11   Popularity: 4.20
Licence: Not specified      Bookmarked: 30   Downloaded: 0
My second STL article covers std::list and discusses different iterator types
Posted: 23 Mar 2002   Updated: 23 Mar 2002   Views: 173,140   Rating: 4.71/5    Votes: 15   Popularity: 5.25
Licence: Not specified      Bookmarked: 33   Downloaded: 1,733
Coverage of two more containers from the STL, namely set and map, and the functions provided for them.
Posted: 24 Feb 2002   Updated: 1 Apr 2002   Views: 178,770   Rating: 3.52/5    Votes: 16   Popularity: 4.24
Licence: Not specified      Bookmarked: 38   Downloaded: 0
This third article describes how to write function adaptors which allow customization of STL functions.
General
Posted: 20 Mar 2002   Updated: 20 Mar 2002   Views: 283,560   Rating: 4.71/5    Votes: 28   Popularity: 6.67
Licence: Not specified      Bookmarked: 44   Downloaded: 1,280
A typesafe alternative to sprintf from the std library
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 80,100   Rating: 4.29/5    Votes: 9   Popularity: 4.10
Licence: Not specified      Bookmarked: 23   Downloaded: 946
Showing how to extend iostreams in order to stream custom types
Posted: 14 Jul 2002   Updated: 14 Jul 2002   Views: 115,700   Rating: 4.60/5    Votes: 7   Popularity: 3.89
Licence: Not specified      Bookmarked: 21   Downloaded: 392
An exploration of extending the iostreams framework through stream modifiers
Posted: 24 Jul 2002   Updated: 24 Jul 2002   Views: 85,750   Rating: 3.80/5    Votes: 7   Popularity: 3.21
Licence: Not specified      Bookmarked: 20   Downloaded: 965
An exploration of extending the iostreams framework through custom streams.
Windows Presentation Foundation
General
Posted: 12 Apr 2007   Updated: 12 Apr 2007   Views: 205,010   Rating: 4.85/5    Votes: 53   Popularity: 8.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 84   Downloaded: 6,625
This article covers how animations can be applied on properties that do not have an associated animation class
Posted: 21 Jul 2006   Updated: 28 Jun 2010   Views: 325,612   Rating: 4.40/5    Votes: 56   Popularity: 7.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 125   Downloaded: 7,671
A brief introduction to using transformations with the WPF
Game Development
Games
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 62,190   Rating: 3.22/5    Votes: 3   Popularity: 1.54
Licence: Custom License      Bookmarked: 34   Downloaded: 751
Continuing my attempt at a simple game in C#
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 104,500   Rating: 3.86/5    Votes: 4   Popularity: 2.32
Licence: Custom License      Bookmarked: 37   Downloaded: 1,324
In which I attempt to write a simple game in C#
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 115,850   Rating: 4.38/5    Votes: 16   Popularity: 5.15
Licence: Custom License      Bookmarked: 39   Downloaded: 2,093
Finishing my attempt at a simple game in C#
Programming Tips
General
Posted: 8 Mar 2008   Updated: 8 Mar 2008   Views: 227,120   Rating: 4.38/5    Votes: 161   Popularity: 9.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 129   Downloaded: 0
A primer for people looking to learn to help themselves find answers to programming questions
No blogs have been submitted.
No tips have been posted.
No reference articles have been posted.
No projects have been posted.

Christian Graus
Software Developer (Senior)
Australia Australia
Programming computers ( self taught ) since about 1984 when I bought my first Apple ][. Was working on a GUI library to interface Win32 to Python, and writing graphics filters in my spare time, and then building n-tiered apps using asp, atl and asp.net in my job at Dytech. After 4 years there, I've started working from home, at first for Code Project and now for a vet telemedicine company. I owned part of a company that sells client education software in the vet market, but we sold that and I worked for the owners for five years before leaving to get away from the travel, and spend more time with my family. I now work for a company here in Hobart, doing all sorts of Microsoft based stuff in C++ and C#, with a lot of T-SQL in the mix.