O'Reilly logo

Developing Microsoft® .NET Controls with Microsoft Visual Basic® .NET by John Connell

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using SortRoutine.dll with the TabControl

Now let’s examine another useful control, the TabControl. This buffed-up control is an improvement on the classic Visual Basic control of the same name. Since we’ve touched on the power of WMI as implemented in the System.Management namespace, let’s expand our program a bit. Many times, it’s helpful to examine not only the drive information but also information about the operating system and the current processes. This is quite a bit of information to display raw; it’s better to use the TabControl and ListView controls to manage and organize the data into logical groupings.

Let’s look at the finished product. The first tab, Drive Info (shown in Figure 3-21), uses the code and controls from the example ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required