Click here to Skip to main content
15,886,199 members
This competition has ended

Best VB.NET article of March 2010

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.
28 Mar 2010Vinit Yadav
A Yahoo! messenger clone application built with Silverlight and its Duplex Polling WCF service. Explains how to deal with the Yahoo! packet format named YMSG.
Please Sign up or sign in to vote.
7 Mar 2010Luc Pattyn
This is an alternative to "Week Numbers According to ISO8601".
Please Sign up or sign in to vote.
7 Mar 2010Nejimon CR
A control library to control signals from a serial port foot pedal device
Please Sign up or sign in to vote.
14 Apr 2010marc9889 2 alternatives  
This is an example of one way to parse an HTML document by using a recursive function. In this example, an html document is loaded from a text file, but the code also demonstrates (in remarks) using a web page as a source file.When the recursive function is called, a conditional statement...
Please Sign up or sign in to vote.
29 Mar 2010Daniel Leykauf
Same function and little bit easier:Imports System.Runtime.Remoting.Metadata.W3cXsd2001Class Converter Public Shared Function ConvertToUTF16(ByVal str As String) As String Return New SoapHexBinary(System.Text.Encoding.BigEndianUnicode.GetBytes(str)).ToString End...
Please Sign up or sign in to vote.
5 Mar 2010open-collar
Download source (55.5 KB)IntroductionThe "using" block in C# and VB.NET can be used as a high-level language construct, not just as a way of tidying-up. In this article I show you how to capture and restore state using constructors and disposers.BackgroundIn any substantial...
Please Sign up or sign in to vote.
4 Apr 2010Anthony Daly 1 alternative  
Download source - 30 KBDownload library - 5 KBIntroductionThis set of Non-Repeatable Collections has a very simple concept - to only allow one item of each type to be added, meaning that you cannot have duplicate items in the collection.BackgroundAlthough the .NET Framework...
Please Sign up or sign in to vote.
3 Mar 2010byapparov
Introduction...
Please Sign up or sign in to vote.
16 Mar 2010Ravi LVS
I don't see any difficulty in finding the above solution, because I am using same functionality since long back. Here is my alternative code.Instead of creating a new DataView object, you can directly call the DataTable's DefaultView.sourceDataTable.DefaultView.RowFilter =...
Please Sign up or sign in to vote.
30 Mar 2010Mohammad Elsheimy
A .NET reflection sample written in VB.NET
Please Sign up or sign in to vote.
13 Mar 2010Daniel Vaughan
A Desktop and Silverlight user action management system, with undo, redo, and repeat; allowing actions to be monitored, and grouped according to a context (such as a UI control), executed sequentially or in parallel, and even to be rolled back on failure.
Please Sign up or sign in to vote.
3 May 2010NavnathKale
Simple but advance-featured TreeView control
Please Sign up or sign in to vote.
17 Mar 2010Thulasee Shan
iPhone like menu system and wobbly re-arrangement technique with a useful sample application
Please Sign up or sign in to vote.
26 Oct 2014Igor Krupitsky
This Windows application lets you merge image and PDF files in a given folder into one PDF file.
Please Sign up or sign in to vote.
16 Mar 2010Wayne Gaylard
A guide to using Microsoft's MSChart
Please Sign up or sign in to vote.
21 Mar 2010hswear3
VB.NET program provides information about your hardware and operating system
Please Sign up or sign in to vote.
23 Mar 2010All-In-One Code Framework
This example demonstrates how to check the privilege level of the current process, and how to self-elevate the process by giving explicit consent with the Consent UI.
Please Sign up or sign in to vote.
29 Mar 2010Gregory Gadow
Demonstrate how to use a designer to pre-populate custom Windows controls with child controls having unique names.
Please Sign up or sign in to vote.
3 Mar 2010NickThissen
Change the colors used to render Menu-, Tool,- ContextMenu-, and Status strip controls during design-time.
Please Sign up or sign in to vote.
27 Mar 2010AliAmjad
A Design Pattern that can make your application architecture more flexible and less fragile
Please Sign up or sign in to vote.
28 Dec 2010Mohammad Elsheimy
Learn how to send mail messages from your C# application via SMTP.
Please Sign up or sign in to vote.
7 Apr 2010Mr.PoorEnglish
Waiting for parallel execution needs no stuff like Callbacks or WaitHandles
Please Sign up or sign in to vote.
28 Mar 2010Mostafa Kaisoun
Using ActiveX Grid control with CheckBox and ComboBox in VB6, VB.NET and C#
Please Sign up or sign in to vote.
15 Mar 2010Paul Farry
Demonstrates how to Adjust the SQL2005 MRU using Reflection and the SQL Assemblies
Please Sign up or sign in to vote.
5 Mar 2010karenpayne
This code permits a developer to determine if a radio button is selected in a container such as a panel or GroupBox using syntax similar to TryParse.Requires Requires Framework 3.5 or higherExamplePrivate Sub Button1_Click() Handles Button1.Click Dim SelectedButton As New...
Please Sign up or sign in to vote.
5 Apr 2010Bill9603
Making a pocketwatch from scratch
Please Sign up or sign in to vote.
23 Mar 2010marc9889
This code demonstrates how to append an XML document. We will add a new element and some inner text. Call the function, provide arguments for the path to the file, the name of the child node, the element name, and the text to add. The file is opened, appended, and saved. The function returns a...
Please Sign up or sign in to vote.
28 Mar 2010Ehsan Valizadeh 1 alternative  
This Function allows you to convert a normal string to UTF-16 encoding in VB.NET. You can find tools like Unicode Code Converter that operate like ConvertToUTF16 function.' if you pass this parameter to function : "I'm from Azerbaijan."' the return value is :...
Please Sign up or sign in to vote.
4 Mar 2010karenpayne
This VS2008 or higher extension uses a LINQ statement to remove duplicate items from a string array but is not case sensitive, also you might like to leave the sort/order-by in the extension or remove it.ExampleDim Names() As String = {"Bob", "Mary", "bob", "Bob", "Jane", "Kevin",...
Please Sign up or sign in to vote.
1 Mar 2010r verma
Following trick will also provide a way how to handle/pass objects to web service through a web application as in web applications developer will not be able to update proxy class (old trick followed in case of class library). When you try to serialize your class let say using Binary...
Please Sign up or sign in to vote.
24 Mar 2010mdanh2002 3 alternatives  
Depending on system preferences (in Control Panel/Sounds), the .NET WebBrowser control (just like Internet Explorer) may produce a click sound when changes are made programmatically to its DocumentText property, which is irritating to the user.There are two ways to avoid this:1. Use...

Current Participants

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

Software Developer
Pakistan Pakistan
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Microsoft All-In-One Code Framework delineates the framework and skeleton of Microsoft development techniques through typical sample codes in three popular programming languages (Visual C#, VB.NET, Visual C++). Each sample is elaborately selected, composed, and documented to demonstrate one frequently-asked, tested or used coding scenario based on our support experience in MSDN newsgroups and forums. If you are a software developer, you can fill the skeleton with blood, muscle and soul. If you are a software tester or a support engineer like us, you may extend the sample codes a little to fit your specific test scenario or refer your customer to this project if the customer's question coincides with what we collected.
http://cfx.codeplex.com/
Founder SEOStart
United Kingdom United Kingdom
I'm a software and web developer based in London, United Kingdom. I am the founder of SEOStart, an SEO agency based in London, UK.
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.
Student Student
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.
Database 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.
Business Analyst
Austria Austria
I am working as Business Analyst and Development Specialist for an international bank since 1993.
Engineer
Switzerland Switzerland
Daniel is a former senior engineer in Technology and Research at the Office of the CTO at Microsoft, working on next generation systems.

Previously Daniel was a nine-time Microsoft MVP and co-founder of Outcoder, a Swiss software and consulting company.

Daniel is the author of Windows Phone 8 Unleashed and Windows Phone 7.5 Unleashed, both published by SAMS.

Daniel is the developer behind several acclaimed mobile apps including Surfy Browser for Android and Windows Phone. Daniel is the creator of a number of popular open-source projects, most notably Codon.

Would you like Daniel to bring value to your organisation? Please contact

Blog | Twitter


Xamarin Experts
Windows 10 Experts
-
Turkey Turkey
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
Gregory Gadow recently graduated from Central Washington University with a B.S. that combined economics and statistical analysis, and currently works for the Washington Department of Fish & Wildlife as an IT developer. He has been writing code for 30 years in more than a dozen programming languages, including Visual Basic, VB.Net, C++, C#, ASP, HTML, XML, SQL, and R.
Web Developer
United States United States
I started programming by writing BIOS code in Z80 assembler for custom computers I was assembling way back in 1978. They had 5 MB hard drives that cost over $1000!

I haven't touched assembler in years. These days I write code in C# or VB. I've written a lot of utility programs as learning experiences. But what little money I make from programming comes from writing radio broadcast automation software.
Web Developer
United States United States
Igor is a business intelligence consultant working in Tampa, Florida. He has a BS in Finance from University of South Carolina and Masters in Information Management System from University of South Florida. He also has following professional certifications: MCSD, MCDBA, MCAD.
Instructor / Trainer
United States United States
Microsoft MVP, Uses Microsoft Visual Studio ecosystem building web and desktop solutions
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) Jacobs Technology
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.
Technical Writer
Singapore Singapore
Since 2008, ToughDev has been publishing technical sharing articles on a wide range of topics from software development to electronics design. Our interests include, but are not limited to, Android/iOS programming, VoIP products, embedded design using Arduino/PIC microcontrollers, reverse-engineering, retro-computing, and many others. We also perform product reviews, both on new and vintage products, and share our findings with the community. In addition, our team also develops customized software/hardware solutions highly adapted to suit your needs. Contact us for more information.
Technical Lead
Egypt Egypt
Mohammad Elsheimy is a developer, trainer, and technical writer currently hired by one of the leading fintech companies in Middle East, as a technical lead.

Mohammad is a MCP, MCTS, MCPD, MCSA, MCSE, and MCT expertized in Microsoft technologies, data management, analytics, Azure and DevOps solutions. He is also a Project Management Professional (PMP) and a Quranic Readings college (Al-Azhar) graduate specialized in Quranic readings, Islamic legislation, and the Arabic language.

Mohammad was born in Egypt. He loves his machine and his code more than anything else!

Currently, Mohammad runs two blogs: "Just Like [a] Magic" (http://JustLikeAMagic.com) and "مع الدوت نت" (http://WithdDotNet.net), both dedicated for programming and Microsoft technologies.

You can reach Mohammad at elsheimy[at]live[dot]com
Egypt Egypt
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Germany Germany
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.
Architect
India India
Nejimon CR started coding in early 2000s with classic Visual Basic 6 and later moved to .NET platform. His primary technology stack expertise is around Microsoft technologies, but with the previous and latest areas of functioning to include a wide variety of technologies such as Win32 APIs, AutoIt scripting, UI Automation, ASP.NET MVC and Web API, Node.js, NoSQL, Linq, Entity Framework, AngularJS, etc.

His Articles on CodeProject:
http://www.codeproject.com/Articles/1060520/Centralizing-WCF-Client-Configuration-in-a-Class-L
http://www.codeproject.com/Articles/567356/Asynchronous-Access-of-Web-Service-from-WPF-with-B
http://www.codeproject.com/Articles/63849/Serial-Foot-Pedal-Device-Server
http://www.codeproject.com/Tips/149249/Simplest-way-to-implement-irregular-forms-in-NET
http://www.codeproject.com/Tips/564388/Entity-Framework-Code-First-Navigation-Property-is
Netherlands Netherlands
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
Web Developer
United Kingdom United Kingdom
This member doesn't quite have enough reputation to be able to display their biography and homepage.
Team Leader
Australia Australia
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.
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.
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) eHips Ltd
United Kingdom United Kingdom
Having more than 10 years experience in software development and currently working for eHips Ltd in Oxford, UK. Expert in C# and VB.NET. Also Expert in technologies such as GDI+, ADO.NET, XML, XSD etc. Started the career as a VB6.0 developer and moved on to .NET with its beta release. Experience includes real-time system development, distributed systems, Work flow systems, control system development and web 2.0 systems.
CEO Veloxcore
India India
Love Programming... and games. You can find latest about me over http://www.veloxcore.com/
Software Developer DynaByte Solutions
Zimbabwe Zimbabwe
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 Mar - 31 Mar 2010