Difference Resource - Settings - App Config files?

G

Guest

In VS.2005 there are three templates for storing application info:
Resource File
Settings File
Application File.

1) What is the purpose of each one? When to use, when not?
2) How does VB's My.Setting map to these files?
3) Can a C# application access data written by VB's My.Setting ?
4) How does the ConfigurationManager class map to these files and is it
relevant to VB.Net coders?
5) I suppose it's bad practice to use config files from class libraries as
the code does not know whether it executes in WinForm or WebForm app.
6) If a user executes the business layer alternatively from WinForms app or
WebForm, it is me, the programmer, who has to synchronize the web.configs and
the Winform configs ?
7) VS.2005 now separates user and app configs. What about machine-specific
data like info about peripheral devices? Does it best go to the registry?

thanks herbert
 
G

Guest

Herbert, did you get an answer? I'm converting visual basic 2003 to 2005
and the only part I haven't succeeded in upgrading is reading in the
app.config file. Can't find any documentation.

Evelyn
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top