Click here to Skip to main content
15,881,413 members
This competition has ended

Best overall article of June 2011

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.
16 Jun 2011Wonde 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.
Please Sign up or sign in to vote.
4 Jun 2011MBigglesworth79
An introduction to Reflection in .NET as well as some examples of how it can be used.
Please Sign up or sign in to vote.
13 Jun 2011Ctznkane
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
Please Sign up or sign in to vote.
8 Jun 2011Arik 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.
Please Sign up or sign in to vote.
20 Jun 2011Kiran Sonawane 1 alternative  
A trick when using Array.Contains()
Please Sign up or sign in to vote.
14 Jun 2011PSK_ 1 alternative  
How to maintain scroll position of a long page with vertical scrollbar in browser other than IE.
Please Sign up or sign in to vote.
13 Jun 2011Luc Pattyn
This is an alternative to "L33t Tr4nsl4t0r (Leet Translator)".
Please Sign up or sign in to vote.
13 Jun 2011Arik Poznanski
Review of the features in the Windows Ribbon Framework with focus on the most common feature in the ribbon: Buttons
Please Sign up or sign in to vote.
27 Jun 2011charles henington 1 alternative  
Please Sign up or sign in to vote.
21 Jun 2011rnbergren
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.
Please Sign up or sign in to vote.
24 Jun 2011Idle_Force
Please Sign up or sign in to vote.
5 Jun 2011JV9999
Not really, because what if your finally block would contain more lines of code than the single line you have in your example? That would make it already much harder to read.Secondly, you are misusing the Dispose method. You shouldn't invoke anything in it, especially not the Action, you...
Please Sign up or sign in to vote.
7 Jun 2011Kim Togo 2 alternatives  
Code to change text to Leet
Please Sign up or sign in to vote.
14 Jun 2011Tamir 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
Please Sign up or sign in to vote.
17 Jun 2011VallarasuS 1 alternative  
Here is how you can achieve Gradients used in Office 2010 Buttons with a glow at the bottom.
Please Sign up or sign in to vote.
28 Jun 2011Joel Ivory Johnson
Peer Communication on Windows Phone 7
Please Sign up or sign in to vote.
26 Jun 2011Mukit, Ataul
This tip shows you how to create a delegate from a C++ function pointer
Please Sign up or sign in to vote.
16 Jun 2011OlegKrivtsov
Some tips on available ways of distributing CRT DLLs with your Visual C++ application
Please Sign up or sign in to vote.
9 Jun 2011Kanwal Shehzad
How to avoid WPF TreeView SelectedItemChanged being called twice
Please Sign up or sign in to vote.
2 Jun 2011AlexCode
Using ResolveUrl without Page
Please Sign up or sign in to vote.
2 Jun 2011AshwinRayaprolu
Includes sample code that can connect to the GoogleTalk server and get a list of all your friends
Please Sign up or sign in to vote.
25 Jun 2011Mukit, Ataul
Link to How to implement a resizable property sheet class that contains a menu bar in Visual C++ 6.0
Please Sign up or sign in to vote.
8 Jun 2011Kunal Chowdhury «IN»
Silverlight 5 Features Local File System Access without using COM API
Please Sign up or sign in to vote.
25 Jun 2011Enrico Oliva
A concrete implementation of the Quantities, Units, Dimensions, and Values abstract model through an object oriented implementation.
Please Sign up or sign in to vote.
29 Jun 2011Erich 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...
Please Sign up or sign in to vote.
17 Jun 2011pinaldave
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.
Please Sign up or sign in to vote.
20 Jun 2011thatraja
DescriptionR...
Please Sign up or sign in to vote.
7 Jun 2011Shahriar 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
Please Sign up or sign in to vote.
10 Jun 2011RaviRanjanKr
This tip will enable you to get DateTime Part in SQL without using Convert
Please Sign up or sign in to vote.
13 Jun 2011AlexCode
Converting INTs to BINARY in SQL Server
Please Sign up or sign in to vote.
4 Jun 2011Pete 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.
Please Sign up or sign in to vote.
21 Jun 2011Vercas
Hex to dec to bin to oct converter and calculator... right on your PC
Please Sign up or sign in to vote.
23 Jun 2011Member 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...
Please Sign up or sign in to vote.
3 Jun 2011Alexey 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.
Please Sign up or sign in to vote.
29 Jun 2011Mukit, Ataul 3 alternatives  
This tip shows you how to pass a const char* or const wchar_t* as a template argument
Please Sign up or sign in to vote.
25 Jun 2011a_pess
Draw to Screen without using API
Please Sign up or sign in to vote.
10 Jun 2011supercat9
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...
Please Sign up or sign in to vote.
12 Jun 2011Mohammad A Rahman
Caching uses with Proxy pattern in C#
Please Sign up or sign in to vote.
12 Jun 2011PeteBarber
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.
Please Sign up or sign in to vote.
15 Jun 2011charles henington 1 alternative  
Please Sign up or sign in to vote.
15 Jun 2011George 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, ...
Please Sign up or sign in to vote.
22 Jun 2011Andrew Rissing
A simple trick to remove the delay of Thread.Sleep for unit testing.
Please Sign up or sign in to vote.
16 Jun 2011Artem Smirnov
For those of you scared by the numerous steps required to setup a typical Open Source project, this would be a pleasant surprise.
Please Sign up or sign in to vote.
26 Jun 2011JP_Rocks 4 alternatives  
A tip to concatenate a set of strings using comma/pipe
Please Sign up or sign in to vote.
29 Jun 2011Ziad J.khan
You can find a much more advanced version of this here:http://univar.codeplex.com[^]The version provided on the download page is soon to be deprecated by the upcoming version 2.0b however. The latter is available here instead:http://univar.codeplex.com/SourceControl/list/changesets[^]
Please Sign up or sign in to vote.
2 Jun 2011AshwinRayaprolu
OSGI for beginners Using Maven with Equinox (HowTo)
Please Sign up or sign in to vote.
29 Jun 2011Gary H Guo
People seem interested in the Dynamic Decorator but are concerned about the performance overhead of the .NET remoting. Here, I try to clarify some mystery of the implementation of Dynamic Decorator.
Please Sign up or sign in to vote.
8 Jun 2011AshwinRayaprolu
PDF Generation Using Templates and OpenOffice and Itext in Java
Please Sign up or sign in to vote.
4 Jun 2011pinaldave
SQL Server – Puzzle – Statistics are not Updated but are Created Once

