Click here to Skip to main content
14,037,996 members

Best overall article of June 2011

This competition has ended

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.

16 Jun 2011
Wonde Tadesse
The other option will be to use Update Panel ASP.NET control as much as possible. It helps to retain the current position on the page whenever a postback happens to the page.
4 Jun 2011
MBigglesworth79
An introduction to Reflection in .NET as well as some examples of how it can be used.
13 Jun 2011
Ctznkane
The Array class already contains this capability with no casting required. The IndexOf method is a static one that returns the index of the value and a -1 if it doesn't exist.Here is an example:exists = Array.IndexOf(arr, "item") >= 0
8 Jun 2011
Arik Poznanski
In this post, we continue our review of the Windows Ribbon Framework feature brought to us in Windows 7. For more information on the ribbon feature in general and Windows Ribbon Framework in particular, make sure you read Part 1.
20 Jun 2011
Kiran Sonawane
1 alternative  
A trick when using Array.Contains()
14 Jun 2011
PSK_
1 alternative  
How to maintain scroll position of a long page with vertical scrollbar in browser other than IE.
13 Jun 2011
Luc Pattyn
This is an alternative to "L33t Tr4nsl4t0r (Leet Translator)".
27 Jun 2011
charles henington
1 alternative  
7 Jun 2011
Kim Togo
2 alternatives  
Code to change text to Leet
24 Jun 2011
Idle_Force
9 Jun 2011
Kanwal Shehzad
How to avoid WPF TreeView SelectedItemChanged being called twice
13 Jun 2011
Arik Poznanski
Review of the features in the Windows Ribbon Framework with focus on the most common feature in the ribbon: Buttons
14 Jun 2011
Tamir Khason
How to import OpenSSL private key into .NET application and use it with X509 public certificate to establish TLS connection with asymmetric encryption and two phase certificates handshake
17 Jun 2011
VallarasuS
1 alternative  
Here is how you can achieve Gradients used in Office 2010 Buttons with a glow at the bottom.
21 Jun 2011
rnbergren
The reverse is true as well. Typing "explorer ." will open Explorer from the command line for the current directory you are in. That comes in useful on occasions.
26 Jun 2011
Mukit, Ataul
This tip shows you how to create a delegate from a C++ function pointer
28 Jun 2011
Joel Ivory Johnson
Peer Communication on Windows Phone 7
2 Jun 2011
AlexCode
Using ResolveUrl without Page
2 Jun 2011
AshwinRayaprolu
Includes sample code that can connect to the GoogleTalk server and get a list of all your friends
8 Jun 2011
Kunal Chowdhury «IN»
Silverlight 5 Features Local File System Access without using COM API
16 Jun 2011
OlegKrivtsov
Some tips on available ways of distributing CRT DLLs with your Visual C++ application
25 Jun 2011
Mukit, Ataul
Link to How to implement a resizable property sheet class that contains a menu bar in Visual C++ 6.0
3 Jun 2011
Alexey Merson
If you have a SOAP server created with Borland Delphi and a SOAP client created with .NET, then you can't get it working out of the box.
4 Jun 2011
Pete O'Hanlon
Well, Microsoft has finally unveiled what is commonly known as Windows 8. The Metro UI represents a dramatic step forward for Windows applications.
7 Jun 2011
Shahriar Iqbal Chowdhury/Galib
Hi,Here is an alternative for your solutionSELECT CAST(DATEADD(MILLISECOND,SUM(DATEDIFF(MILLISECOND,0,CAST(TMP.TotalTime as DATETIME))),0) as TIME)FROM( SELECT CAST(timeduration AS TIME) TotalTime FROM mytable) TMP
10 Jun 2011
RaviRanjanKr
This tip will enable you to get DateTime Part in SQL without using Convert
10 Jun 2011
supercat9
If the right-hand operand of an assignment is a "new", there's no need to explicitly specify the type of the new variable being created unless the new variable will have to hold items of a more general type than the right-hand operand would indicate. I would consider the code clearer without the...
12 Jun 2011
Mohammad A Rahman
Caching uses with Proxy pattern in C#
12 Jun 2011
PeteBarber
It is critically important to make sure that a View's DataContext is properly created and attached before the underlying Window is displayed, otherwise initial events will be missed.
13 Jun 2011
AlexCode
Converting INTs to BINARY in SQL Server
15 Jun 2011
George Swan
As it stands, the TryParse method will fail if the string contains commas. E.g., 10,000. To get around this, you can use:bool isnumber=int.TryParse(text,System.Globalization.NumberStyles.Integer | System.Globalization.NumberStyles.AllowThousands, ...
15 Jun 2011
charles henington
1 alternative  
17 Jun 2011
pinaldave
Earlier I have published Puzzle Why SELECT * throws an error but SELECT COUNT(*) does not. This question have received many interesting comments. Let us go over few of the answers, which are valid.
21 Jun 2011
Vercas
Hex to dec to bin to oct converter and calculator... right on your PC
20 Jun 2011
thatraja
DescriptionR...
25 Jun 2011
a_pess
Draw to Screen without using API
22 Jun 2011
Andrew Rissing
A simple trick to remove the delay of Thread.Sleep for unit testing.
23 Jun 2011
Member 8009015
My XP method is to:Go to C:\WINDOWS\system32\Right click on cmd.exeSend to Desktop (shortcut)Right click on the Desktop shortcutClear the start in parameterOn the address line of any Explorer directory, start typing cmd and you will get a list of any icons on the Desktop starting...
25 Jun 2011
Enrico Oliva
A concrete implementation of the Quantities, Units, Dimensions, and Values abstract model through an object oriented implementation.
29 Jun 2011
Erich Ledesma
I rather like IEnumerable than IList, parameters should be as general as posible. I think it's really getting very fun up here. Here's my choice, just for strings.public static string Join(this IEnumerable parts, string separator){ if (! parts.Any()) return...
29 Jun 2011
Mukit, Ataul
3 alternatives  
This tip shows you how to pass a const char* or const wchar_t* as a template argument
2 Jun 2011
AshwinRayaprolu
OSGI for beginners Using Maven with Equinox (HowTo)
2 Jun 2011
IGood
I'm a fan of these guys... (Though I feel like I might catch some flack for the first one.)public static bool IsNullOrEmpty(this ICollection collection){ return collection == null || collection.Count == 0;}public static float Clamp(this float value, float low, float hi){...
4 Jun 2011
pinaldave
SQL Server – Puzzle – Statistics are not Updated but are Created Once
8 Jun 2011
AshwinRayaprolu
PDF Generation Using Templates and OpenOffice and Itext in Java
8 Jun 2011
Kim Togo
I have tried to change the code with a good idea from Luc Pattyn (Thanks).The code is more compact, and I have tried to make the code more simple, that handles the degree selection.// Leet Translator - L33t Tr4nsl4t0r.// Version 2.//// Just for the fun.//using...
9 Jun 2011
FDW
This is what I would do:using System;using NUnit.Framework;using System.Reflection;namespace Profix.Utils.Xpo.UnitTests{ [TestFixture] public class Functions { private void Tax() { Console.WriteLine("Computed Tax."); } private void Sale() {...
10 Jun 2011
Arik Poznanski
“After the Deadline” provides a web based API for both grammar and spell checking, free for non-commercial use!
12 Jun 2011
GAMerritt
A C# method which rounds to the nearest multiple of a chosen power of an arbitrary base.

Current Participants

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

Kunal Chowdhury «IN»
Technical Lead
India India

Kunal Chowdhury is a former Microsoft "Windows Platform Development" MVP (Most Valuable Professional, 2010 - 2018), a Codeproject Mentor, Speaker in various Microsoft events, Author, passionate Blogger and a Senior Technical Lead by profession.

He is currently working in an MNC located in India. He has a very good skill over XAML, C#, Silverlight, Windows Phone, WPF and Windows app development. He posts his findings, articles, tutorials in his technical blog (www.kunal-chowdhury.com) and CodeProject.


Books authored:


Connect with Kunal on:




PSK_
Architect
India India
Its me Smile | :)
a_pess
Engineer
Egypt Egypt
Oil & Gas Engineer
C# & VB.net
Coding For Fun Only
AlexCode
Architect
Switzerland Switzerland
Senior IT Consultant working in Switzerland as Senior Software Engineer.

Find more at on my blog.
Alexey Merson
Software Developer
Russian Federation Russian Federation
No Biography provided
Andrew Rissing
Software Developer (Senior)
United States United States
Since I've begun my profession as a software developer, I've learned one important fact - change is inevitable. Requirements change, code changes, and life changes.

So..If you're not moving forward, you're moving backwards.
Arik Poznanski
Software Developer (Senior) Verint
Israel Israel
Arik Poznanski is a senior software developer at Verint. He completed two B.Sc. degrees in Mathematics & Computer Science, summa cum laude, from the Technion in Israel.

Arik has extensive knowledge and experience in many Microsoft technologies, including .NET with C#, WPF, Silverlight, WinForms, Interop, COM/ATL programming, C++ Win32 programming and reverse engineering (assembly, IL).
AshwinRayaprolu
Chief Technology Officer Northalley
United States United States
A Technology evangelist with no technical language barriers. A strong believer that Simple Sofware Is Perfect Software. A staunch proponent of software / documentation automation in all domain's. And finally a true diciple of Google Search.
charles henington
United States United States
I do not claim to be wrong! I just rarely ever write.
Ctznkane
United States United States
No Biography provided
Enrico Oliva
Software Developer
Italy Italy
PhD in Computer Science, software engineer and developer Visit my home page
Erich Ledesma
Architect SunHotels
Spain Spain
I Received a Bachelor's Degree in Computer Science at the Mathematics and Computer Science Faculty, University of Havana, Cuba.

I mainly work in web applications using C# and some Javascript. Some very few times do some Java.
FDW
Netherlands Netherlands
No Biography provided
GAMerritt
United States United States
Writer, designer, inventor, musician, observer, and critic with many years of experience in each of these areas. I can do without the approval of "experts" because I believe candid statements and penetrating analysis bring greater rewards than a "pat on the back". And if I have something to say when you're not listening, I tell someone else about it.
George Swan
Student
Wales Wales
No Biography provided
Idle_Force
Software Developer
United States United States
Programmer of 5+ years. I enjoy VB.Net, WPF and Silverlight, and Web design with ASPX. Live in the beautiful state of Colorado. Enjoy hiking, biking and skiing.
IGood
Software Developer 5TH Cell
United States United States
Tools & gameplay programmer at 5TH Cell Media.
DigiPen student class of '09.
Joel Ivory Johnson
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

Kanwal Shehzad
Software Developer (Senior) Al Kaffary
Saudi Arabia Saudi Arabia
I am Computer Science graduate and working in Microsoft technologies (VB.Net/C#, ASP.Net, WPF, WCF, SQL Server 2005/2008, Web Services).
Kim Togo
Software Developer Miralix
Denmark Denmark
Has worked as a programmer since 1999, starting with C++/MFC, Java, PHP and MySQL. Now it is all about C# (my favorite programming language), MS SQL, Azure and Xamarin (iOS/Android/WP8)

My primary work is to create applications that interacts with PABC/PBX, Microsoft Lync / UCMA.
Kiran Sonawane
Team Leader iNautix Technologies
India India
I am microsoft professional having about 8 years of experience on web technologies and working as TechLead. I am self starter guy and proficient in asp.net, web & wcf service. Try to learn something new everyday, this is how I work. In my 8 years of experience I worked with Microsoft technology, PHP, classic ASP, Cold Fusion and Ruby on Rails
Luc Pattyn
Software Developer (Senior) Perceler
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.
MBigglesworth79
Web Developer
United Kingdom United Kingdom
No Biography provided
Member 8009015
United States United States
No Biography provided
Mukit, Ataul
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
NIkradsystem
United States United States
No Biography provided
OlegKrivtsov
Russian Federation Russian Federation
I am a software developer currently living in Tomsk, Russia. I received a PhD degree in Computer Science from Tomsk Polytechnic University in 2010. I have been professionally developing C/C++ and PHP software since 2005. I like contributing to open-source and writing programming articles for popular web resources, like CodeProject. Besides writing, I love skiing and watching Formula-1.
Pete O'Hanlon
CEO
United Kingdom United Kingdom
A developer for over 30 years, I've been lucky enough to write articles and applications for Code Project as well as the Intel Ultimate Coder - Going Perceptual challenge. I live in the North East of England with 2 wonderful daughters and a wonderful wife.

I am not the Stig, but I do wish I had Lotus Tuned Suspension.
PeteBarber
Team Leader
United Kingdom United Kingdom
My day job is mostly working in C++ with a bit of C#. I write a fair amount of command line based tools and really wish they could have a GUI front-end to them hence why I spend my spare time working with WPF.

I started a blog few years back but didn't do a lot with it. I've started describing some of the interesting programming things I come across on it. Please take a look.
pinaldave
Founder http://blog.SQLAuthority.com
India India
Pinal Dave is a Microsoft Technology Evangelist (Database and BI). He has written over 2200 articles on the subject on his blog at http://blog.sqlauthority.com. Along with 8+ years of hands on experience he holds a Masters of Science degree and a number of certifications, including MCTS, MCDBA and MCAD (.NET). He is co-author of two SQL Server books - SQL Server Programming, SQL Wait Stats and SQL Server Interview Questions and Answers. Prior to joining Microsoft he was awarded Microsoft MVP award for three continuous years for his contribution in community.
RaviRanjanKr
Software Developer
India India
No Biography provided
rnbergren
Technical Lead
United States United States
Just a geek, dad, husband, photographer trying not to muck up too badly in life
Shahriar Iqbal Chowdhury/Galib
Chief Technology Officer
Bangladesh Bangladesh
I am a Software Engineer and Microsoft .NET technology enthusiast. Professionally I worked on several business domains and on diverse platforms. I love to learn and share new .net technology and my experience I gather in my engineering career. You can find me from here

Personal Site
Personal Blog
FB MS enthusiasts group
About Me
supercat9
Web Developer
Unknown
Embedded systems programmer since 1994.
Tamir Khason
Architect Better Place
Israel Israel
Hello! My name is Tamir Khason, and I am software architect, project manager, system analyst and [of course] programmer. In addition to writing big amount of documentation, I also write code, a lot of code. I used to work as a freelance architect, project manager, trainer, and consultant here, in Israel, but recently join the company with extremely persuasive idea - to make a world better place. I have very pretty wife and 3 charming kids, but unfortunately almost no time for them.

To be updated within articles, I publishing, visit my blog or subscribe RSS feed. Also you can follow me on Twitter to be up to date about my everyday life.
thatraja
Web Developer
India India
Retired from Q/A section & Technical forums since 2014

More coming soon....
VallarasuS
Technical Lead
India India
I code, learn, listen, and some day in a near future be a proud farmer.
Vercas
Romania Romania
A 17-year-old whose passion is programming, mostly in C# and Lua.
Wonde Tadesse
Architect
United States United States
MSCS, MCTS, Senior Software Engineer, Architect, Craftsman, The Ultimate DEV ...
Azure Series

You must sign in to participate in this contest.
This contest has ended.
1 Jun - 30 Jun 2011

Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190425.1 | Last Updated 1 Jun 2011
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid