Premium Sponsor
Premium Sponsor


Advanced Search
Popular Articles
Popular Authors
SubMain - Developer Tools
 »  Home  »  .NET Framework
.NET Framework

Compact Framework (0)
Framework 3.0 (5)
Framework 2.0 (3)
Framework 3.5 (8)

» VB Migration Partner VB6 to .NET Conversion Tool
by Jugoslav Arsovski | Published 01/04/2009 |  | Rating:

  I recently had a requirement to convert a VB6 project to VB 2008.    Although this initially caused me a lot of problems, I was fortunate to discover an outstanding product for converting VB6 projects to VB.NET which helped me get over some difficult hurdles.

[read article...]
» WinForms and WPF Interop - The Best of Both Worlds
by Ged Mead | Published 07/12/2008 |  | Rating:

  Whenever I see a question along the lines of "How can I include an image alongside each item in a list of items or use more than one font, or varying background colors?" I usually find myself muttering "WPF!".    This is a lot more sociable and positive than many of the things I mutter as I sit here each day, but finally I've realised that I need to do something about it.

  The result is this article, which works through the steps needed to harness the rich UI features of WPF to the more familiar paradigm of Windows Forms.

   The example used will show you how easy it can be to use a WPF control in a Windows Forms application and you can use this article as the stepping stone to creating your own.  The ListBox layout shown below will be created in WPF and ported over to be used in a Windows Forms application.  

WPF ListBox Control Example [read article...]
» Rich Internet Applications: Has Microsoft Finally Seen the (Silver) Light?
by Charlie Fink | Published 01/11/2008 |  | Rating:
In response to other frameworks for rich Internet applications, Microsoft has introduced Silverlight. Microsoft Silverlight offers both similarities and differences to other options, including Adobe Flex and AJAX-based frameworks. Learn more about the major players creating frameworks for rich Internet applications, what the benefits and disadvantages are for each, and what Microsoft has to bring to the table. [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...]
» A Brief Primer on Ajax
by Roger McCook | Published 11/15/2006 |  | Rating:

  Roger McCook offers you an overview of the new technology of Ajax.

[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...]
» Sharing libraries without placing them to the GAC
by Gaidar Magdanurov | Published 07/30/2006 |  | Rating:
Sometimes you may want to share a class library between several applications but you don't want or are unable to place the assembly you want to share in the Global Assembly Cache (GAC). There is an easy way to achieve this. [read article...]
» Product Review: ComponentOne's DocToHelp
by Scott Waletzko | Published 07/14/2006 |  | Rating:
A review of ComponentOne's DocToHelp help file authoring and conversion software, written by Scott Waletzko. [read article...]
» Book Review: Murach's C# 2005
by Scott Waletzko | Published 06/15/2006 |  | Rating:
A review of Murach's C# 2005 tutorial and reference book, written by Scott Waletzko (Skystone Software). [read article...]
» 50 Ways to Kill Excel
by Scott Rutherford | Published 06/14/2006 |  | Rating:
For anyone using Excel automation in .NET or ASP.NET applications, you'll find several answers to the age old question haunting many newsgroups, blogs and forums:  "How do I kill Excel?".  After outlining how to configure and start an Office app within your .NET desktop or ASP.NET application, this article shows you how to properly dismantle and close the specific instance of Excel that you had started.  For the interested student this article will explore several important Windows concepts that apply well beyond the usage of Excel:  including COM interop/config./management, the .NET Process class, and how to use “PInvoke” to call Windows API methods not implemented in the .NET Frameworks. [read article...]
» Advanced Caching Techniques in ASP.NET 2.0
by Sandeep Joshi | Published 05/05/2006 |  | Rating:

Web application development is one of the key business process areas in software industry. A web application has a long life only if the user visits the application with interest.

To keep the user interest in your web site, two factors are important. One is easy navigation and the other is fast data retrieval. The most dramatic way to improve the performance of a database driven Web application is through caching.

This article delves into the caching mechanism, available with ASP.NET 2.0. The author takes a walk through ASP.NET 1.1 caching practices as well as a comparison with ASP.NET 2.0 changes.

[read article...]
» Book Review: Murach's ASP.NET 2.0 Web Programming With C#
by Scott Waletzko | Published 05/02/2006 |  | Rating:


A review of Murach's ASP.NET 2.0 Web Programming With C# tutorial and reference book, written by Scott Waletzko (Skystone Software).

