Premium Sponsor
Premium Sponsor


Advanced Search
Popular Articles
Popular Authors
SubMain - Developer Tools
 »  Home  »  Windows Development
Windows Development

Interop (10)
Visual Basic 2005 (5)
Win Forms (12)
Windows Presentation Foundation (5)
Graphics (7)

» OOP Basics - Introduction to Inheritance
by Ged Mead | Published 05/15/2010 |  | Rating:
This article is the next in the series on the subject of OOP Basics.  It takes a first look at the important topic of Inheritance. [read article...]
» OOP Basics - Property Validation and Exceptions
by Ged Mead | Published 11/07/2009 |  | Rating:
In this article, Ged Mead explains how to include validation in properties of a Class, how to throw and exception and how to use a Try-Catch block to handle the exception. [read article...]
» How to Ask the User for Input
by Larry Blake | Published 10/27/2009 |  | Rating:
Visual Basic provides three easy ways to ask for input: MessageBox, InputBox and custom forms.  I'll talk a little about all three. [read article...]
» Passing Values Between Forms
by Colin Mackay | Published 04/07/2007 |  | Rating:
I wrote this article in response to an almost overwhelming number of requests on forums on how to pass a variable from a one Windows Form to another. In fact, saying that it is going between one form and another is somewhat of a misnomer because this will work for any type of object not just Forms. This seems to be one area where beginners in VB.NET often get stuck. So, rather than having to repeat myself often in forums I wrote this article so that I could point people at it so that they will have the benefit of a full explanation as well as the answer to their problem. The code examples that come with this article is available for VB.NET. If you develop software in any of the other languages available for .NET then you can probably follow on too. The techniques are the same for all .NET languages the only difference should be in the language syntax. [read article...]
» Structured Exception Handling in .NET (ApplicationException)
by Arnaldo Sandoval | Published 11/04/2006 |  | Rating:

Everyone tries to write error free applications, but we all know end users are smarter than us, finding ways to break our well protected applications.   Then we are given the answer "I don't know" when we ask the obvious question "What were you doing?", or "I can't find it" to our inquiry "Did you write down the error message?"

This article guides you through  the .Net Framework features at your disposal to handle applications' errors, also known as Exceptions.  Once you understand the concepts, the code supplied could be integrated into your existing or new applications, providing  comprehensive Exceptions support that will benefit your endusers and support team.

[read article...]
» A Simple Photo Browser
by Chris Mills | Published 04/14/2006 |  | Rating:

In this article my aim is to guide a relative Visual Basic .NET "newbie" through the process of creating a simple Photo Browser application.  We will gradually build up the application, examining a number of the techniques available to you in Visual Basic .NET including creating a custom thumbnail control and creating instances of it at run-time. 

This article is written using Visual Studio .NET 2003 and .NET framework Version 1.1.

