Click here to Skip to main content
15,919,893 members
This competition has ended

Best VB.NET article of February 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.

Please Sign up or sign in to vote.
3 Jun 2014DaveAuld 1 alternative  
Using Enum to provide a quick and easy option lists
Please Sign up or sign in to vote.
25 Feb 2011Joel C Graff
A method for managing complex, event-driven interactions between controls
Please Sign up or sign in to vote.
12 Feb 2011ozkary
Get File name from URL Path - ASP Classic
Please Sign up or sign in to vote.
14 Feb 2011FZelle
You are both wrong with the DataAdapter.Why do you think there is an overload with the querystring and the connectionstring?public DataSet select_query(string query, string con_str){ try { using (SqlDataAdapter da = new SqlDataAdapter(query,con_str)) { ...
Please Sign up or sign in to vote.
14 Feb 2011woric
The sample code provided by Andrew Rissing is a huge improvement over the original, but incorrectly catches the exception and displays a MessageBox. (Andrew correctly points out this is not a good idea.)A better solution is to allow the exception to fail:public DataSet...
Please Sign up or sign in to vote.
17 Feb 2011TomQuinn 1 alternative  
A simple function used to determine if a file path refers to a network drive and if it does convert it to use the UNC path
Please Sign up or sign in to vote.
20 Feb 2011Prerak Patel
Here is an API way using WNetGetUniversalNameImports System.Runtime.InteropServices _ Private Shared Function GetUName(ByVal Path As String, ByVal outName As Integer, ByVal bObj As...
Please Sign up or sign in to vote.
14 Feb 2011Fredrik Bornander
Adding animation support to existing WPF Panels
Please Sign up or sign in to vote.
2 Feb 2011Meshack Musundi
A WPF animaloid
Please Sign up or sign in to vote.
5 Feb 2011Sander Rossel
This article describes multiple implementations of proper Try... Catch... Finally and Using... End Using blocks in your code.
Please Sign up or sign in to vote.
14 Feb 2011Andrew Rissing
The following samples should take advantage of using statements and furthermore built in features of the ADO.NET framework. Furthermore, if you open a connection, make sure you open it at the latest time possible and close it as soon as possible.Edit: While I was originally not trying to...
Please Sign up or sign in to vote.
21 Feb 2011Mostafa Kaisoun
Resizable ComboBox
Please Sign up or sign in to vote.
21 Feb 2011Abudreas
Create a DirectX device and draw some Primitives using VB!
Please Sign up or sign in to vote.
2 Feb 2011AspDotNetDev
Lambdas can be composed of multiple lines of code.
Please Sign up or sign in to vote.
4 Dec 2012phil2415
Add expandable rows to a GridView for master/detail view.
Please Sign up or sign in to vote.
11 Feb 2011ZamirF
Can we simplify it by: (This essentially passes only two numbers). public int GCD(int value1, int value2){ int max = 0; bool gcdFound = false; int counter = 1; //Make sure both numbers are atleast 2 or above if (( value1
Please Sign up or sign in to vote.
23 Feb 2011PrimeCoder
Nice,How about adding a couple of other methodspublic static void Parameter(IDbCommand command, string naam, object value){ IDbDataParameter par = command.CreateParameter(); par.ParameterName = naam; par.Value = value ?? DBNull.Value; ...
Please Sign up or sign in to vote.
26 Feb 2011Hisham Abdullah Bin Ateya
Control that provides the basic functionality of the UDP
Please Sign up or sign in to vote.
22 Feb 2011ronald.cao@gmail.com
The article is to introduce a utility to generate cascading delete script for an Oracle table.
Please Sign up or sign in to vote.
12 Feb 2011ea1ii
A very simple and quick way to manage collapsible Panels and GroupBoxes.
Please Sign up or sign in to vote.
25 Feb 2011Sergio Mach
Map two color images to an HTML file with MAP elements
Please Sign up or sign in to vote.
14 Feb 2011jfriedman
/// /// Find the Greatest Common Divisor /// /// Number a /// Number b /// The greatest common Divisor public static long GCD(long a, long b) ...
Please Sign up or sign in to vote.
18 Feb 2011Mauro Leggieri
It is better to do this:public static long LCM(long a, long b){ return (a / GCD(a,b)) * b;}To avoid overflow on big numbers.
Please Sign up or sign in to vote.
18 Feb 2011threeCubed
Calculate traverse for Surveying or Geologic mapping.
Please Sign up or sign in to vote.
3 Feb 2011Tieske8
Make application more user friendly by providing easier access to the webinterface
Please Sign up or sign in to vote.
29 Apr 2011dontumindit 4 alternatives  
An Easy Way To Query a Database
Please Sign up or sign in to vote.
21 Feb 2011Mostafa Kaisoun
This is a program for phone index to see how we can use the alphabetical English characters (A..Z) to search a customer name which begin with any character.

Current Participants

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

Sudan Sudan
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.
Web Developer
United States United States

  • Managing Your JavaScript Library in ASP.NET (if you work with ASP.net and you don't read that, you are dead to me).
  • Graduated summa cum laude with a BS in Computer Science.
  • Wrote some articles and some tips.
  • DDR ("New high score? What does that mean? Did I break it?"), ping pong, and volleyball enthusiast.
  • Software I have donated to (you should too):
Engineer
Scotland Scotland
I have been working in the Oil & Gas Industry for over 30 years now.

Core Discipline is Instrumentation and Control Systems.

Completed Bsc Honours Degree (B29 in Computing) with the Open University in 2012.

Currently, Offshore Installation Manager in the Al Shaheen oil field, which is located off the coast of Qatar. Prior to this, 25 years of North Sea Oil & Gas experience.
Pakistan Pakistan
I am a learner.
Engineer
Spain Spain
I'm into programming since Secondary.

Nowadays, I work as a PLC and PC programmer for local machinery manufacturer.

Last programming projects relate to real-time image processing, for stone slabs cutting optimization.
Software Developer (Senior)
Sweden Sweden
Article videos
Oakmead Apps Android Games

21 Feb 2014: Best VB.NET Article of January 2014 - Second Prize
18 Oct 2013: Best VB.NET article of September 2013
23 Jun 2012: Best C++ article of May 2012
20 Apr 2012: Best VB.NET article of March 2012
22 Feb 2010: Best overall article of January 2010
22 Feb 2010: Best C# article of January 2010
Web Developer
Germany Germany
Software-Developer since 1990
Specialiced in LAN/WAN Tracers ( sniffer )
now developing in .NET ( c#, VB, ASP ..)
Web Developer
Yemen Yemen
I'm interest with VB.NET and other Microsoft technologies such as LINQ, WPF, WCF, WF and much more


.:: Wish to become better and better ::.
Software Developer (Senior)
United States United States
Livin in a lonely world, caught the midnight train going anywhere... Only thing is it was a runaway train... and it ain't ever goin back...
мала ка на хари, Trahentes ex exsilium
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
Argentina Argentina
My name is Mauro Leggieri. I am 30 year-old, married and have a child.

I am a system engineer (UTN university) and am being programming for more than 20 years from the C64 to the PC and some microcontrollers.

Mostly of my time, I program games for Windows.

Soon, my site http://www.mauroleggieri.com.ar
Software Developer
Kenya Kenya
Experienced C# software developer with a passion for WPF.

Awards,
  • CodeProject MVP 2013
  • CodeProject MVP 2012
  • CodeProject MVP 2021
Egypt Egypt
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Architect OG-BITechnologies
United States United States
Software engineer, author & speaker who enjoys mentoring, learning, speaking and sharing with others about software development technologies. Microsoft MVP.

My Blog
United Kingdom United Kingdom
IT Manager for a large higher education institution in the North West of England with responsibility and experience in everything from networking, systems administration, database administration, helpdesk support, web development, etc. since 2003.

I tend to develop web applications in ASP.NET and VB.NET, with a bit of JavaScript and C# thrown in for good measure at times.
Software Developer
India India
Working since 2006 on VBA, VB6, VB.Net, C#, ASP.Net, MSSQL




  • Courage is not the absence of fear, but rather the judgement that something is more important than fear.
  • The fear of suffering is worse than the suffering itself.
  • People need not fear the unknown if they are capable of achieving what they need and want.
  • Every blessing ignored becomes a curse.
  • Sometimes what's in your head isn't as crazy as you think.
  • We never really grow up, we only learn how to act in public.
  • You can make very bad teams with very good individuals.
  • Admitting mistakes means you have a sense of responsibility in your actions and that shows you are more matured than almost anyone. -Nithin

Engineer
Netherlands Netherlands
Hi, people call me Prime(Coder), the name PrimeCoder stuck because I started as coder (nga); so it always said Coded by Prime or Code: Prime...

Thus Prime became PrimeCoder and still Prime sounds good enough.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
CEO JUUN Software
Netherlands Netherlands
Sander Rossel is a Microsoft certified professional developer with experience and expertise in .NET and .NET Core (C#, ASP.NET, and Entity Framework), SQL Server, Azure, Azure DevOps, JavaScript, MongoDB, and other technologies.

He is the owner of JUUN Software, a company specializing in custom software. JUUN Software uses modern, but proven technologies, such as .NET Core, Azure and Azure DevOps.

You can't miss his books on Amazon and his free e-books on Syncfusion!

He wrote a JavaScript LINQ library, arrgh.js (works in IE8+, Edge, Firefox, Chrome, and probably everything else).

Check out his prize-winning articles on CodeProject as well!
Software Developer (Senior)
Portugal Portugal
Financial Apps addict since early programming ages;
Statistical Apps writer;
Computer gamming and graphics programmer with a 2 commercial titles: Armor PC/PPC, MidWay XBOX/PC/PPC;
Manic Basketball fan and player;
Traveller;
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) Kong Inc
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
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
Australia Australia
This member doesn't quite have enough reputation to be able to display their biography and homepage.
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.
You must sign in to participate in this contest.
This contest has ended.
1 Feb - 28 Feb 2011