Click here to Skip to main content
15,879,535 members
This competition has ended

Best C# article of Jan 2007

Contribute to CodeProject and you'll automatically be in the running for a monthly prize!

Each month at CodeProject we gather together the best of the articles submitted the previous month and ask our readers to choose the best of the best. Entry is automatic - just submit you articke and we'll do the rest.

Check out the submission guidelines for information on posting articles.

Current Entries

Articles that match the contest criteria are automatically entered. The top 50 entries are shown.

Please Sign up or sign in to vote.
19 Jan 2007Mike Hankey
Animated, docking header control
Please Sign up or sign in to vote.
29 Jan 2007Josh Smith
Reviews an advanced layout customization for the WPF TreeView.
Please Sign up or sign in to vote.
18 May 2007Christian Graus, Benjamin Liedblad
A wrapper to allow remote capture of images with Canon cameras in C#
Please Sign up or sign in to vote.
9 Mar 2015Steve Messer, Emma Burrows
Windows XP supports multiple keyboards, but by default, the .Net Framework will treat them all as one. This article explains how to use the Windows API Raw Input methods to support multiple keyboards from a C# application.
Please Sign up or sign in to vote.
9 Jan 2007Ashish Derhgawen
A quick article on setting up a simple, real-time laser gesture recognition application and using it to control Windows Media Player.
Please Sign up or sign in to vote.
11 May 2015R Potter
A guide through a Vector type in C# using Cartesian and Euclidian Geometry
Please Sign up or sign in to vote.
15 Jan 2007krogerma
Useful concurrency classes and small test bench in C#
Please Sign up or sign in to vote.
26 Jan 2007bobsugar222
An article on a class to watermark images
Please Sign up or sign in to vote.
19 Jan 2007kubben
Have you ever wanted to trap the Enter key press event in ASP.NET and have it click a button for you? This article describes two options for capturing the Enter key press event and then clicking a button. One solution uses JavaScript, the other uses a Panel control.
Please Sign up or sign in to vote.
13 Apr 2007Josh Smith
Discusses automated drag-and-drop in the WPF ListView.
Please Sign up or sign in to vote.
16 Mar 2007Brendan Grant
This article describes the use of several custom C# classes that can be used to create, view, edit and delete Windows file associations.
Please Sign up or sign in to vote.
24 Jan 2007Josh Smith 1 alternative  
Shows how to turn a TreeView into an Org Chart.
Please Sign up or sign in to vote.
16 Jan 2007Luc Pattyn
A simple Sokoban implementation in C# with some extras
Please Sign up or sign in to vote.
30 Nov 2008Jason Titcomb
Article and source code for creating a CNC graphical backplotter
Please Sign up or sign in to vote.
15 Jan 2007Carsten Zeumer
Add a PropertyTab showing the fields of an object and overlay icons to the PropertyGrid
Please Sign up or sign in to vote.
22 Jan 2007Herbrandson
Explains how to insert logging into code at runtime using IL rewriting and the .Net profiling API
Please Sign up or sign in to vote.
27 Oct 2009Carsten Zeumer
Detect the encoding of a text without BOM (Byte Order Mask) and choose the best Encoding for persistence or network transport of text
Please Sign up or sign in to vote.
30 Jan 2007Michal Brylka
Render custom arrows on any graphics
Please Sign up or sign in to vote.
11 Feb 2008Hitesh Sharma
A simple network sniffer which can parse IP, TCP, UDP, and DNS packets.
Please Sign up or sign in to vote.
2 Oct 2007Cassio Mosqueira
An article on AJAX AutoSuggest control
Please Sign up or sign in to vote.
19 Jan 2007Rafey
Have your .NET Windows application cool Firefox option dialog with almost no effort. This user control is written in C# and could be used in any .NET compliant language.
Please Sign up or sign in to vote.
31 Jan 2007Fadi Abdelqader
Four examples to create your Conferencing System in .NET using H.323 and TAPI 3
Please Sign up or sign in to vote.
15 Mar 2008H. S. Masud
Music library, Probability based random play
Please Sign up or sign in to vote.
8 Jan 2007zam664
Extract project data from Microsoft Project and import it into Microsoft Excel.
Please Sign up or sign in to vote.
17 Jan 2007Mohammed Habeeb
An article to demonstrate common FTP functionalities using C#.NET 2.0.
Please Sign up or sign in to vote.
12 Jan 2007Mark J. Miller
Defining (rather loosely) ad hoc queries as SQL commands built as strings by an SQL client application and submitted to SQL Server.
Please Sign up or sign in to vote.
30 Jan 2007TylerBrinks
How to call absolutely any .NET code from your Vista Sidebar Gadget
Please Sign up or sign in to vote.
19 Jan 2007Seth Rowe
An unfinished class that allows for runtime resizing of controls.
Please Sign up or sign in to vote.
2 Feb 2007nd1279
A desktop color picker with magnifying glass written in C# 2.0 without using APIs with DllImport or something else.
Please Sign up or sign in to vote.
8 Nov 2007Muhammed Şahin
Outlook 2003 Style Navigation Pane (Almost 2007 Style)
Please Sign up or sign in to vote.
17 May 2007Sacha Barber
Shows how to store images in SQL Database Image Storage & create Thumnails easiliy from
Please Sign up or sign in to vote.
14 Jan 2007Hadi Eskandari
A component to download files over the network with support for proxies, SSL and resume.
Please Sign up or sign in to vote.
11 Jan 2007Chris Stefano
Another use for XML and XSLT
Please Sign up or sign in to vote.
13 Jan 2007Fabio Zanetta
An introduction to ScriptedItem and ScriptAge for the AGE engine
Please Sign up or sign in to vote.
21 Jun 2007Filip van der Meeren
An article on creating MSN 8 plug-ins
Please Sign up or sign in to vote.
10 Mar 2010Omar Al Zabir
Build a Start Page similar to Google IG in 7 nights using ASP.NET AJAX, .NET 3.0, LINQ, DLinq, and XLinq.
Please Sign up or sign in to vote.
29 Jan 2007Sacha Barber
An implementation of Dawkins Biomorphs and some more crazy evolving creatures.
Please Sign up or sign in to vote.
3 Jan 2007Emmanuel71
An article about Custom Businessobjects in conjunction with the DataSet to Retrieve Data
Please Sign up or sign in to vote.
15 Feb 2007vahid_mardani
This is a Persian web calendar with full features like ASP.NET 2.0 Calendar Control
Please Sign up or sign in to vote.
26 May 2008Zijian
vCard reader coded in C#, with lightweight approach
Please Sign up or sign in to vote.
11 Apr 2009kriceslo
Reduce sitemap maintenence and never have another "unlisted" page! Unlisted pages dynamically inherit site map placement from a parent page. Replace repetitive '/default.aspx' mentions with '/' for friendlier URLs. Wildcard query string matching and more...
Please Sign up or sign in to vote.
17 Jan 2007Rafey
FireBird.SqlHelper is a C# porting of Microsoft Data Access Application Block V2. Just like the Microsoft Data Access Application Block V2, FireBird.SqlHelper encapsulates performance and resource management best practices and can easily be used as a building block in your own .NET FireBird applicat
Please Sign up or sign in to vote.
16 Jan 2007M Harris
Shows you how to create a tool window add-in with Visual Studio 2005.
Please Sign up or sign in to vote.
4 Mar 2007Chris Buckett
A demonstration class for adding Application Recovery to your Windows Vista C# application.
Please Sign up or sign in to vote.
30 Mar 2007AdamNajmanowicz
The article describes the retrieval of one's public IP address and geo location and possibly assigning it to one's Skype profile.
Please Sign up or sign in to vote.
24 Jan 2007Jay Liu
Provides a user control that allows the user to edit HTML page.
Please Sign up or sign in to vote.
8 Feb 2007Luke Stratman
This service watches for filesystem events in directories and runs specified programs in response to those events.
Please Sign up or sign in to vote.
24 Jan 2007jdkulkarni
This article describes DataGridView manipulation like add, edit, and delete, with paging, and using asynchronous method calls.
Please Sign up or sign in to vote.
11 Nov 2012Joel Ivory Johnson
This article demonstrates how to use the Microsoft XNA Framework to read the state of an Xbox 360 controller

