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

Targeted Access to Resources with My.Resources

Resource files save application elements such as bitmaps, icons, strings, and so on in separate files. You can read these elements from the resource files by using My.Resources at runtime.

The advantage of using such external resources is that it makes applications more flexible—you can update the resources without having to alter the actual application code. For example, consider the localization feature of a Microsoft Office program such as Microsoft Word into another language. If the text for each application message were hard coded, Microsoft would need to provide the entire source code to translators, who would then have to identify translatable text embedded somewhere in the source. That would ...

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