Advanced Basics: Office 2007 Files and LINQ Ken Getz - March 2008 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.
Advanced Basics: Reflection and Generics Ken Getz - January 2008 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.
Advanced Basics: TableLayoutPanels Ken Getz - December 2006 This month Ken Getz writes a demo-creation system for Windows-based applications, which he calls a switchboard.
Advanced Basics: Predicates and Actions Ken Getz - September 2006 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.
Advanced Basics: Setting Word Document Properties the Office 2007 Way Ken Getz - June 2006 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.
Advanced Basics: IntelliSense Code Snippets Lorenzo Minore - April 2006 IntelliSense code snippets are one of the coolest new features in Visual Studio® 2005. Code snippets are highly customizable code fragments intended to accomplish simple to intermediate tasks quickly; they can be inserted into your code with just a few keystrokes.
Advanced Basics: Set Word Document Properties Programmatically Ken Getz - March 2006 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 .
Advanced Basics: The Sound of Music Brad McCabe - January 2006 So you've got a burning desire to accompany your application's splash screen with a rousing chorus of "Funky Cold Medina" (that's Tone Loc for those of you who aren't children of the 80s). Prior to working with Visual Studio® 2005, adding even simple tunes and system sounds to your application could be a challenge.
Advanced Basics: What's My IP Address? Ken Getz - December 2005 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.
Advanced Basics: A Match-Making Game in Visual Basic Duncan Mackenzie - October 2005 My four-year-old son has decided that he wants to be like his dad when he grows up. He is planning to work in my office, and write computer programs just like I do. But there is one problem—he thinks I write games.
Advanced Basics: Revisiting Operator Overloading Ken Getz - September 2005 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).
Advanced Basics: Creating A Breadcrumb Control Duncan Mackenzie - July 2005 Hansel and Gretel had the right idea when "they followed the pebbles that glistened there like newly minted coins, showing them the way. " The deeper you get into the forest or into your data, the more likely you are going to need help to find your way back out again.
Advanced Basics: Scaling Up: The Very Busy Background Compiler Matthew Gertz - June 2005 One of the features that distinguishes Visual Basic® from the other languages in Visual Studio® is its use of a background compiler (BC). The BC runs from the moment you start up a Visual Basic project until the time you close the last one down.
Advanced Basics: Remembering User Information in Visual Basic .NET Duncan Mackenzie - April 2005 Many applications need to store user-specific settings to be persisted between sessions. But how do you go about saving and restoring these settings in your Microsoft® . NET Framework-based application? It's not all that easy to find the correct answer.
Advanced Basics: Doing Async the Easy Way Ken Getz - March 2005 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.
Advanced Basics: Creating a Five-Star Rating Control Duncan Mackenzie - January 2005 I have to admit it; most of my Windows® Forms controls are an attempt to copy something that already exists. In my October 2004 column I showed you how to create a progress bar that mimicked the one shown during the Windows XP setup routine, and this month I'm at it again.
Advanced Basics: Calling All Operators Ken Getz - December 2004 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.
Advanced Basics: Digital Grandma Duncan Mackenzie - November 2004 As a parent of a young child, I take a lot of pictures—many more than anyone would ever be interested in seeing. Well, anyone except my mother. This is her first grandchild and the one or two pictures I send to her each week only brush the surface of her grandmotherly needs.
Advanced Basics: Being Generic Ain't So Bad Ken Getz - September 2004 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.
Advanced Basics: P2P Comm Using Web Services Carl Franklin - August 2004 Iwanted to use my first Advanced Basics column as an opportunity to strike out into new territory, to do something I haven't seen extolled much in the literature, so I've built a Windows® Forms chat program that uses Web services to communicate with other peers.
Advanced Basics: Adding New Features with User Controls Ken Spencer - June 2003 In past versions of Visual Basic, there were rudimentary graphics controls. In Visual Basic .NET you have the GDI+ library, which enables you to draw lines, circles, and most anything else. But how can you use the functionality of GDI+ to create lines and other graphics that respond to user mouse clicks and events? Find out.
Advanced Basics: Windows Forms Controls Ken Spencer - May 2003 Build a control that allows the user to drag and drop other controls onto the new control at run time, and allow the user to move the control around on a form, all in Visual Basic.