Current Participants

Those with articles that match the contest criteria are automatically entered.

Web Developer
Poland Poland
Adam Najmanowicz is a Senior Developer at Cognifide Poland.

His previous experience includes Delphi, .Net as well as Java Development.

Currently working on ASP.NET + MSSql Server(Oracle) solutions for enterprises.

Also developing desktop applications for Stardock Systems.
Software Developer
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United Kingdom United Kingdom
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Germany Germany
Carsten started programming Basic and Assembler back in the 80’s when he got his first C64. After switching to a x86 based system he started programming in Pascal and C. He started Windows programming with the arrival of Windows 3.0. After working for various internet companies developing a linguistic text analysis and classification software for 25hours communications he is now working as a contractor.

Carsten lives in Hamburg, Germany with his wife and five children.
Software Developer (Senior) Intelligent Coder
Canada Canada
I've been developing .NET enterprise applications since 2000.

I am originally from Rio de Janeiro and I am currently working at http://www.intelligentcoder.com in Ontario.

I also have my own startup where we offer client intake forms.
Software Developer (Senior) Entity Group Ltd
United Kingdom United Kingdom
Chris Buckett is developer based in Maidstone, Kent, UK. He has been producing beskpoke software solutions in the accounting and technology fields since 1995, initially using Borland Delphi, and in the past few years using Microsoft C#, VB.Net, ASP.NET, Winforms, Sql Server and related technologies.
Chris Buckett is married with 2 children, and enjoys hiking, photography and playing the melodeon (although rarely all at the same time).
Software Developer (Senior)
United Kingdom United Kingdom
Systems builder and developer, DotNet C#, Ruby, Golang, Linux, Cloud, Open Source contributor.
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.
Web Developer
Belgium Belgium
Working in the IT-Branch for more then 10 years now. Starting as a programmer in WinDev, moved to Progress and actualy working in .NET since 2003. At the moment i'm employed as a .NET architect and teamleader at BERCO N.V. at Ronse (Belgium). In my spare time, i'm a die hard mountainbiker and together with my son Jarne, we're climbing the hills in the "Flemish Ardens" and the wonderfull "Pays des Collines". I also enjoy "a p'tit Jack" (Jack Daniels Whiskey) or a "Duvel" (beer) for "l'après VTT !".
Web Developer
Italy Italy
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Systems Engineer SocketCoder.Com
Jordan Jordan
Fadi Abdelqader
WebSite: http://www.SocketCoder.com
Facebook Group: http://www.facebook.com/groups/socketcoder/
Facebook Page: http://www.facebook.com/socketcoders/

