Code Focused

5 Tips for Developing with 64-Bit Windows

64-bit-capable machines are everywhere. It's time you start thinking about 64-bit support as you develop your Visual Basic applications.

XML Literals, WCF and LINQ

Learn how to create powerful templates that can be called from both client- and server-side code.

Use Iterators in VB Now

Iterators are a crucial part of modern programming, not least because they provide the basis for collection traversal using For Each loops. Language Integrated Query (LINQ) adds to the importance of iterators, as iterators are the source of IEnumerable(Of T) that forms the backbone of LINQ. Learn how to take advantage of them in your code with several different techniques for creating your own iterators in VB.

Add Distinction to Your Code

Learn how LINQ, extension methods, and lambda functions can help you add a bit of distinction, simplicity, and robustness to your code.

Inside Arrays

Drill down on how arrays work and learn some cool tips and tricks for taking advantage of them in .NET.

Resize Textboxes Easily

Use .NET's inheritance or extensibility to improve VB's textbox layout.

Access Non-.NET APIs with PInvoke

Use PInvoke to take advantage of Windows APIs that aren't part of the .NET Framework.

Maximize Comparison Accuracy

Learn how to minimize inherent inaccuracies with Singles and Doubles when performing comparisons; learn how to use extensions, a .NET 3.5 feature, when targeting .NET 2.0 apps; and learn why you should avoid using Names that are used in a type you are extending.

A Guide To VB 2008

VB 2008 includes some terrific new XML functionality that will make you both more effective and more productive when working with XML in your applications.

Customize the VB IDE

The VB IDE is a terrifically productive development environment out of the box. But it can be a lot better still. Learn how to customize the IDE for better productivity and performance.

Simplify Application Instancing

Take advantage of the new PipeStream classes and XML features in .NET 3.5 and VB9 to resolve the age-old problem of creating a single-instance application.

Drill Down on Anonymous Types

Learn the details on the new anonymous types and nullable type features in VB 9 (VB 2008).

Reflecting on Generics

Determine whether an existing variable is a generic type and whether you have to use reflection in particular cases; create irregularly shaped forms; and enable remoting with single-instance applications.

Beautify Your Code With Extensions

Extension methods bring together old and new ways of working with data, and open the doors to new language opportunities.

Remember User Settings

VB's My.Settings class makes it easy for you to remember user-preferred settings; also, what a quirky result in VB's debug window reveals about how its compiler and the .NET runtime work together.

Subscribe on YouTube