Extending My.Resources and My.Settings

Extending My.Resources and My.Settings is also possible, although with a few differences. Resources is a namespace, so you need to declare it as follows:

Namespace My.Resources    Friend Module MyResources        'Your code here    End ModuleEnd Namespace

Generally, you do not need custom extensions to Resources; you could decide to offer alternative localized versions of some contents. Extending My.Settings works more similarly to Application and Computer, but you do not need to provide custom extensions here because the Visual Studio 2015 Designer provides a graphical environment for performing all operations you need and selecting all available .NET types.

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.