Last Published Book:
-Professional Network, Distributed Systems & TCP/IP Programming In .NET Framework 1.1 & 2.0 (2006 Release)

Last Published eBook:
- The SocketCoder e-Reference For Network, Distributed Systems And TCP/IP Programming In .NET, Arabic (SocketCoder.Com 2010)

Last Projects:
- Silverlight Based Projects For Web Video Conferencing (WCS,WMS,WCS Plus..)
-(SocketCoder) RTP Multicasting VOIP Library
-(SocketCoder) Remote Controlling Systems

Last SocketCoder RSS: http://www.socketcoder.com/feed/

http://www.socketcoder.com
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) KAZ Software Limited
Bangladesh Bangladesh
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Readify
Australia Australia
Working on both Java and .NET Technology, I have developed various enterprise level applications on both platforms. Currently, I am working as a Senior Software Developer at Readify which is a leading company on .NET technology in Australia.
Software Developer (Senior) Scratch Audio
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United States United States
Currently working as a CAD(Computer aided design) trainer and macro developer for a CAD company. Background also includes 8 years of CNC(computer numerical control) programming and machine tool automation.
China China
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior) Symantec Services, Pune
India India
Dear Friends,
I'm from Pune and currently working with Symantec. I'm having 7+ yrs of software development experience and I'm working on .NET since 6+ years.
I'm a Brainbench Certified Software Engineer in C#, ASP.NET, .NET Framework and ADO.NET.
Software Developer
United States United States
I attended Southern Polytechnic State University and earned a Bachelors of Science in Computer Science and later returned to earn a Masters of Science in Software Engineering. I've largely developed solutions that are based on a mix of Microsoft technologies with open source technologies mixed in. I've got an interest in astronomy and you'll see that interest overflow into some of my code project articles from time to time.



Twitter:@j2inet

Instagram: j2inet

Software Developer (Senior)
United States United States
Josh creates software, for iOS and Windows.

He works at Black Pixel as a Senior Developer.

Read his iOS Programming for .NET Developers[^] book to learn how to write iPhone and iPad apps by leveraging your existing .NET skills.

Use his Master WPF[^] app on your iPhone to sharpen your WPF skills on the go.

