Advanced Basics - The ObservableCollection Class

Wed, 19 Nov 2008 10:00:00 GMT

Ken Getz shows how the CollectionChanged event lets you reflect changes to your underlying data source in your bound data controls.

Read article

Advanced Basics - The LINQ Enumerable Class, Part 2

Wed, 20 Aug 2008 10:00:00 GMT

This month Ken digs deeper into the System.Linq.Enumerable class and shows readers how to perform some magic data operations usingSystem.Linq.Enumerable.

Read article

Advanced Basics - The LINQ Enumerable Class, Part 1.

Fri, 20 Jun 2008 10:00:00 GMT

Presented here is the LINQ Enumerable class, which allows you to manipulate data in any class that implements IEnumerable(Of T).

Read article

Advanced Basics - Office 2007 Files and LINQ

Wed, 20 Feb 2008 10:00:00 GMT

LINQ to XML and the Microsoft SDK for Open XML Formats simplify access to the parts of a 2007 Office system Open XML document when retrieving or modifying data, resulting in shorter, less complex code.

Read article

Advanced Basics - Reflection and Generics

Tue, 11 Dec 2007 10:00:00 GMT

This month Advanced Basics flaunts the power of generics and reflection and shows how you get more flexible and efficient development by combining the two.

Read article

Advanced Basics - Using RibbonX from Visual Basic

Wed, 18 Apr 2007 10:00:00 GMT

Ken Getz prepares Visual Basic developers to use RibbonX.

Read article

Advanced Basics - TableLayoutPanels

Wed, 18 Oct 2006 10:00:00 GMT

This month Ken Getz writes a demo-creation system for Windows-based applications, which he calls a switchboard.

Read article

Advanced Basics - Predicates and Actions

Thu, 03 Aug 2006 10:00:00 GMT

The System.Array and System.Collections.Generic.List classes provide methods that let you avoid writing code to loop through every element of an array or list to find the items you’re looking for. Ken Getz explains.

Read article

Advanced Basics - Setting Word Document Properties the Office 2007 Way

Thu, 04 May 2006 10:00:00 GMT

The last time I wrote this column (March 2006), I shared an application that allows you to update all the Microsoft® Word documents in a folder and its subfolders.Each time the application finds a document in the specified path, it updates the document properties to match those you specified in the application.

Read article

Advanced Basics - Set Word Document Properties Programmatically

Thu, 09 Feb 2006 10:00:00 GMT

At the beginning of another lovely day of writing courseware in mad pursuit of unrealistic deadlines, I received a frantic call from a business partner.He was at the end of a long consulting project and had several hundred Microsoft® Word documents, all of which required their document properties to be set identically, except the Title property of the document, which was to be based on the document file name, minus the .

Read article

Advanced Basics - What's My IP Address?

Tue, 08 Nov 2005 10:00:00 GMT

If you're like me, you regularly do tech-support for family, friends, and neighbors.You can't go to a party without hearing the familiar refrain: 'I've just got a quick question. ' It's always something—their Internet connections get dropped, they've got a virus, they can't install some piece of hardware, or some file has gone missing.

Read article

Advanced Basics - Revisiting Operator Overloading

Tue, 09 Aug 2005 10:00:00 GMT

On the conference circuit recently, I was speaking about some of my favorite new features in the Microsoft® . NET Framework 2. 0, using the content of three recent columns in this series as fodder.In my talk I sped through generics, operator overloading, and the BackgroundWorker component, all in the space of an hour (for the columns, see Advanced Basics: Being Generic Ain't So Bad, Advanced Basics: Calling All Operators, and Advanced Basics: Doing Async the Easy Way).

Read article

Get A Raise - Discover a Series of Fortunate Event Handlers in Visual Basic

Tue, 10 May 2005 10:00:00 GMT

You may use them every day, but how much do you really know about events? What's going on when you add an event handler to a class? In this article, Ken Getz demonstrates various ways to interact with events and event handlers, and shows how they can solve common problems. Along with the article, you can download two sample applications (one for Visual Basic .NET 2002 and 2003 and one for Visual Basic 2005) and follow along.

Read article

Advanced Basics - Doing Async the Easy Way

Tue, 15 Feb 2005 10:00:00 GMT

If you've been following Ted Pattison's excellent series of Basic Instincts columns on multithreading and asynchronous behavior, you should by now be an expert on handling the issues involved in working with multiple threads in Windows®-based apps.

Read article

{ End Bracket } - C# and VBA: Like Oil and Water

Tue, 11 Jan 2005 10:00:00 GMT

Some things just don't mix as well as you would like.Take C# and Microsoft® Excel 2003 or Word 2003, for example.Not only are these applications huge productivity tools, but they both also provide access to large object models that you can program against from your own applications.

Read article

Advanced Basics - Calling All Operators

Tue, 16 Nov 2004 10:00:00 GMT

This month I found an interesting question in my mailbag. It went something like this: I am writing some code working with points and other drawing objects in Visual Basic® 2003, and I just want to add an offset to a point, effectively moving the point.

Read article

Advanced Basics - Being Generic Ain't So Bad

Tue, 17 Aug 2004 10:00:00 GMT

Ispeak at a lot of user groups and conferences where I field tech support questions.Recently, a conference attendee (I'll call him Adam) came up to me with a sheaf of printouts, along with the following question.

Read article

GDI+ - A Primer on Building a Color Picker User Control with GDI+ in Visual Basic .NET or C#

Tue, 17 Jun 2003 10:00:00 GMT

Although most developers and APIs use the RGB scheme when working with colors, it's not the only available way to represent or select colors. For instance, the standard Windows color-selection dialog box allows you to work with the HSL color scheme in an indirect way. In this article, the author describes several color selection schemes, and uses GDI+ (via the System.Drawing namespace) to create a component that makes it possible for your own applications to provide a simpler, friendlier color chooser. Along the way, you'll get tips to help you use GDI+ in your own apps.

Read article

Windows Services - New Base Classes in .NET Make Writing a Windows Service Easy

Tue, 13 Nov 2001 10:00:00 GMT

Windows services are applications that run outside of any particular user context in Windows NT, Windows 2000, or Windows XP. The creation of services used to require expert coding skills and generally required C or C++. Visual Studio .NET now makes it easy for you to create a Windows service, whether you're writing code in C++, C#, or Visual Basic. You can also write a Windows service in any other language that targets the common language runtime. This article walks you through the creation of a useful Windows service, then demonstrates how to install, test, and debug the service.

Read article