Click here to Skip to main content
14,980,986 members

Articles by Christian Graus (Articles: 51)

Articles: 51

RSS Feed

Average article rating: 4.53

Database Development
SQL Server
Posted: 3 Jan 2014   Updated: 6 Jan 2014   Views: 16,641   Rating: 4.86/5    Votes: 9   Popularity: 4.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 185
Please Sign up or sign in to vote.
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: 82,007   Rating: 4.81/5    Votes: 42   Popularity: 7.77
Licence: The Code Project Open License (CPOL)      Bookmarked: 73   Downloaded: 684
Please Sign up or sign in to vote.
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: 29,491   Rating: 4.83/5    Votes: 16   Popularity: 5.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 336
Please Sign up or sign in to vote.
The second in my series digs in to some of the different things you can do within a select statement.
Posted: 12 Mar 2014   Updated: 14 Mar 2014   Views: 42,404   Rating: 4.58/5    Votes: 20   Popularity: 5.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 328
Please Sign up or sign in to vote.
In this installment, I talk about working with dates and date functions in SQL Server
Posted: 3 Jan 2014   Updated: 12 Jan 2014   Views: 27,362   Rating: 4.74/5    Votes: 19   Popularity: 5.95
Licence: The Code Project Open License (CPOL)      Bookmarked: 32   Downloaded: 294
Please Sign up or sign in to vote.
Ways to pass an arbitrary list of values to SQL Server
Posted: 26 Dec 2013   Updated: 12 Jan 2014   Views: 24,142   Rating: 4.99/5    Votes: 19   Popularity: 6.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 258
Please Sign up or sign in to vote.
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: 23,990   Rating: 4.70/5    Votes: 9   Popularity: 4.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 194
Please Sign up or sign in to vote.
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: 20,611   Rating: 4.98/5    Votes: 13   Popularity: 5.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 28   Downloaded: 190
Please Sign up or sign in to vote.
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: 30,413   Rating: 4.96/5    Votes: 20   Popularity: 6.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 214
Please Sign up or sign in to vote.
A description of the best way to create tally tables, and how to use them
Posted: 23 Jan 2014   Updated: 23 Jan 2014   Views: 26,401   Rating: 4.80/5    Votes: 2   Popularity: 1.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 174
Please Sign up or sign in to vote.
A discussion of ways to create random number sequences in SQL Server
Posted: 24 Mar 2014   Updated: 24 Mar 2014   Views: 15,300   Rating: 3.67/5    Votes: 3   Popularity: 1.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 71
Please Sign up or sign in to vote.
Covering how to use the new Distribution functions in SQL Server 2012
Desktop Programming
MFC
Posted: 17 Apr 2002   Updated: 16 May 2002   Views: 374,787   Rating: 4.41/5    Votes: 16   Popularity: 5.06
Licence: Custom License      Bookmarked: 62   Downloaded: 860
Please Sign up or sign in to vote.
Our attempt at a screen saver with a Code Project theme, written in C#
Posted: 12 Mar 2001   Updated: 12 Mar 2001   Views: 103,545   Rating: 4.94/5    Votes: 18   Popularity: 5.95
Licence: Not specified      Bookmarked: 29   Downloaded: 1,798
Please Sign up or sign in to vote.
A Static derived class which provides a check box to enable/disable items inside it
Posted: 20 Feb 2001   Updated: 20 Feb 2001   Views: 111,191   Rating: 3.86/5    Votes: 8   Popularity: 3.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 2,519
Please Sign up or sign in to vote.
A flexible extension to the CToolBar class
Posted: 7 Apr 2002   Updated: 7 Apr 2002   Views: 207,875   Rating: 4.95/5    Votes: 22   Popularity: 6.33
Licence: Not specified      Bookmarked: 39   Downloaded: 4,876
Please Sign up or sign in to vote.
An Asteroid's clone which needs some work but will illustrate some points about writing games.
Posted: 12 May 2001   Updated: 30 May 2001   Views: 353,341   Rating: 4.72/5    Votes: 9   Popularity: 4.51
Licence: Not specified      Bookmarked: 41   Downloaded: 2,155
Please Sign up or sign in to vote.
Using GDI+ to draw solid/gradient filled and textured shapes
Posted: 12 May 2001   Updated: 12 Mar 2003   Views: 1,811,914   Rating: 4.80/5    Votes: 70   Popularity: 8.67
Licence: Not specified      Bookmarked: 215   Downloaded: 11,377
Please Sign up or sign in to vote.
Getting started with the new Microsoft Graphics Libraries
WPF
Posted: 12 Apr 2007   Updated: 12 Apr 2007   Views: 211,131   Rating: 4.85/5    Votes: 53   Popularity: 8.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 84   Downloaded: 6,773
Please Sign up or sign in to vote.
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: 332,248   Rating: 4.40/5    Votes: 56   Popularity: 7.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 125   Downloaded: 7,748
Please Sign up or sign in to vote.
A brief introduction to using transformations with the WPF
Hosted Services
Azure
Posted: 15 Apr 2019   Updated: 15 Apr 2019   Views: 19,981   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 587
Please Sign up or sign in to vote.
First in a series on using Azure AD with Angular applications
Posted: 16 Apr 2019   Updated: 16 Apr 2019   Views: 6,183   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Please Sign up or sign in to vote.
In part two, we start protecting our back end APIs with Azure AD
Posted: 17 Apr 2019   Updated: 17 Apr 2019   Views: 8,241   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 118
Please Sign up or sign in to vote.
Adding role based security to our Azure AD/Angular website
Mobile Apps
Posted: 4 Nov 2002   Updated: 5 Nov 2002   Views: 128,560   Rating: 4.50/5    Votes: 5   Popularity: 3.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 205
Please Sign up or sign in to vote.
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: 125,990   Rating: 4.17/5    Votes: 8   Popularity: 3.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 30   Downloaded: 108
Please Sign up or sign in to vote.
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: 118,163   Rating: 4.83/5    Votes: 9   Popularity: 4.61
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 0
Please Sign up or sign in to vote.
An overview of the Palm world, including a list of C functions which have preferred equivalents in PalmOS
Multimedia
DirectX
Posted: 13 Sep 2004   Updated: 13 Sep 2004   Views: 236,953   Rating: 4.68/5    Votes: 38   Popularity: 7.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 1,994
Please Sign up or sign in to vote.
A guided tour of the many reasons NOT to use DirectX9 for your audio/video playback needs
GDI+
Posted: 3 Jun 2001   Updated: 3 Jun 2001   Views: 387,312   Rating: 4.93/5    Votes: 13   Popularity: 5.32
Licence: Custom License      Bookmarked: 68   Downloaded: 3,137
Please Sign up or sign in to vote.
Using GDI+ to create a paint program with soft brushes and loading/saving images
Posted: 15 Feb 2002   Updated: 15 Feb 2002   Views: 98,240   Rating: 3.80/5    Votes: 9   Popularity: 3.63
Licence: Not specified      Bookmarked: 32   Downloaded: 1,437
Please Sign up or sign in to vote.
Providing a RoundedRect function for GDI+
Posted: 20 Mar 2002   Updated: 20 Mar 2002   Views: 2,289,488   Rating: 4.91/5    Votes: 200   Popularity: 11.23
Licence: Not specified      Bookmarked: 578   Downloaded: 20,779
Please Sign up or sign in to vote.
The first in a series of articles which will build an image processing library in C# and GDI+
Operating Systems
Windows
Posted: 8 Mar 2008   Updated: 8 Mar 2008   Views: 231,619   Rating: 4.38/5    Votes: 161   Popularity: 9.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 129   Downloaded: 0
Please Sign up or sign in to vote.
A primer for people looking to learn to help themselves find answers to programming questions
Programming Languages
C#
Posted: 18 Nov 2002   Updated: 27 Nov 2002   Views: 341,351   Rating: 4.79/5    Votes: 29   Popularity: 6.77
Licence: Not specified      Bookmarked: 129   Downloaded: 7,801
Please Sign up or sign in to vote.
This tool uses ADO.NET to offer browsing of databases and tables, editing values and an SQL window to test queries.
Posted: 26 Jan 2007   Updated: 18 May 2007   Views: 775,946   Rating: 4.94/5    Votes: 31   Popularity: 7.23
Licence: Not specified      Bookmarked: 84   Downloaded: 4,387
Please Sign up or sign in to vote.
A wrapper to allow remote capture of images with Canon cameras in C#
Posted: 31 Mar 2002   Updated: 31 Mar 2002   Views: 603,111   Rating: 4.92/5    Votes: 71   Popularity: 9.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 243   Downloaded: 14,603
Please Sign up or sign in to vote.
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: 488,103   Rating: 4.80/5    Votes: 49   Popularity: 7.94
Licence: The Code Project Open License (CPOL)      Bookmarked: 178   Downloaded: 5,680
Please Sign up or sign in to vote.
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: 872,840   Rating: 4.90/5    Votes: 146   Popularity: 10.54
Licence: Not specified      Bookmarked: 284   Downloaded: 9,812
Please Sign up or sign in to vote.
In the fifth installment, we build a framework for generating filters that work by changing a pixel's location, rather than colour.
Posted: 22 May 2004   Updated: 28 Jun 2004   Views: 388,788   Rating: 4.84/5    Votes: 56   Popularity: 8.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 199   Downloaded: 7,434
Please Sign up or sign in to vote.
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,469,940   Rating: 4.91/5    Votes: 119   Popularity: 10.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 331   Downloaded: 14,874
Please Sign up or sign in to vote.
The second in a series of articles which will build an image processing library in C# and GDI+.
Posted: 14 May 2002   Updated: 14 May 2002   Views: 88,451   Rating: 3.56/5    Votes: 11   Popularity: 3.70
Licence: Not specified      Bookmarked: 30   Downloaded: 1,424
Please Sign up or sign in to vote.
A simple tool that can be used to time how long different parts of your code take to execute, and where bottlenecks occur
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 105,491   Rating: 3.86/5    Votes: 4   Popularity: 2.32
Licence: Custom License      Bookmarked: 37   Downloaded: 1,361
Please Sign up or sign in to vote.
In which I attempt to write a simple game in C#
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 62,771   Rating: 3.22/5    Votes: 3   Popularity: 1.54
Licence: Custom License      Bookmarked: 34   Downloaded: 766
Please Sign up or sign in to vote.
Continuing my attempt at a simple game in C#
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 117,466   Rating: 4.38/5    Votes: 16   Popularity: 5.15
Licence: Custom License      Bookmarked: 39   Downloaded: 2,134
Please Sign up or sign in to vote.
Finishing my attempt at a simple game in C#
C++
Posted: 15 Dec 2002   Updated: 15 Dec 2002   Views: 162,896   Rating: 4.34/5    Votes: 37   Popularity: 6.54
Licence: Not specified      Bookmarked: 26   Downloaded: 0
Please Sign up or sign in to vote.
A discussion of Koenig namespace lookup, for those with VS.NET 2003
Posted: 20 Feb 2002   Updated: 20 Feb 2002   Views: 233,831   Rating: 3.31/5    Votes: 23   Popularity: 4.51
Licence: Not specified      Bookmarked: 37   Downloaded: 6
Please Sign up or sign in to vote.
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: 349,803   Rating: 4.20/5    Votes: 11   Popularity: 4.20
Licence: Not specified      Bookmarked: 30   Downloaded: 0
Please Sign up or sign in to vote.
My second STL article covers std::list and discusses different iterator types
Posted: 23 Mar 2002   Updated: 23 Mar 2002   Views: 175,280   Rating: 4.71/5    Votes: 15   Popularity: 5.25
Licence: Not specified      Bookmarked: 33   Downloaded: 1,735
Please Sign up or sign in to vote.
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: 180,531   Rating: 3.52/5    Votes: 16   Popularity: 4.24
Licence: Not specified      Bookmarked: 38   Downloaded: 0
Please Sign up or sign in to vote.
This third article describes how to write function adaptors which allow customization of STL functions.
Posted: 20 Mar 2002   Updated: 20 Mar 2002   Views: 287,803   Rating: 4.71/5    Votes: 28   Popularity: 6.67
Licence: Not specified      Bookmarked: 44   Downloaded: 1,287
Please Sign up or sign in to vote.
A typesafe alternative to sprintf from the std library
Posted: 16 Apr 2002   Updated: 16 Apr 2002   Views: 80,953   Rating: 4.29/5    Votes: 9   Popularity: 4.10
Licence: Not specified      Bookmarked: 23   Downloaded: 953
Please Sign up or sign in to vote.
Showing how to extend iostreams in order to stream custom types
Posted: 14 Jul 2002   Updated: 14 Jul 2002   Views: 117,700   Rating: 4.60/5    Votes: 7   Popularity: 3.89
Licence: Not specified      Bookmarked: 21   Downloaded: 394
Please Sign up or sign in to vote.
An exploration of extending the iostreams framework through stream modifiers
Posted: 24 Jul 2002   Updated: 24 Jul 2002   Views: 86,850   Rating: 3.80/5    Votes: 7   Popularity: 3.21
Licence: Not specified      Bookmarked: 20   Downloaded: 974
Please Sign up or sign in to vote.
An exploration of extending the iostreams framework through custom streams.
Web Development
ASP.NET
Posted: 11 Apr 2008   Updated: 11 Apr 2008   Views: 38,290   Rating: 4.38/5    Votes: 9   Popularity: 4.17
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 313
Please Sign up or sign in to vote.
A .NET wrapper for Authorize

Average blogs rating:

No blogs have been submitted.

Average tips rating:

No tips have been posted.

Average reference rating:

No reference articles have been posted.

Average project rating:

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.