Check out his Advanced MVVM[^] book.

Visit his WPF blog[^] or stop by his iOS blog[^].

See his website Josh Smith Digital[^].
United States United States
Kevin Rice is a firefighter for a major Southern California fire department. When not working, he enjoys web programming, administration, riding dirt-bikes (Visit SLORider.com) or building anything electronic.
Web Developer
United States United States
Kurt R. Matis received the B.S degree in Applied Mathemetics from Empire State College in 1981 and the PhD. degree in Electrical Engineering from Rensselaer Polytechnic Institute in 1984. He has been involved in several companies over the past 30 years, but has been most recently involved with the Macher-Plander Software Engineering Consortium, of which he is a co-founder. The Consortium is involved with education in .Net technologies and Software Quality Management topics.

Dr. Matis is a member of IEEE and the American Historical Truck Society. Kurt lives happily in Troy, NY with his beautiful wife, two beautiful daughters and his beautiful trucks.

Dr. Matis is interested in working with companies who wish assistance in porting legacy applications of all types to .Net. He can be reached at krogerma@aol.com.



Software Developer (Senior)
United States United States
I started my programmer career over 26 years ago doing COBOL and SAS on a MVS mainframe. It didn't take long for me to move into windows programming. I started my windows programming in Delphi (Pascal) with a Microsoft SQL server back end. I started working with vb.net when the beta 2 came out in 2001. After spending most of my programming life as a windows programmer I started to check out asp.net in 2004. I achieved my MCSD.net in April 2005. I have done a lot of MS SQL database stuff. I have a lot of experience with Window Service and Web services as well. I spent three years as a consultant programing in C#. I really enjoyed it and found the switch between vb.net and C# to be mostly syntax. In my current position I am programming in C# working on WPF and MSSql database stuff. Lately I have been using VS2019.

On a personal note I am a born again Christian, if anyone has any questions about what it means to have a right relationship with God or if you have questions about who Jesus Christ is, send me an e-mail. ben.kubicek[at]netzero[dot]com You need to replace the [at] with @ and [dot] with . for the email to work. My relationship with God gives purpose and meaning to my life.
Software Developer (Senior)
Belgium Belgium
I am an engineer with a background in electronics, software and mathematics.

I develop technical software, both for embedded systems and for desktop equipment. This includes operating systems, communication software, local networks, image processing, machine control, automation, etc.

