(Lamont Adams) Collections provide a way to store arbitrary objects in a structured fashion, and we all know how useful they are in everyday programming. The .NET class library offers an embarrassment of collection riches—a bewildering selection of collection objects, each with a somewhat specialize
Tag: Development
Events vs Delegates
(Partha S) Couple of weeks ago, I had a chance to interview a few guys. During the course of discussion ( when an interview gets to the point of being a discussion, you can be rest assured that you are in !) with the few(er) who were recommended, I was surprised to see that not many understood the d
Testing file access rights in .NET 2.0
(Bruce Hatt) The purpose of this class is to provide a simple answer to a common question, “Do I have permission to Read or Write this file?”.
Design Patterns in VB.NET – Terms to Know
(David Simmonds) There are several terms you should know before preceding. Some are from the GoF book and there are a few terms I made up. I am sure if I had taken the time to read lots of O-O books, I would have probably come across the proper and accepted terms. Forgive me.
Working with the Actions Pane in Visual Studio Tools for Office
(Eric Carter and Eric Lippert) This chapter covers the ActionsPane control in VSTO and how it enables custom UI in Office’s Document Actions task pane. It also examines the properties, methods, and events unique to the ActionsPane control. You will also learn the basic architecture of ActionPane and
Accessing the Registry with VB6 and VB.NET
(Hannes du Preez) Storing and retrieving information from the Windows Registry will play a major part in any programmer’s life. You can store small bits of information, such as recently used files, form sizes and location, and user preferences—to name just a few—in the Windows Registry. My aim with
Where Do You Begin Implementing Performance Management?
(Gary Cokins) As organizations embrace the full vision of performance management – not just the narrow financial definition of better budgeting, planning and control – they frequently ask, “Where should we start?” Some may be eager to begin with a balanced scorecard, others by measuring channel and
Nine ASP.NET Site Navigation Problem Solutions: Part 1
(Lee Richardson) So far, there’s been plenty of ink expended on ASP.NET 2.0’s site navigation controls, but most of that coverage lacks details on how to use the new navigation features in the real world. For example, some common real-world questions are: How do you integrate database driven content
.NET Enum The Next Level
(mikeperetz) In this article I am going to try to provide an alternative way to use enumeration in .NET, I like using enumeration because it is type-safe and makes the code easier to read. However, there has been always something that I didn’t like about enums. Enums are designed to work only with n
Demystifying .NET compilation
(Lamont Adams) As a code-execution platform, Microsoft .NET is a bit more complicated than what has come before it. The support for multiple-source languages and (in theory, at least) multiple platforms required the addition of an intermediate layer between the traditional two levels of code: source