[read article...]
» Windows Services for VB.NET Developers
by Scott Rutherford | Published 12/20/2005 |  | Rating:
Learn about Windows Services, how they work, and what they are for.  Build your first Windows Service and end up with a reusable template with which to create many more.  Tips for use, development, and deployment of a Windows Service. [read article...]
» Windows never forgets a file: Using the CreationTime attribute of Windows Files
by Scott Rutherford | Published 02/22/2005 |  | Rating:
Have you ever created a file twice with the same name?  Do you use the CreationTime property of files to perform some task such as logging, or time-keeping?  You may be interested to know that CreationTime may not really be the time that a file was created.  In fact, it can be off by months. [read article...]
» VS2005 - Setting Windows Desktop Wallpaper
by Guest Author | Published 06/15/2004 |  | Rating:
VS2005 code for setting Windows desktop wallpaper [read article...]
» Custom Message Box
by George Poth | Published 01/30/2004 |  | Rating:
Have you ever wondered whether it is possible to show a colored message box with customized texts on the buttons? Sounds difficult, doesn't it? Actually, it's just as easy as designing any other form, maybe even easier. [read article...]
» VB.NET Class Design - Inheritance
by Steven Sartain | Published 05/08/2003 |  | Rating:
Unpublished chapter from VB.NET Class Design Handbook - Inheritance [read article...]
» VB.NET Class Design - Events
by Steven Sartain | Published 04/30/2003 |  | Rating:
Unpublished chapter from VB.NET Class Design Handbook - Events [read article...]
» Enumerating IP Addresses of a Local Machine Using VB.NET
by Deepak Sharma | Published 03/09/2003 |  | Rating:
Now and then this question is asked on various .NET newsgroups on how to list all the IP addresses machine is using. This code snippet shows how to enumerate all the IP addresses associated with machine using VB.NET [read article...]
» Creating Custom Performance Counters in VB.NET
by Manoj G | Published 03/05/2003 |  | Rating:
Windows OS and .NET runtime provide a host of performance counters that developers and administrators can use to probe into the performance of an application. But developers will always find the need to have counters specific to their applications. .NET Framework classes provide rich set of API which can help developer to create custom counters with relative ease. In this article I will explain how this can be done with VB.NET. [read article...]
» Controlling a Windows Service from the System Tray
by Peter Custance | Published 02/26/2003 |  | Rating:
VB.NET contains built in classes which make creating a windows service a breeze, but what if you want an application to control a service which is easy for anyone to use. This article will show you how to create an application that runs in the system tray. We will not be discussing the creation of a service. Instead we will use this application to control IIS. [read article...]
» Producing dynamic images using GDI+ and XML in VB.NET
by Peter Custance | Published 02/04/2003 |  | Rating:
The .NET Framework includes a much improved library of graphic functions developers can utilise to display dynamic images in their applications. This article looks at how you can use an XML file to produce an image that you can change at runtime based on a selection from a Listbox control. [read article...]
» CodeDOM: How to achieve code generation in .NET - Part 1
by Paul Nichols | Published 01/29/2003 |  | Rating:
One of the great new features within .NET are the little known CodeDOM classes. Although, not something that you're going to use in your day-to-day winforms development, the CodeDOM is something that I wanted to bring to peoples attention. It is certainly a very useful skill when it comes to developing addins or other software that requires language independant code generartion or on the fly assemblies compilation. [read article...]
» Taking Out the Trash - An In-depth Look at the .NET Garbage Collector
by John Spano | Published 08/23/2002 |  | Rating:
Microsoft introduced a new way to manage memory in the .NET platform called Managed Memory. While much better than conventional methods of memory management, there are still several programming techniques that should be known to take full advantage of this new feature. This article will delve into the depths of this new concept and give several programming techniques on how to control the garbage collector and program for it. [read article...]
» Creating a simple game using GDI+ in C#
by Andreas Papathanasis | Published 08/18/2002 |  | Rating:
GDI+ is the way to display 2D graphics in the .NET framework. Learn the essentials with a fun walkthrough, where you will get to create a simple tetris-like game. [read article...]
» Working with Isolated Storage in .NET
by David Wasserman | Published 08/04/2002 |  | Rating:
Among the vast number of classes and functions provided by the Microsoft .NET Framework, exists a new and powerful feature for storing information relating to users and applications called Isolated Storage. This article provides two Windows Application examples on how information can be accessed and used with isolated storage by utilizing ADO.NET and the XML namespaces. [read article...]
» Delivering Reliable Software: Automated Unit Testing Applied to .NET. Part 1
by Dmytro Lapshyn | Published 07/17/2002 |  | Rating:
Delivering reliable software on schedule is crucial for any software development business. Unit testing, one of the basics of Extreme Programming, along with Refactoring, serves as a strong base for building a robust software. Born in Java world, this technique may work even better for Microsoft .NET. Read on to find out how to incorporate unit testing into your development process and explore the nuts and bolts of the testing framework. [read article...]
» Dynamically Alter a Windows Form Via a User Control and the TabControl in VB.NET and C#
by Monty Nail | Published 06/15/2002 |  | Rating:
In some scenarios, providing a static user interface is sufficient. However, if the number of business objects to display to the user varies, you need an adaptable means of presentation. One way to accomplish this is to programmatically add new tabs and controls to your UI at runtime. In this example, you will add a new instance of a User Control to a TabPage then add the TabPage to the TabControl on a Windows Form. [read article...]
» Use Visual Inheritance to Create Consistent Windows Forms in VB.NET and C#
by Monty Nail | Published 04/21/2002 |  | Rating:
Visual Inheritance is Microsoft's way to describe implementation inheritance of a visual object such as Windows Forms. This may sound complex if you are just moving from VB6, but the concept is similar to using an ActiveX control on a VB6 form. The difference is reusability at the form level. Visual inheritance can be a powerful means of reuse allowing you to make design and code changes in one location and have it apply across multiple forms [read article...]
» Event Handling in VB.NET
by Ashish Jaiman | Published 03/16/2002 |  | Rating:
This article discusses the event handling model in .NET using VB.NET [read article...]
» Use Inheritance to Create a Custom TreeView
by Monty Nail | Published 03/11/2002 |  | Rating:
Inheritance allows you to derive from an existing object and to add your own properties, etc. A practical use for this is to keep track of items in the UI without complex synching of different objects and without having to do messy lookups once an item has been selected. This article demonstrates how to build a treeview where the nodes are based on different objects. [read article...]
» Creating a regular expression checker
by Curtis Mitchell | Published 03/08/2002 |  | Rating:
This article explains steps involved with creating a WinForm application that will validate regular expressions using the System.Text.RegularExpression namespace [read article...]
» Prototype Pattern in C# and VB.NET
by Ashish Jaiman | Published 03/06/2002 |  | Rating:
The Prototype pattern is used when creating an instance of a class is very time-consuming or complex in some way. Then, rather than creating more instances, you make copies of the original instance, modifying them as appropriate. Prototype Design Pattern helps in reducing number of classes. [read article...]
» Sorting objects using IComparer and IComparable Interfaces
by Ashish Jaiman | Published 03/04/2002 |  | Rating:
The System.Collections namespace contains interfaces and classes that define various collections of objects, such as lists, queues, bit arrays, hashtables and dictionaries. You can use a collection to store objects, some collection implementations would sort your objects by default when they are added to the collection and some would just add them in sequence. [read article...]
» Builder Design Pattern Implementation in C# and VB.NET
by Ashish Jaiman | Published 02/24/2002 |  | Rating:
The Builder pattern allows a client object to construct a complex object by specifying only its type and content. The client is shielded from the details of the object’s construction [read article...]
» Abstract Factory Design Pattern Implementation in C# and VB.NET
by Ashish Jaiman | Published 02/11/2002 |  | Rating:
Design patterns make it easier to reuse successful designs and architectures. Design patterns help you choose design alternatives that make a system reusable and avoid alternatives that compromise reusability. They help make a system independent of how its objects are created, composed, and represented. An abstract factory provides an interface for creating families of related objects without specifying their concrete classes. [read article...]
» Simple Factory Pattern in VB.NET
by Manish Mehta | Published 11/15/2001 |  | Rating:
Explains how you can implement a "Simple Factory" pattern, which falls in the Creational type of Patterns [read article...]
» Creating controls that resemble the Microsoft control suite. 2 - FlatControl.
by Steven Sartain | Published 10/18/2001 |  | Rating:
Whether you are new to VB or a VB Guru, most of us are new to .NET and are still finding our feet. I will start my development guide by introducing the development of a "base" control that all the flat style controls can and will be inherited from. [read article...]
» Creating controls that resemble the Microsoft control suite. 1 - Introduction.
by Steven Sartain | Published 10/17/2001 |  | Rating:
One of my biggest gripes during the advancement of the Visual Basic language (and probably my only gripe in .NET) is the control set that Microsoft distributes. With each release of Windows and various other Microsoft products, the environment changes to keep our ever increasing thirst for change satisfied. The only disadvantage with this is that Microsoft obviously feels that we shouldn't be exposed to those "if only we could" controls. [read article...]
» Welcome to the City of .NET
by Serge Baranovsky | Published 10/12/2001 |  | Rating:
This website is a spin-off of and dedicated to the .NET technology. [read article...]