I have been using all kinds of microcontrollers and microprocessors (Intel 4004/8080/8051/80386/Pentium, Motorola 680x/680x0/ColdFire/PowerPC, Microchip PIC, Altera NIOS, and many more), lots of programming languages (all relevant assemblers, Fortran, Basic, C, Java, C#, and many more), and different operating systems (both proprietary and commercial).

For desktop applications and general development tools I have been using both UNIX systems and Mac/MacOS for many years, but I have switched to x86-based PCs with Windows, Visual Studio and the .NET Framework several years ago.

I specialize in:
- cross-platform development (making software that runs on diverse hardware/OS combinations)
- instruction set simulation
- improving software performance, i.e. making sure the software runs the job at hand in as short a time as possible on the given hardware. This entails algorithm selection, implementation design, accurate measurements, code optimisation, and sometimes implementing virtual machines, applying SIMD technology (such as MMX/SSE), and more.
Software Developer (Senior) AOC Solutions
United States United States
I'm a software architect in the truest sense of the word: I love writing code, designing systems, and solving tough problems in elegant ways. I got into this industry not for the money, but because I honestly can't imagine myself doing anything else. Over my career, I've worked on just about every major Microsoft web technology, running the gamut from SQL Server 7.0 to 2008, from .NET 1.1 to 4.0, and many others. I've made a name for myself and have risen to my current position by being able to visualize and code complex systems, all while keeping the code performant and extensible.

Both inside and outside of work, I love researching new technologies and using them sensibly to solve problems, not simply trying to force the newest square peg into the round hole. From emerging Microsoft projects like AppFabric to third party or open source efforts like MongoDB, nServiceBus, or ZeroMQ, I'm constantly trying to find the next technology that can eliminate single points of failure or help scale my data tier.

Outside of work, I'm a rabid DC sports fan and I love the outdoors, especially when I get a chance to hike or kayak.
Software Developer
Australia Australia
Mark spends his spare time working on his radio control planes, helicopters and trucks. He devises new ways to make them crash faster and easier than ever before. Mark has progressed this joy of destroying nice toys into build UAV's - which can crash themselves with, or without user input.

Mark enjoys all aspects of C#, specifically windows programming and regular expressions.
Web Developer STG Utah
United States United States
Mark is a jock turned geek who has been programming since early 2000 where he stumbled on excel macros and dug down to discover VBA. Since 2001 he has been working for MaxPreps.com where he can be a geek who writes web applications for jocks. He has been using C# and ASP.Net since 2002.

Check out Mark's blog: www.developMENTALmadness.com

View Mark Miller's profile on LinkedIn
Architect Nokia Siemens Networks
Poland Poland
Michał is C# and whole .NET enthusiast. He graduated from computer science MSc studies at Wroclaw University of Technology, Poland.

He is interested in photography and diving. He is member of PADI, currently with divemaster certificate.

His favorite movies are Matrix, Amélie(Le Fabuleux Destin d'Amélie Poulain), Stargate SG-1 TV Serie and comedies of Mel Brooks.

Michał lives in Wroclaw, Poland. To contact Michał, email him at michal.brylka[mail-'"at'"-sign]op.pl.
Retired
United States United States
Currently enjoying retirement and working on projects without pressure, deadlines or any kind of management.
Web Developer
India India
Mohammed Habeeb works as a software developer for an IT company in Dubai. He holds a bachelors in Computer Science Engineering from MES College, Calicut University. He is also a Microsoft Certified Application Developer (MCAD) in .NET Framework. He has a strong inclination towards Microsoft technologies especially the .NET Platform. He has been an active member of Cochin and Bangalore Microsoft user groups.
He has a strong passion for science and technology. His interests span through travelling, driving, photography, stamps and coin collection.
You can find more about him @ http://www.habeebonline.com
Software Developer
Turkey Turkey
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect BT, UK (ex British Telecom)
United Kingdom United Kingdom
Software Developer (Senior) RADD Solutions Limited
United Kingdom United Kingdom
Director at RADD Solutions Limited, a software development and consultation company in the UK.
Web Developer
Pakistan Pakistan
Software engineer developing solutions using Microsoft technologies.
Software Developer (Senior)
United Kingdom United Kingdom
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2016
  • Codeproject MVP 2016
  • Microsoft C# MVP 2015
  • Codeproject MVP 2015
  • Microsoft C# MVP 2014
  • Codeproject MVP 2014
  • Microsoft C# MVP 2013
  • Codeproject MVP 2013
  • Microsoft C# MVP 2012
  • Codeproject MVP 2012
  • Microsoft C# MVP 2011
  • Codeproject MVP 2011
  • Microsoft C# MVP 2010
  • Codeproject MVP 2010
  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog
Web Developer
United States United States
While young, at only 22 years of age, I constantly am trying to improve my programming skill set. I currently work for an IT technology leader as an ASP.NET/.NET developer in Columbus, Ohio. I was also awarded Microsoft MVP status for Visual Basic for the first time in 2008. It is a great honor to join the team of MVP's worldwide.

Apart from programming, I spend all my time with my lovely and supportive wife (who is carrying our first child). Besides from programming, you can also find me running around the virtual world of World of Warcraft.
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer PageLabs
United States United States
I'm the founder of PageLabs, a web-based performance and SEO optimization site.

Give your site a boost in performance, even take a free speed test!

http://www.pagelabs.com
Web Developer
Iran (Islamic Republic of) Iran (Islamic Republic of)
Python, PostgreSQL, Cherrypy, Apache, .Net , C#, Asp.net, .Net Remoting, Ajax, Controls, MVC, SOA, SOAP, Razor
Architect
United States United States
Michael Carey is the Head of Development for an Automation Integrator in Philadelphia, PA. Michael specializes in Batch Automation, Process History, and Factory to Enterprise Integration.
Software Developer
Australia Australia
I started my IT career in programming on different embedded devices since 1992, such as credit card readers, smart card readers and Palm Pilot.

Since 2000, I have mostly been developing business applications on Windows platforms while also developing some tools for myself and developers around the world, so we developers could focus more on delivering business values rather than repetitive tasks of handling technical details.

Beside technical works, I enjoy reading literatures, playing balls, cooking and gardening.
You must sign in to participate in this contest.
This contest has ended.
1 Jan - 1 Feb 2007