O'Reilly logo

Microsoft® Visual Basic® 2010 Developer’s Handbook by Klaus Löffelmann and Sarika Calla Purohit

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

The My Namespace

Microsoft introduced the My namespace in Visual Basic 2005 to simplify access to specific functionalities. It basically uses features of the .NET Framework to create “shortcuts” to certain targets that can otherwise be reached only circuitously.

If you worked through the example in Chapter 5, you have already seen some of these shortcuts. For example, you saw how easy it is to use My.Settings to access application settings, which automatically save your work.

But the My namespace offers many more cool features. It’s hard to define exactly which ones at any given point, because the features My provides depend on the project type that you are currently editing. Generally, however, you can group the functionalities in the My namespace ...

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