Current Participants

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

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:




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

Find more at on my blog.
Software Developer
Russian Federation Russian Federation
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect
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.
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).
Software Developer GeekSoft
Lithuania Lithuania
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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.
United States United States
I do not claim to be wrong! I just rarely ever write.
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
Italy Italy
PhD in Computer Science, software engineer and developer Visit my home page
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.
United States United States
Object-oriented (OO) is about "classes" not "objects". But I truly believe that "objects" deserve more our attentions. If you agree, read more on... Dynamic Object Programming (DOP), Component-Based Object Extender (CBO Extender), AOP Container and Dynamic Decorator Pattern.

Mobile development is not just another type of front end. The real challenge is actually in the back end: How to present meaningful information in time to mobile users with exponentially increased data flooding around? Here is my first mobile solution: SmartBars - Barcode Reader, Price Comparison and Coupons.

Gary lives in southeast Michigan. My first programming language is FORTRAN. For the last a few years, I have primarily focused on .NET technologies with Mobile Development as my newest interest.
Student
Wales Wales
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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.
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

India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Software Developer (Senior)
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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).
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.
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
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.
Web 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 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
Australia Australia
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1
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.
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.
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.
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.
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.
Software Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Team Leader
United States United States
Just a geek, dad, husband, photographer trying not to muck up too badly in life
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
Web Developer
Unknown
Embedded systems programmer since 1994.
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.
Team Leader
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Technical Lead
India India
I code, learn, read and listen.
Romania Romania
A 17-year-old whose passion is programming, mostly in C# and Lua.
Architect
United States United States
MSCS, MCTS, Senior Software Engineer, Architect, Craftsman, The Ultimate DEV ...
Azure Series

Software Developer (Senior)
Mauritius Mauritius
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
You must sign in to participate in this contest.
This contest has ended.
1 Jun - 30 Jun 2011