Summary

The My namespace is a unique feature of Visual Basic language that offers lots of shortcuts to most common operations. It was first made available in VB 2005. In this chapter you saw how you can interact with your application with My.Application and how you can perform operations on your system with My.Computer, including file operations, Registry operations, and clipboard operations. You then got information about an important feature provided by My.Settings, which has the capability to save and load user preferences using the Visual Studio Designer and managed code; this is a convenient way if compared to old initialization files. Next you learned about My.Resources, a special place for embedding files in your executable, typically ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.