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

Using Application Settings with My.Settings

DotNetCopy uses application settings to retain settings after a program exits. You typically specify these settings by clicking Tools | Options. Because application settings were discussed in detail in Chapter 5, the following is just a summary of what you already know:

You maintain application settings (just like the string tables of the resources) in a table that you access via the project properties, as shown in Figure 22-12.

You can retrieve application settings with My.Settings. You maintain them just like resources, on the Settings tab in the project properties.

Figure 22-12. You can retrieve application settings with My.Settings. You maintain them just like resources, on the Settings tab in the project properties.

For each name you define ...

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