[read article...]
» Copying vs. Cloning
by Phil Eakins | Published 02/09/2006 |  | Rating:

As a newcomer to the wonderful world of .NET (although not to programming) last year I started, as most of us do, by taking a course. It was whilst working on one of the exercises that I ran across a ‘feature’ of the .NET Framework which has caused me no end of fun and enjoyment!

  I had filled an array of Char, Array1()with data and I wanted to sort it.  However, I also wanted to keep a copy of the unsorted data to revert to.  This apparently simple requirement led me deep into the field of shallow copies, deep copies, copying and cloning.

   This article reflects the result of my research and I hope it will be of help to you if you have a similar requirement at some time in the future.

[read article...]
» eNumerous Options Using Enumerations
by Fadzai Chamba | Published 01/09/2006 |  | Rating:

eNumerous Options Using Enumerations



For most of us, enumerations provide a means of selecting one of many options. What some of us don't know is that they also provide a means for us to specify more than one option at a time in one variable or argument.

[read article...]
» Achieving Backward Compatibility with .NET Interop: Excel as Case Study
by Scott Rutherford | Published 07/23/2005 |  | Rating:
There is one way to make explicit reference to a particular version of an ActiveX COM component for .NET Interop. The example used here is to make automation of Microsoft Excel backward compatible. Visual Studio will not allow you to reference older versions if Excel 2003 is already installed on your machine--so your program will not work once deployed to other machines that may have prior versions. This article includes a method for building your own Interop DLL for deployment using a command line tool from the .NET SDK. [read article...]
» Multithreading in VB.NET
by John Spano | Published 07/16/2005 |  | Rating:

     Multithreading, a very powerful technique, is essential for modern software development.Software users expect to work with a very responsive program that they don’t have to wait on, which is a very reasonable demand with the processor speeds that are currently available.Enter multithreading.Multithreading is the concept of having several different paths of code running at the same time.

     When you introduce multithreading in your applications, you immediately make programming more complicated and add design time.You must know exactly what your application and all its threads are doing at all times.You have to account for deadlocks, race conditions and corrupting variable values.In this article we will examine the different methods in Visual Basic.Net to accomplish thread synchronization.We will learn what deadlocks and race conditions are and how to avoid these common problems with multithreading.

[read article...]
» Chart Success : GDI+ Graphics At Work Part 4
by Ged Mead | Published 05/10/2005 |  | Rating:

 Back in Part 2 of this series we created a basic Bar Chart.  It did the job, but - let’s face it - it isn’t likely to win any prizes in the “GUI of the Year “ competition.

  So, in this article we will use the same basic approach, but will build a better  3D bar chart to give the display more depth, color and hopefully, as a result, more impact.


[read article...]
» WMI connections made easy in VB.NET
by Martin de Klerk | Published 04/24/2005 |  | Rating:

This document is not intended as a WMI tutorial, and as such does not cover WMI itself. This document is about using WMI in VB.NET and is intended as a rough and practical (but by no means complete!)  guideline to get you up and running with WMI as a VB.NET programmer.

[read article...]
» Exception Handling in Enterprise Applications
by Scott Rutherford | Published 02/28/2005 |  | Rating:
This article includes eight suggestions for Best Practices in exception handling in .NET, with code examples.  Learn how to properly catch, identify, raise, log, and respond to errors encountered by applications of all types. [read article...]
» VS2005 - Setting Windows Desktop Wallpaper
by Guest Author | Published 06/15/2004 |  | Rating:
VS2005 code for setting Windows desktop wallpaper [read article...]
» How to make a DLL with VB.NET Standard Edition
by George Poth | Published 11/19/2003 |  | Rating:
Many programmers say: "Stay away from the standard edition because you can't make .dll's and other pro stuff with it". Is it really impossible to make pro stuff with the standard edition? [read article...]
» Manage Unmanaged Resources and Memory With VB.NET
by Mike McIntyre | Published 06/15/2003 |  | Rating:
The .NET Framework's Common Language Runtime, through its Garbage Collector, provides memory management services your VB.NET application. In three situations your program must do some housekeeping before the GC can do its job. [read article...]
» XML Documentation and IntelliSence for Class Libraries in VB.NET
by Paul Nichols | Published 02/21/2003 |  | Rating:
When I first looked at C#, a nice feature I felt was the XML comments you can use to describe your code. You can then take these comments to build HTML documentation of your code. Strangely this isn't a feature of VB.NET? This tip reviews some of the tools that enable the feature in VB.NET [read article...]
» Type Safe Collection implementation in VB.NET
by Guest Author | Published 12/15/2002 |  | Rating:
This is my base for Type Safe Collections. It uses the CollectionBase but then adds the use of object keys internally, a CountChange event, and an easy system to make sure a DataGrid bound to it updates itself on changes. [read article...]
» How to get IP addresses in .NET with a host name
by John Spano | Published 12/01/2002 |  | Rating:
To get an IP address from a hostname you can use these functions [read article...]
» Directory functions in C#
by John Spano | Published 11/27/2002 |  | Rating:
Here are some useful file managing functions in .NET [read article...]
» How To Handle Unhandled Exceptions
by John Spano | Published 11/23/2002 |  | Rating:
VB.NET has a cool feature that lets you catch any unhandled exception in your programs. To set up this functionality, you have to add 2 subs that handle the exceptions, and 2 event handler definitions [read article...]
» How to create Threads
by John Spano | Published 11/20/2002 |  | Rating:
Creating threads in VS.NET is much easier than in previous Visual Studio languages. Here is an introduction on how to create a thread and have it execute a function in C# [read article...]
» Demystifying Microsoft Intermediate Language. Part 3 - Debugging
by Kamran Qamar | Published 10/26/2002 |  | Rating:
Who can claim that wrote a program without any errors on the first attempt? The human beings are error prone and no matter how smart or great programmers we are, we always end up writing buggy code, unintentionally of course :). That error could be as simple as syntax error or as complex as logical error. In any case we need a way to debug our program. This need increases when you are writing program in low level language like Intermediate Language, which is hard to debug. [read article...]
» Demystifying Microsoft Intermediate Language. Part 2 - A Short Description of .NET Application
by Kamran Qamar | Published 10/21/2002 |  | Rating:
In these series of articles, I will sheen the complexity of surrounding IL by representing complex concepts in a simple and comprehensive manner. These concepts have been supplemented with detailed examples. We will compare the source code of the program in C# or VB.NET language and the same code written in IL to better understand the limitation of our compilers and will learn to write better and faster code. The aim of this series is to explain the complexity surrounding IL and to make you adept at understanding IL code. I also want to alleviate your fear of lower languages. [read article...]
» Demystifying Microsoft Intermediate Language. Part 1 - Introduction
by Kamran Qamar | Published 10/17/2002 |  | Rating:
In these series of articles, I will sheen the complexity of surrounding IL by representing complex concepts in a simple and comprehensive manner. These concepts have been supplemented with detailed examples. We will compare the source code of the program in C# or VB.NET language and the same code written in IL to better understand the limitation of our compilers and will learn to write better and faster code. The aim of this series is to explain the complexity surrounding IL and to make you adept at understanding IL code. I also want to alleviate your fear of lower languages. [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...]
» 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...]
» Trapping for a timer firing
by Steven Sartain | Published 03/19/2002 |  | Rating:
How to trap for a timer firing [read article...]
» Retrieving TEMP path and file name
by Steven Sartain | Published 03/05/2002 |  | Rating:
How to retrieve TEMP path and file name [read article...]
» Restricting Form Size - windows message subclassing example
by Steven Sartain | Published 02/26/2002 |  | Rating:
Although VB.NET gives us a property to restrict the forms minimum and maximun sizes, this example aids in familiarising developers with the "new way" or peforming windows message subclassing. [read article...]
» FileSystemInfo Class in C# and VB.NET for beginners
by Ashish Jaiman | Published 02/18/2002 |  | Rating:
An introduction to the new FileSystemInfo library in .NET and a sample to extend the class to add some methods. [read article...]
» CreateFile
by Steven Sartain | Published 10/25/2001 |  | Rating:
A replacement for the open() function in VB and the CreateFile() API [read article...]
» Executing External Applications
by Steven Sartain | Published 10/16/2001 |  | Rating:
How to execute external applications [read article...]
» HiWord and LoWord operators
by Steven Sartain | Published 10/15/2001 |  | Rating:
Sometimes getting values back from API calls return HiWord and LoWord operators which are used to pack two integers into a long value. [read article...]
» Retrieve Version Information
by Steven Sartain | Published 10/14/2001 |  | Rating:
How to retrieve version information [read article...]